| L P 2 I E E E ( )
| | | | | SOURCE: qdev_macros.txt 1.16 (12/09/2014) English AMIGA - PUBLIC
----------------------------------------------------------------------------
NAME
LP2IEEE() - IEEE arithmetic function caller macro(Amiga
only).
SYNOPSIS
res = LP2IEEE(
offs, rt, name, t1, v1, r1, t2, v2, r2, bt, bn);
LONG LP2IEEE(<offset>, <return type>, <func name>,
<arg type 1>, <variable 1>, (arg reg 1>,
<arg type 2>, <variable 2>, (arg reg 2>,
<unused>, <base name>);
FUNCTION
This macro allows to call two argument IEEE function.
It is quite useful when one wants to use 'mathieeexxx'
libraries without 'gcc' global wrappers.
INPUTS
offs - Func. offset as specified in the FD. The value
must not be negative, the macro does this!
rt - Function return type(d0 and d1 for double).
name - Symbolic name of the function to be called.
t1 - Type of the first argument(float or double).
v1 - Variable to be passed in the first argument.
r1 - Register that will be used(always d0).
t2 - Type of the second argument(float or double).
v2 - Variable to be passed in the second argument.
r2 - Register that will be used(d1 if first arg was
float or d2 if it was double!).
bt - Unused base related variable. Can be ommited.
bn - Base name of the library(MathIeeeSingBasBase).
RETURNS
Depends on the function. See the autodocs of particular
IEEE routine-set.
BASES
[MathIeeeDoubBasBase], [MathIeeeDoubTransBase],
[MathIeeeSingBasBase], [MathIeeeSingTransBase]
NOTES
This macro plays an important role in double-type, math
related macros: '_IEEEXPxxx()' who are post-mapped as
'MFxxx()' macros.
SEE ALSO
MFxxx()
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
| |
| |