From: robsch@robkaos.ruhr.de (Robert Schien)
Subject: Re: Problem with pragmas
Date: 1999/07/01
Date: 1999-07-01T00:00:00+00:00 [thread overview]
Message-ID: <FE7K3x.w8@robkaos.ruhr.de> (raw)
In-Reply-To: m33dz9cryz.fsf@deneb.cygnus.stuttgart.netsurf.de
Florian Weimer <fw@s.netic.de> writes:
>robsch@robkaos.ruhr.de (Robert Schien) writes:
>> -- Accessing Gaussian error function
>> function erf (x: in C_float) return C_float;
>> pragma Import(C,erf);
>My manpage for erf(3) says that this function uses the `double' C type
>(instead of `float'). I guess your example woll work if you replace
>`C_Float' by `double'.
Yes, that's right! :-) Sometimes one overlooks the simplest things. :)
Robert
next prev parent reply other threads:[~1999-07-01 0:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-06-30 0:00 Problem with pragmas Robert Schien
1999-06-30 0:00 ` Florian Weimer
1999-07-01 0:00 ` Robert Schien [this message]
1999-06-30 0:00 ` Robert I. Eachus
1999-06-30 0:00 ` David
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox