API docs / Open libraries / mathffp.library
API · Librariesmathffp.library jump table
Our open mathffp.library: 12 calls with the same LVOs and registers as AmigaOS 3.2's, checked against the NDK 3.2 .fd file.
mathffp.library's jump table: LVO, call, registers (fnum1 in D1, fnum2 in D0, as the fd names them; SPTst takes its number in D1). Checked against the NDK 3.2 mathffp_lib.fd by build-amiga.sh.
| LVO | Call | Registers | Notes |
|---|---|---|---|
| -30 | SPFix | d0 | |
| -36 | SPFlt | d0 | |
| -42 | SPCmp | d1, d0 | |
| -48 | SPTst | d1 | |
| -54 | SPAbs | d0 | |
| -60 | SPNeg | d0 | |
| -66 | SPAdd | d1, d0 | |
| -72 | SPSub | d1, d0 | |
| -78 | SPMul | d1, d0 | |
| -84 | SPDiv | d1, d0 | |
| -90 | SPFloor | d0 | |
| -96 | SPCeil | d0 |