AROSAmiga Research OS

Previous Next Top of Manual blank.gif

AROS - The Amiga Research OS


Documentation
    AutoDocs
        Exec.library
        MathFFP.library
            SPAdd
            SPCmp
            SPMul
            SPAbs
            SPCeil
            SPDiv
            SPNeg
            SPTst
            SPFloor
            SPFix
            SPSub
            SPFlt
        MathIEEEDoubleBase
        MathIEEEDoubleTrans
        MathIEEESingleBase
        MathIEEESingleTrans
        MathTrans
NAME
#include <libraries/mathffp.h>
#include <proto/mathffp.h>

float SPSub ()

SYNOPSIS
float fnum1
float fnum2

FUNCTION
Subtract two floating point numbers fnum = fnum2 - fnum1;
INPUTS
fnum1
FFP number
fnum2
FFP number

RESULT
FFP number Flags: zero : result is zero negative : result is negative overflow : result is out of range
NOTES
EXAMPLE

BUGS
SEE ALSO
MathFFP.library, SPAdd()

INTERNALS
ALGORITHM: fnum = fnum2 + (-fnum1).


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