• Aucun résultat trouvé

IEEEDPDII Description:

Dans le document Mapping Amiga® the (Page 126-131)

Mapping the Amiga HelpControl (Revision 3.8)

IEEEDPDII Description:

Library:

Offset:

Syntax:

C:

ML:

Arguments:

Result:

IEEEDPCosh Description:

Library:

Offset:

Syntax:

C:

ML:

Arguments:

Result:

IEEEDPDII Description:

Library:

Offset:

Syntax:

C:

ML:

Arguments:

Result:

IEEEDPElp

int IEEEDPCmp(double, double) dO = IEEEDPCmp(dO/dl, d2/d3) fnuml, fnum2 = numbers to compare

result = 1 if fnum 1 > fnum2, zero if fnum 1 equals fnum2, -I if fnuml < fnum2

computes the cosine of an IEEE double precision number mathtrans.library

-$2A

fnum2 = IEEEDPCos(fnuml) double IEEEDPCos(double) dO/dl = IEEEDPCos(dO/dl)

fnum I = number for which to compute cosine fnum2 = cosine of fnum I

computes the hyperbolic cosine of an IEEE double precision number mathtrans.library

-$42

fnum2 = IEEEDPCosh(fnuml) double IEEEDPCosh(double) dO/dl = IEEEDPCosh(dO/dl)

fnum I = number for which to compute hyperbolic cosine fnum2 = hyperbolic cosine of fnum 1

computes the quotient of two IEEE double precision numbers mathffp.library

-$54

fnum3 = IEEEDPDiv(fnuml, fnum2) double IEEEDPDiv(double, double) dO/dl = IEEEDPDiv(dO/dl, d2/d3) fnuml = dividend

fnum2 = divisor

fnum3 = value of fnum

II

fnum2

Description: computes the exponential of an IEEE double precision number Library: mathtrans.library

Offset: -$4E Syntax:

C:

ML:

fnum2 = IEEEDPExp(fnuml) double IEEEDPExp(double) dO/dl

=

IEEEDPExp(dO/dl)

Library Functions

Arguments:

Result:

IEEEDPFleee

Description:

Library:

Offset:

Syntax:

c:

ML:

Arguments:

Result:

IEEEDPFII

fnum 1 = number for which to compute the exponential fnum2 = exponential offnuml

converts an IEEE single precision number to an IEEE double precision number mathtrans.library

-$6C

fnum = IEEEDPFieee(ieeenum) double IEEEDPFieee(float) dO/dl = IEEEDPFieee(dO)

ieeenum = IEEE single precision number to convert fnum = IEEE double precision representation of ieeenum

Description: converts an IEeE_double precision number to an integer Library: mathffp.library

Offset: -$IE Syntax:

c:

ML:

Arguments:

Result:

IEEEDPFloor

inum = IEEEDPFix(fnum) int IEEEDPFix(double) dO

=

IEEEDPFix(dO/dl) fnum = number to convert

inum = truncated integer value of fnum

Description: computes the floor of a IEEE double precision number Library: mathffp.library

Offset: -$SA Syntax:

c:

ML:

Arguments:

Result:

IEEEDPFII

fnum2 = IEEEDPFloor(fnuml) double IEEEDPFloor( double) dO/dl = IEEEDPFloor(dO/dl)

fnum 1 = number for which to compute floor

fnum2 = largest whole number less than or equal to fnum 1

Description: converts an integer to an IEEE double precision number Library: mathffp.library

Offset: -$24 Syntax:

c:

ML:

Arguments:

Result:

fnum

=

IEEEDPFlt(inum) double IEEEDPFlt(int) dO/dl = IEEEDPFlt(dO) inum = integer to convert

fnum = floating point representation of inum

Mapping the Amiga

IEEEDPLOg

Description: computes the natural logarithm of an IEEE double precision number Library: mathtrans.library

Offset: -$54 Syntax:

C:

ML:

Arguments:

Result:

IEEEDPLOg1D

Description:

Library:

Offset:

Syntax:

C:

ML:

Arguments:

Result:

IEEEDPMul

fnum2 = IEEEDPLog(fnuml) double IEEEDPLog(double) dO/dl = IEEEDPLog(dO/dl)

fnum 1 = number for which to compute natural logarithm fnum2

=

natural logarithm of fnum 1

computes the base 10 logarithm of an IEEE double precision number mathtrans.library

-$7E

fnum2 = IEEEDPLogIO(fnuml) double IEEEDPLog 1O( double) dO/dl = IEEEDPLogIO(dO/dl)

fnum 1 = number for which to compute logarithm fnum2 = base 10 logarithm of fnum I

Description: computes the product of two IEEE double precision numbers Library: mathffp.library

Offset: -$4E Syntax:

C:

ML:

Arguments:

Result:

IEEEDPNeg

Description:

Library:

Offset:

Syntax:

C:

ML:

Arguments:

Result:

IEEEDPPow

Description:

Library:

Offset:

fnum3 = IEEEDPMul(fnuml, fnum2) double IEEEDPMul(double, double) dO/dl = IEEEDPMul(dO/dl, d2/d3) fnum I = multiplicand

fnum2 = multiplier

fnum3 = value of fnum 1

*

fnum2

negates an IEEE double precision number mathffp.library

-$3C

fnum2

=

IEEEDPNeg(fnum 1) double IEEEDPNeg(double) dO/dl = IEEEDPNeg(dO/dl) fnum 1 = number to negate fnum2 = -fnuml

raises a number to a power mathtrans.library

-$5A

Library Functions

Syntax:

C:

ML:

Arguments:

Result:

IEEEDPSln

result = IEEEDPPow(fnuml, fnum2) double = IEEEDPPow(double, double) dO/dl

=

IEEEDPPow(d2!d3, dO/dl) fnuml = exponent to fnum2

fnum2 = value to raise to the power fnuml result

=

value of fnum2 raised to the fnuml power

Description: computes the sine of an IEEE double precision number Library: mathtrans.library

Offset: -$24 Syntax:

C:

ML:

Arguments:

Result:

IEEEDPSlncos Description:

Library:

Offset:

Syntax:

C:

ML:

Arguments:

Result:

IEEEDPSlnh Description:

Library:

Offset:

Syntax:

C:

ML:

Arguments:

Result:

IEEEDPSqrt Description:

Library:

Offset:

Syntax:

C:

ML:

fnum2 = IEEEDPSin(fnuml) double IEEEDPSin(double) dO/dl = IEEEDPSin(dO/dl)

fnuml = number for which to compute sine fnum2 = sine of fnurn 1

computes sine and cosine of an IEEE double precision number mathtrans.library

-$36

fnum3

=

IEEEDPSincos(pfnum2, fnuml) double = IEEEDPSincos(double *, double) dO/dl

=

IEEEDPSincos(aO, dO/dl)

fnuml = number for which to compute sine and cosine pfnurn2 = buffer to receive the cosine offnuml fnum3

=

sine of fnum 1

computes the hyperbolic sine of an IEEE double precision number mathtrans.library

-$3C

fnum2

=

IEEEDPSinh(fnuml) double IEEEDPSinh(double) dO/dl

=

IEEEDPSinh(dO/dl)

fnuml = number for which to compute hyperbolic sine fnum2

=

hyperbolic sine of fnuml

computes the square root of an IEEE double precision number mathtrans.library

-$60

fnum2

=

IEEEDPSqrt(fnurnl) double IEEEDPSqrt(double) dO/dl = IEEEDPSqrt(dO/dl)

Mapping the Amiga

Arguments:

Result:

IEEEDPSull Description:

Library:

Offset:

Syntax:

c:

ML:

Arguments:

Result:

IEEEDPTan

fnum 1 = number for which to compute square root fnum2 = square root of fnuml

computes the difference between two IEEE double precision numbers mathffp.library

-$48

fnum3 = IEEEDPSub(fnuml, fnum2) double IEEEDPSub(double, double) dO/dl = IEEEDPSub(dO/dl, d2/d3) fnuml = minuend

fnum2

=

subtrahend

fnum3 = value of fnum 1 - fnum2

Description: computes the tangent of an IEEE double precision number Library: mathtrans.library

Offset: -$30 Syntax:

c:

ML:

Arguments:

Result:

IEEEDPTanh Description:

Library:

Offset:

Syntax:

c:

ML:

Arguments:

Result:

IEEEDPTleee Description:

Library:

Offset:

Syntax:

c:

ML:

Arguments:

Result:

fnum2 = IEEEDPTan(fnuml) double IEEEDPTan(double) dO/dl = IEEEDPTan(dO/dl)

fnuml = number for which to compute tangent fnum2 = tangent of fnum 1

computes the hyperbolic tangent of an IEEE double precision number mathtrans.library

-$48

fnum2 = IEEEDPTanh(fnuml) double IEEEDPTanh(double) dO/dl = IEEEDPTanh(dO/dl)

fnum 1 = number for which to compute hyperbolic tangent fnum2

=

hyperbolic tangent of fnum 1

converts an IEEE double precision number to an IEEE single precision number

mathtrans.library -$66

ieeenum

=

IEEEDPTieee(fnum) float IEEEDPTieee(double) dO = IEEEDPTieee(dO/dl)

fnum = IEEE double precision number to convert ieeenum = IEEE single precision representation of fnum

Library Functions

Dans le document Mapping Amiga® the (Page 126-131)

Documents relatifs