Bruno Haible <[EMAIL PROTECTED]> writes:

> Ben Pfaff wrote:
>> C99 added some useful functions to math.h, such as trunc and
>> round.  Would there be objections to a module that adds
>> implementations of those functions?
>
> This would be a good idea. Can you write it so that it augments <math.h>,
> like we do for <fcntl.h> or <sys/stat.h>?

That is my plan.

> Can substitutes in gnulib assume that the 'double' format is IEEE 754
> (it is on all modern platforms; VAX was the last one with other formats) ?
> Or should they be written in a slower, but more portable way?

This question is actually vital.  If we can assume IEEE 754, then
I can use implementations from glibc.  If we can't, then it is
more difficult, and I will have to see how clever I can be.

Do we have any opinions on this?
-- 
"Implementation details are beyond the scope of the Java virtual
 machine specification.  One should not assume that every virtual
 machine implementation contains a giant squid."
--"Mr. Bunny's Big Cup o' Java"


Reply via email to