fractional math in pure sh, the successor to psh-float-micro
Go to file
2022-04-16 01:47:36 -04:00
addition update readme; ton of work -- still wip; on pause for now 2022-03-09 10:28:30 -05:00
division basically done 2022-04-05 12:24:44 -04:00
multiplication basically done 2022-04-05 12:24:44 -04:00
subtraction basically done 2022-04-05 12:24:44 -04:00
LICENSE change to unlicense; add long multiplication 2022-02-16 14:09:07 -05:00
README add info abt psh-fc 2022-04-16 01:47:36 -04:00
tester basically done 2022-04-05 12:24:44 -04:00

---
psh-fractional
-- fractional math in pure sh, successor to psh-float-micro
---
Dev Status
-- this is on pause for now; I'm really tired
---
Current Status
-- addition 100% working
-- subtraction ~90% working
---- decimal placement working now
---- some numbers produce the wrong results... no idea why
-- multiplication 100% working
-- division ~90% working 
---- may sometimes produce to many decimals
---- rarely places decimals in wrong places
---
Outer Usage
-- it is recommended to use this library with the upcomming
-- psh-fc if you wish to compare numbers that it produces
-- as decimal numbers are not considered numbers by posix sh
---- https://dicksdeathabove.xyz/~mia/psh-fc
---
Tester
-- a tester is present at ./tester; it is ofc not pure sh as it compares with bc
-- additionally using it requires that $RPATH is set to ?/psh-prng/ran
---