AROSAmiga Research OS

Previous Next Top of Manual blank.gif

AROS - The Amiga Research OS


Documentation
    AutoDocs
        Exec.library
        MathFFP.library
        MathIEEEDoubleBase
            IEEEDPMul
            IEEEDPDiv
            IEEEDPFlt
            IEEEDPTst
            IEEEDPNeg
            IEEEDPAdd
            IEEEDPFloor
            IEEEDPAbs
            IEEEDPCmp
            IEEEDPCeil
            IEEEDPFix
            IEEEDPSub
        MathIEEEDoubleTrans
        MathIEEESingleBase
        MathIEEESingleTrans
        MathTrans
NAME
#include <proto/mathieeedoubbas.h>

LONG IEEEDPTst ()

SYNOPSIS
double y

FUNCTION
Compare a IEEE double precision floting point number against zero.
INPUTS
y
IEEE double precision floting point number

RESULT

+1 : y > 0.0
0 : y = 0.0
-1 : y < 0.0

Flags:
zero           : result is zero
negative : result is negative
overflow : 0
NOTES
EXAMPLE

BUGS
SEE ALSO
MathIEEEDoubleBase

INTERNALS
ALGORITHM: Sign is negative: return -1 y == 0 : return 0 Otherwise : return 1


Previous Next Top of Manual blank.gif
minilogo.gif

Amiga® is a trademark of Amiga Inc. All other trademarks belong to their respective owners.

Copyright © AROS - The Amiga Research OS
All Rights Reserved
Comments to webmaster: digulla@aros.org
Generated: Tue Sep 4, 2001