AmigaChromeA new chapter for the Amiga

API docs / Open libraries / mathffp.library

API · Libraries

mathffp.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.

12 slots, 12 public
LVOCallRegistersNotes
-30SPFixd0
-36SPFltd0
-42SPCmpd1, d0
-48SPTstd1
-54SPAbsd0
-60SPNegd0
-66SPAddd1, d0
-72SPSubd1, d0
-78SPMuld1, d0
-84SPDivd1, d0
-90SPFloord0
-96SPCeild0