[Contents] [Index] [Help] [Retrace] [browse <] [Browse >]


NAME
    IEEESPCmp -- compare two single precision floating point numbers

SYNOPSIS
      c   = IEEESPCmp(  y  ,  z  );
      d0                d0   d1

    float   y,z;
    long    c;

FUNCTION
    Compare y with z. Set the condition codes for less, greater, or
    equal. Set return value c to -1 if y<z, or +1 if y>z, or 0 if
    y == z.

INPUTS
    y -- IEEE single precision floating point value
    z -- IEEE single precision floating point value

RESULT
   c = 1   cc = gt         for (y > z)
   c = 0   cc = eq         for (y == z)
   c = -1  cc = lt         for (y < z)

BUGS

SEE ALSO