[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Float problems with trunc() and round()
From: |
Andreas Schwab |
Subject: |
Re: Float problems with trunc() and round() |
Date: |
04 Oct 2001 10:20:29 +0200 |
User-agent: |
Gnus/5.090003 (Oort Gnus v0.03) Emacs/21.0.107 |
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.
--
Andreas Schwab "And now for something
address@hidden completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5