  NEWS   APPS   DOCS   ABOUT    Autodocs
Libraries:
mathieeedoubbas.library
--Background--
IEEEDPAbs
IEEEDPAdd
IEEEDPCeil
IEEEDPCmp
IEEEDPDiv
IEEEDPFix
IEEEDPFloor
IEEEDPFlt
IEEEDPMul
IEEEDPNeg
IEEEDPSub
IEEEDPTst
Include
GuruMeditation
Docs » Autodocs » mathieeedoubbas.library » IEEEDPCmp

## NAME

`	IEEEDPCmp -- compare two double precision floating point numbers`

## SYNOPSIS

`	  c   = IEEEDPCmp(  y  ,  z  );	  d0		  d0/d1 d2/d3	double	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 double precision floating point value	z -- IEEE double 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

`	Did not work correctly prior to V45 and might have returned results	indicating the wrong order for negative numbers of small absolute	value. This has been fixed in V45.`

## 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:Andromeda RBS ANA TBL AOA

#### Comments: \$VER: d0.se 1.14 Copyright © 2011-2021 Tobias Geijersson support at d0 dot se 