Hi,
Form() apparently is failing to convert floats to doubles. Is this a
known thing?
shell> cat form_float.C
{
float r1 = 3.0;
float r2 = 4.0;
cout << Form("r1=%f r2=%f",r1,r2) << endl;
}
shell> root -b -l -q form_float.C
root [0]
Processing form_float.C...
r1=512.000123 r2=0.000000
shell> cat form_double.C
{
double r1 = 3.0;
double r2 = 4.0;
cout << Form("r1=%f r2=%f",r1,r2) << endl;
}
shell> root -b -l -q form_double.C
root [0]
Processing form_double.C...
r1=3.000000 r2=4.000000
Debian x86, ROOT from CVS:
* Version 3.04/02 18 December 2002 *
-Brett.
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:08 MET