home *** CD-ROM | disk | FTP | other *** search
- head 1.1;
- access;
- symbols
- version39-41:1.1;
- locks;
- comment @ * @;
-
-
- 1.1
- date 92.06.08.19.47.59; author mwild; state Exp;
- branches;
- next ;
-
-
- desc
- @initial checkin
- @
-
-
- 1.1
- log
- @Initial revision
- @
- text
- @#include "common.h"
- #ifdef IEEE_SINGBAS
- #include <inline/mathieeesingbas.h>
- #else
- #include <inline/mathffp.h>
- #include <inline/mathtrans.h>
- #endif
-
- SItype
- __fixsfsi (a)
- FLOAT a;
- {
- #ifdef IEEE_SINGBAS
- return IEEESPFix(a);
- #else
- #if 1
- return SPFix( SPFieee(a));
- #else
- /* don't know.. */
- return SPFix( SPAdd (SPFieee(a), SPFieee( *(long *)(float[]){0.5}) ));
- #endif
- #endif
- }
- @
-