[m-dev.] Update library pragma C code
fjh at cs.mu.OZ.AU
Mon Aug 3 19:15:08 AEST 1998
On 03-Aug-1998, Thomas Charles CONWAY <conway at cs.mu.OZ.AU> wrote:
> Here's the final diff. I've committed this.
> Index: math.m
> % Pythagoras' number
> -:- pragma(c_code, math__pi(Pi::out), "Pi = MERCURY_FLOAT__PI;").
> +:- pragma c_code(math__pi(Pi::out), "Pi = MERCURY_FLOAT__PI;").
> % Base of natural logarithms
> -:- pragma(c_code, math__e(E::out), "E = MERCURY_FLOAT__E;").
> +:- pragma c_code(math__e(E::out), "E = MERCURY_FLOAT__E;").
These and all the others in math.m are missing `will_not_call_mercury'.
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 22.214.171.124 | -- the last words of T. S. Garp.
More information about the developers