🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3046

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

#3046
From: Frans van Hoesel
Date: Fri, 18 Dec 1992 23:26
12 lines
1104 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?

easy enough, but K&R mentions only sin, not sinf. My environment (SGI indigo)
has sinf, but does not state cleary if sinf is standard.

-- frans
-- 
--    ==============================================================    --
----  ===  frans van hoesel             hoesel@igc.ethz.ch       ===  ----
--    ==============================================================    --
Technical Details
Message-ID: <1992Dec18.232621.2801@bernina.ethz.ch>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!malgudi.oar.net!caen!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!Sirius.dfn.de!chx400!bernina!hoesel

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!malgudi.oar.net!caen!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!Sirius.dfn.de!chx400!bernina!hoesel
From: hoesel@igc.ethz.ch (Frans van Hoesel)
Subject: are float functions (sinf, fabsf) required by ansi?
Message-ID: <1992Dec18.232621.2801@bernina.ethz.ch>
Sender: news@bernina.ethz.ch (USENET News System)
Organization: University of Groningen, the Netherlands
Date: Fri, 18 Dec 1992 23:26:21 GMT
Lines: 12