Revision c07b8d969e1511dfa2a72cf8d1d5dac32542da23 authored by Fons Rademakers on 23 July 2010, 21:37:12 UTC, committed by Fons Rademakers on 23 July 2010, 21:37:12 UTC

git-svn-id: http://root.cern.ch/svn/root/tags/v5-26-00c@34586 27541ba8-7e3a-0410-8455-c3a389f83636
2 parent s 0f2e79f + 3902593
Raw File
t648.cxx
/* -*- C++ -*- */
/*************************************************************************
 * Copyright(c) 1995~2005  Masaharu Goto (cint@pcroot.cern.ch)
 *
 * For the licensing terms see the file COPYING
 *
 ************************************************************************/


#include <iostream>
#ifndef __hpux
using namespace std;
#endif
#include <stdio.h>

int main() {
  long double a=3.141592815,b=2.000000,c;

  for(int i=0;i<3;i++) {
    c = a*b*i;
    printf("%d %d %d\n",(int)sizeof(long double),(int)sizeof(a),(int)sizeof(double));
    cout << a << " " << b << " " << c << endl;
  }
  return 0;
}
back to top