[Top][All Lists]
[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
PGP.sig
Description: This is a digitally signed message part
- Portable replacement function for `trunc'?, Benoit SIGOURE, 2007/10/03
- Re: Portable replacement function for `trunc'?, Bruno Haible, 2007/10/03
- Re: Portable replacement function for `trunc'?, Bruno Haible, 2007/10/06
- Re: Portable replacement function for `trunc'?,
Benoit SIGOURE <=
- Re: newlib platform, Bruno Haible, 2007/10/13
- Re: newlib platform, Eric Blake, 2007/10/13
- Re: newlib platform, Benoit SIGOURE, 2007/10/13
- Re: newlib platform, Simon Josefsson, 2007/10/14
- Re: newlib platform, Benoit SIGOURE, 2007/10/14