[MLton] Re: OpenGL for MLton - slight return

Mike Thomas mthomas@gil.com.au
Thu, 13 Nov 2003 07:06:35 +1000


Hi Matthew.

Thanks for the detailed response.

> Note, there are various caveats about using Real32 (and Real64) with
> regards to precision.  In particular, as long as values are sitting in an
> x86 floating point register, they are maintained at 80bit precision, so
> the results are not necessarily the same as if the values were maintained
> at 32 or 64bit precision.  It's probably only a problem for numerical
> guys.

No worries as this is really about the size of arguments presented to OpenGL
display related functions so any user calculations can be done in whatever
precision required.

Cheers

Mike Thomas




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.535 / Virus Database: 330 - Release Date: 2003-11-01