From: Florian Weimer <fw@s.netic.de>
Subject: Re: Problem with pragmas
Date: 1999/06/30
Date: 1999-06-30T21:13:08+00:00 [thread overview]
Message-ID: <m33dz9cryz.fsf@deneb.cygnus.stuttgart.netsurf.de> (raw)
In-Reply-To: FE4vxK.20D@robkaos.ruhr.de
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'.
next prev parent reply other threads:[~1999-06-30 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 ` David
1999-06-30 0:00 ` Florian Weimer [this message]
1999-07-01 0:00 ` Robert Schien
1999-06-30 0:00 ` Robert I. Eachus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox