Re: [AD] Floating Point Precision |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Bertrand Coconnier wrote:
> which is, from a numerical point of view, the worst thing to do). May be we
> should define a global constant AL_EPSILON in order to keep floating point
> code consistent through the library ? May be we should allow the user to
> modify its value ?
Maybe we should just use the ANSI version, and not define our own epsilons
at all. :) It is a property of the specific floating point type, after
all, and can vary between platforms.
George