🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3049

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

#3049
From: Larry Jones
Date: Sat, 19 Dec 1992 18:41
12 lines
966 bytes
In article <1992Dec18.232621.2801@bernina.ethz.ch>, hoesel@igc.ethz.ch (Frans van Hoesel) writes:
> 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.  ANSI reserves the names for (the obvious) future use but does not
require them.
----
Larry Jones, SDRC, 2000 Eastman Dr., Milford, OH  45150-2789  513-576-2070
larry.jones@sdrc.com  or  ...uunet!sdrc!larry.jones
Is it too much to ask for an occasional token
gesture of appreciation?! -- Calvin
Technical Details
Message-ID: <2417@sdrc.COM>
Path: arc1-ca.pugleaf.net!sparky!uunet!sdrc!thor!scjones
References: <1992Dec18.232621.2801@bernina.ethz.ch>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sdrc!thor!scjones
From: scjones@thor.sdrc.com (Larry Jones)
Newsgroups: comp.std.c
Subject: Re: are float functions (sinf, fabsf) required by ansi?
Summary: no
Message-ID: <2417@sdrc.COM>
Date: 19 Dec 92 18:41:28 GMT
References: <1992Dec18.232621.2801@bernina.ethz.ch>
Sender: news@sdrc.COM
Lines: 12