z80float icon indicating copy to clipboard operation
z80float copied to clipboard

A fairly complete floating point library for the Z80 ! Includes 24-, 32-, and 80-bit formats.

Results 5 z80float issues
Sort by recently updated
recently updated
newest added

;Power of 10 is stored in B, need to put in A first xor a sub b ld de,pow10table+120 jp p,+_ doesn't work with numbers like 1e-2. This works for...

There should be conversion routines for the 24-bit floats (f24). I think maybe: * [x] ~~f24 single ("single" being this lbrary's bastardized format)~~ * [x] ~~f24 binary32~~ * [ ]...

good first issue

### Higher priority * [x] ~~**f32toa** - Convert an `f32` float to a string to be displayed.~~ * ~~Currently this is emulated by converting the `f32` to a "`single`" and...

good first issue

The way geometric mean (`sqrt(x*y)`) and arithmetic mean `(a+b)/2` is implemented in this library will erroneously cause overflow with some range of inputs. Neither geometric mean nor arithmetic mean (`geomean`...

bug
good first issue

f24/f24cos.z80 says cos(0)==0 in the comments. But cos(0)=1