Paolo Bonzini wrote:
> > - In math.h, do a "#define floorl rpl_floorl", in order to avoid
> > possible undesired compiler optimizations.
>
> No problem, but I wonder what's the rationale for the last item.
It's that I've seen gcc transform some trunc() calls into truncf() calls
or similar.
Bruno Haible wrote:
Here's the module for the floorl() function. Very much like the truncl()
function.
Paolo, this replaces the floorl part of the 'mathl' module. I think the
following changes are all improvements:
- Don't assume that LDBL_EPSILON is a power of two. If LDBL_EPSILON
is not
Here's the module for the floorl() function. Very much like the truncl()
function.
Paolo, this replaces the floorl part of the 'mathl' module. I think the
following changes are all improvements:
- Don't assume that LDBL_EPSILON is a power of two. If LDBL_EPSILON
is not a power of two, I thin