Apr-14-2020, 01:12 AM
i don't see any of these kinds of float constants defined in the obvious modules.
1. the highest possible float value.
2. the lowest possible float value.
3. the highest float value that when 1.0 is subtracted, the result can be represented exactly.
4. the lowest float value that when 1.0 is added, the result can be represented exactly.
these values could vary by platform. if constants are not defined for these, then i will write some functions to calculate these values without using C.
i might need to think about platforms which have floats that are not based of powers of two.
1. the highest possible float value.
2. the lowest possible float value.
3. the highest float value that when 1.0 is subtracted, the result can be represented exactly.
4. the lowest float value that when 1.0 is added, the result can be represented exactly.
these values could vary by platform. if constants are not defined for these, then i will write some functions to calculate these values without using C.
i might need to think about platforms which have floats that are not based of powers of two.