Still the 2e9...

Rob Kreuger R.Kreuger at IRI.TUDELFT.NL
Tue Mar 20 09:55:37 CET 2001


Hello,

as far as I could figure out a double has 15 significant digits, so
counting should work up to something like 10^14. Beyond that it won't work
anymore. But a 100P neutrons should be enough for the moment, unless you
have a supercomputer. So I can't see why Emmanuel still has problems.

cheers,
Rob Kreuger

farhi> Hy,
farhi> 
farhi> I just realized that the '2e9' bug is still there, but more vicious.
farhi> in fact, I passed ncount and run_num to long, because there may be
farhi> rounding errors when using float numbers, and comparisons. I got
farhi> unending simulations...
farhi> 
farhi> Please use the attached files ! (lib/mcstas)
farhi> Changing that requires to update Monitor_nD... (lib/mcstas/monitors)
farhi> 
farhi> Cheers.
farhi> 
farhi> --
farhi> What's up Doc ?
farhi> --------------------------------------------
farhi> Emmanuel FARHI, http://www.ill.fr/tas/people/Farhi.html   \|/ ____ \|/
farhi> CS-Group ILL4/156, Institut Laue-Langevin (ILL) Grenoble  ~@-/ oO \-@~
farhi> 6 rue J. Horowitz, BP 156, 38042 Grenoble Cedex 9,France  /_( \__/ )_\
farhi> Work :Tel (33/0) 4 76 20 71 35. Fax (33/0) 4 76 48 39 06     \__U_/
farhi> 
farhi> 
farhi> 

+--------------------------------------------------------------------+
| Rob Kreuger                    | Email: Rob.Kreuger at iri.tudelft.nl |
| Tel: (+31) 015 278 3900        |                                   |
+--------------------------------+-----------------------------------+
| Radiation Technology group     | Neutron Scattering group          |
| GEM project                    | Scans PROJECT                     |
| Tel: (+31) 015 278(5244)       | Tel: (+31) 015 278(6814)          |
| Fax: (+31) 015 278(6422)       | Fax: (+31) 015 278(8303)          |
+--------------------------------+-----------------------------------+
| IRI                            | Mekelweg 15	                     |
| Delft University of Technology | 2629 JB  Delft                    |
| Tel: (+31) 015 278(5022)       | Netherlands                       |
+--------------------------------------------------------------------+






More information about the mcstas-users mailing list