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

Re: [MiNT] Gcc 4.4.3 Linking problems, libmath testcase attached...



Andreas Schwab wrote:
ceilf() is not part of the ANSI C standard

It is, since more than 10 years.

I was referring to C89, and if I'm not wrong that standard version did include only math functions for double (no float or long double variants).

Of course, as it was a nonsense, the serious compilers added support for it, and it has been standardized by C99. Some info in the manpage:
http://manpages.ubuntu.com/manpages/lucid/man3/ceilf.3.html

Anyway, any serious compiler/platform should include these functions nowadays.

--
Vincent Rivière