Hi!
hjalfi wrote:
As title.
I already know of:
- Wozniak & Rankin's one from Dr. Dobbs in 1976 (4-byte binary, difficult copyright licensing/issues)
- Microsoft's one in their BASIC (no license)
- Acorn's in their BASIC (no license)
- the Atari MATHPACK clone from Altirra (GPL; 6-byte BCD)
The Altirra ROM replacement is not under the GPL, but under the MIT license, much more permissive.
hjalfi wrote:
- the C64-compatible routines from the X16 kernal replacement (mostly copied from Microsoft, AFAICT)
- Louis Chorich's Atari floating point library (commercial, 6-byte, presumably BCD but the docs don't say)
- Apple's SANE (source lost)
The VBCC 6502 compiler uses those, and includes a library with all the split objects.
Quote:
- Some Random Internet Guy's library (no license, 5-byte BCD, no negative numbers)
Anyone know of more?
The Mad Pascal compiler (at
https://github.com/tebe6502/Mad-Pascal ) includes:
- 32-bit FLOAT:
https://github.com/tebe6502/Mad-Pascal/ ... single.asm- 16-bit FLOAT:
https://github.com/tebe6502/Mad-Pascal/ ... dd_sub.asm and other files.
Have Fun!