[Openmcl-devel] Floating point precision

Raffael Cavallaro raffaelcavallaro at mac.com
Sat Jan 17 18:29:49 PST 2009


On Jan 17, 2009, at 9:18 PM, Sudhir Shenoy wrote:

> I now
> have to go through the code and ensure that all constants are affixed
> with 'd0' even where they are exact integers because of the danger of
> intermediate results losing precision if these constants are passed to
> math functions ...

An alternative to this is to work in your own package where the math  
functions are redefined to coerce their args to double float.


Raffael Cavallaro, Ph.D.
raffaelcavallaro at mac.com




More information about the Openmcl-devel mailing list