🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3050

Re: are float functions (sinf, fabsf) required by ansi?

#3050
From: Gordon Burditt
Date: Sun, 20 Dec 1992 19:55
11 lines
868 bytes
>The subject is clear enough... must any ansi compiler know the functions
>for evaluating sin with a float argument (after including math.h) and
>is it always called sinf. Or rephrased... is sinf in the standard library?

No.

However, ANSI does reserve the names of functions in <math.h> suffixed
with f or l under 4.13 "Future Library Directions".

					Gordon L. Burditt
					sneaky.lonestar.org!gordon
Technical Details
Message-ID: <BzKq17.KMx@sneaky.lonestar.org>
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!howland.reston.ans.net!usc!cs.utexas.edu!news.uta.edu!utacfd.uta.edu!rwsys!sneaky!gordon
References: <1992Dec18.232621.2801@bernina.ethz.ch>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!howland.reston.ans.net!usc!cs.utexas.edu!news.uta.edu!utacfd.uta.edu!rwsys!sneaky!gordon
From: gordon@sneaky.lonestar.org (Gordon Burditt)
Subject: Re: are float functions (sinf, fabsf) required by ansi?
Message-ID: <BzKq17.KMx@sneaky.lonestar.org>
Organization: Gordon Burditt
References: <1992Dec18.232621.2801@bernina.ethz.ch>
Date: Sun, 20 Dec 1992 19:55:49 GMT
Lines: 11