diff options
| author | sof <unknown> | 1997-03-20 21:54:56 +0000 | 
|---|---|---|
| committer | sof <unknown> | 1997-03-20 21:54:56 +0000 | 
| commit | a841eb7d6ce77dc819b7768d6ab2ae4debc8ca2f (patch) | |
| tree | aa742534c97d6319535d12b80abdeaed87ce94e9 /ghc/lib/cbits/floatExtreme.h | |
| parent | 0d7354ee32c979ccd36ca2544376d98a0a3ee97d (diff) | |
| download | haskell-a841eb7d6ce77dc819b7768d6ab2ae4debc8ca2f.tar.gz | |
[project @ 1997-03-20 21:54:55 by sof]
Stubs for catching IEEE float extremities
Diffstat (limited to 'ghc/lib/cbits/floatExtreme.h')
| -rw-r--r-- | ghc/lib/cbits/floatExtreme.h | 13 | 
1 files changed, 13 insertions, 0 deletions
| diff --git a/ghc/lib/cbits/floatExtreme.h b/ghc/lib/cbits/floatExtreme.h new file mode 100644 index 0000000000..e073985706 --- /dev/null +++ b/ghc/lib/cbits/floatExtreme.h @@ -0,0 +1,13 @@ +#ifndef FLOATEXTREME_H +#define FLOATEXTREME_H + +StgInt isDoubleNaN            PROTO((StgDouble)); +StgInt isDoubleInfinite       PROTO((StgDouble)); +StgInt isDoubleDenormalized   PROTO((StgDouble)); +StgInt isDoubleNegativeZero   PROTO((StgDouble)); +StgInt isFloatNaN             PROTO((StgFloat)); +StgInt isFloatInfinite        PROTO((StgFloat)); +StgInt isFloatDenormalized    PROTO((StgFloat)); +StgInt isFloatNegativeZero    PROTO((StgFloat)); + +#endif /* FLOATEXTREME_H */ | 
