delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/12/05/12:23:55

Date: Sat, 5 Dec 1998 12:23:53 -0500
Message-Id: <199812051723.MAA30930@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
In-reply-to: <36696383.3E66693A@cyberoptics.com> (message from Eric Rudd on
Sat, 05 Dec 1998 10:46:59 -0600)
Subject: Re: libc math function upgrade work
References: <199810191414 DOT KAA25670 AT indy DOT delorie DOT com> <36696383 DOT 3E66693A AT cyberoptics DOT com>
Reply-To: djgpp-workers AT delorie DOT com

First off, I don't have a copy of the C9x spec.  Is it official?  How
do I get a copy?

>         .globl  ___pow2, _exp2
> ___pow2:
> _exp2:
>    ...code

Normally, I'd say this was OK if both symbols were defined by the same
spec (i.e. rand() and srand() are in the same object, localtime() and
gmtime() are together), but in this case there might be a program that
is emulating C9x by providing its own exp2() function that calls
pow2().  If you tried to build such a program, you'd get link
failures.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019