a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 mathieeesingbas.library
  --Background--
  IEEESPAbs
  IEEESPAdd
  IEEESPCeil
  IEEESPCmp
  IEEESPDiv
  IEEESPFix
  IEEESPFloor
  IEEESPFlt
  IEEESPMul
  IEEESPNeg
  IEEESPSub
  IEEESPTst
Include
GuruMeditation
Docs » Autodocs » mathieeesingbas.library » IEEESPCmp

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

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Fairlight

ATX
FLT
AYS
RSI

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se