delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
X-Recipient: | geda-user AT delorie DOT com |
X-Mailer: | exmh version 2.8.0 04/21/2012 (debian 1:2.8.0~rc1-2) with nmh-1.5 |
X-Exmh-Isig-CompType: | repl |
X-Exmh-Isig-Folder: | inbox |
From: | karl AT aspodata DOT se |
To: | geda-user AT delorie DOT com |
Subject: | Re: [geda-user] C99 |
In-reply-to: | <20151020184943.GD16826@localhost.localdomain> |
References: | <CAC4O8c9rjGEsy6NP8kFz5jKRy51NOndbhU37gUa_Om70qbxVKg AT mail DOT gmail DOT com> <CABuVarJiWLMNh+cMcNF4vpv3aAm-eHKazu+i=F00WcBWF_=Oag AT mail DOT gmail DOT com> <CAC4O8c8n7RdxJ6Diq7UYkQAka16zwVQ_E+Wr0JGbiy3_VQw0jw AT mail DOT gmail DOT com> <20151019205802 DOT GA6798 AT recycle DOT lbl DOT gov> <20151020180706 DOT GC16826 AT localhost DOT localdomain> <201510201818 DOT t9KIIcFc016851 AT envy DOT delorie DOT com> <20151020184943 DOT GD16826 AT localhost DOT localdomain> |
Comments: | In-reply-to "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
message dated "Tue, 20 Oct 2015 21:49:43 +0300." | |
Mime-Version: | 1.0 |
Message-Id: | <20151020210245.11F7E8104E54@turkos.aspodata.se> |
Date: | Tue, 20 Oct 2015 23:02:44 +0200 (CEST) |
X-Virus-Scanned: | ClamAV using ClamSMTP |
Reply-To: | geda-user AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | geda-user AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
Vladimir: ... > Does it mean that functions related to C99 like 'hypot' cannot be used > yet (at least wikipedia mentions C99 as one of the languages supporting > it)? (I've seen them a while ago in a branch by Sergey Stepanov, our new > developer, though now I cannot find that branch in the repo.) $ man -k hypot hypot (3) - Euclidean distance function hypotf (3) - Euclidean distance function hypotl (3) - Euclidean distance function $ man hypot | grep -C2 C99 hypot(): _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE || _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L; or cc -std=c99 hypotf(), hypotl(): _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE >= 600 || _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L; or cc -std=c99 -- CONFORMING TO C99, POSIX.1-2001. The variant returning double also conforms to SVr4, 4.3BSD. SEE ALSO $ Seem to be there, not tested though. Regards, /Karl Hammar ----------------------------------------------------------------------- Aspö Data Lilla Aspö 148 S-742 94 Östhammar Sweden +46 173 140 57
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |