bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Portable replacement function for `trunc'?


From: Benoit SIGOURE
Subject: Re: Portable replacement function for `trunc'?
Date: Sun, 7 Oct 2007 19:19:36 +0200

On Oct 7, 2007, at 5:15 AM, Bruno Haible wrote:

Ben Pfaff noticed that, unlike floor() and ceil(), the function trunc()
is not declared by default on glibc systems. (The difference is in
/usr/include/bits/mathcalls.h.)

This should fix it.

2007-10-06  Bruno Haible  <address@hidden>

        * modules/trunc (Dependencies): Add 'extensions'.
        * m4/trunc.m4 (gl_FUNC_TRUNC): Require gl_USE_SYSTEM_EXTENSIONS.
        Reported by Ben Pfaff <address@hidden>.

http://git.sv.gnu.org/gitweb/? p=gnulib.git;a=commitdiff;h=1e424ce10c76ad2c9a75fdc6ab02628931c2bcf0

Bruno

FYI, I needed a replacement of `trunc' and `round' for mipsel-linux-g+ +-3.3.2 with newlib-1.10.0.

--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory


Attachment: PGP.sig
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]