[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Float problems with trunc() and round()
From: |
Kjeld Borch Egevang |
Subject: |
Re: Float problems with trunc() and round() |
Date: |
Thu, 4 Oct 2001 10:29:41 +0200 (CEST) |
Great, that solves it all.
/Kjeld
On 4 Oct 2001, Andreas Schwab wrote:
> Kjeld Borch Egevang <address@hidden> writes:
>
> |> Andreas is right. The test was broken. I wasn't able to find any .h-files
> |> containing trunc() and round() (that seems to be the real problem).
>
> Since these functions are introduced by C99 you need to define at least
> _ISOC99_SOURCE (or _GNU_SOURCE) to get their declarations from <math.h>.
> *Note (libc)Feature Test Macros::.
>
> Andreas.
>
>
--
_ _ ____ ___ Mailto:address@hidden
|\ /|||___)(___ MIPS Denmark Direct: +45 44 86 55 85
| \/ ||| ____) Lautrupvang 4 B Switch: +45 44 86 55 55
TECHNOLOGIES DK-2750 Ballerup Fax...: +45 44 86 55 56
Denmark http://www.mips.com/