Problem mit der math.h
Florian Lohoff
flo at rfc822.org
Tue Mar 5 19:41:08 CET 2002
On Tue, Mar 05, 2002 at 07:22:50PM +0100, Andre Landwehr wrote:
> Hi,
> ich versuch grade die Funktion nearbyintl aus der math.h zu
> verwenden (zumindest laut man page gibt es die), allerdings wird
> sie nicht gefunden vom Compiler. Und ich kann sie auch nicht
> finden:
> andrel at twintower:/usr/include$ find . -exec grep -H nearbyintl {} \; 2>/dev/null
> andrel at twintower:/usr/include$
>
> Ein oberflächliches Durchschauen der mathcalls.h zeigt mir, daß
> jede Menge Zeug, das einen long double benutzen sollte, nicht da
> ist. Fehlt mir da irgendein Paket?
> Hab eine Debian sid laufen, aktueller Stand.
flo at paradigm:/tmp$ cat >t.c
#include <math.h>
int main(int argc, char **argv) {
long double l;
l=nearbyintl(3.44344322);
return(0);
}
flo at paradigm:/tmp$ gcc -c t.c
flo at paradigm:/tmp$ gcc -o t t.o -lm
Fragen Parker ?
Flo
--
Florian Lohoff flo at rfc822.org +49-5201-669912
Nine nineth on september the 9th Welcome to the new billenium
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20020305/a2056316/attachment.sig>
More information about the Linux
mailing list