Convert floating to fixed point by rounding, not truncation

Fixes #678
This commit is contained in:
Rangi
2021-01-04 10:49:30 -05:00
committed by Eldred Habert
parent 7e3fc1db03
commit 7ce5cf1595
6 changed files with 19 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
`3.1`: 3.100007 -> $0003199a
`5.2`: 5.199997 -> $00053333
`MUL`: 16.120026 -> $00101eba
`16.12`: 16.119996 -> $00101eb8
`6.283185`: 6.283188 -> $0006487f