Saturday, May 22, 2010

Long double?

I have to write, in C, a minimal perfect hash generating program.





The simplest (though not best) way to do this is to use MASSIVE numbers. The only data type that can handle this is the long double.





I'm wondering if there are any issues with long doubles? Besides the given large space reqs.

Long double?
There can be precision issues, since part of the data is holding the exponent


No comments:

Post a Comment