From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5ab34cdc1859e33f X-Google-Attributes: gid103376,public From: Florian Weimer Subject: Re: Problem with pragmas Date: 1999/06/30 Message-ID: #1/1 X-Deja-AN: 496065032 References: Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@cygnus.stuttgart.netsurf.de X-Trace: deneb.cygnus.stuttgart.netsurf.de 930777188 3384 192.168.0.1 (30 Jun 1999 21:13:08 GMT) Organization: Penguin on board Mime-Version: 1.0 User-Agent: Gnus/5.070088 (Pterodactyl Gnus v0.88) XEmacs/21.1 (20 Minutes to Nikko) NNTP-Posting-Date: 30 Jun 1999 21:13:08 GMT Newsgroups: comp.lang.ada Date: 1999-06-30T21:13:08+00:00 List-Id: 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'.