full multiply
This commit is contained in:
parent
c42cf36dee
commit
343129a610
3 changed files with 39 additions and 5 deletions
|
@ -88,7 +88,6 @@ function main
|
|||
local tokens
|
||||
|
||||
fill_in_powers_of_10()
|
||||
print_powers_of_10()
|
||||
|
||||
dat_banned_objmacros = 255
|
||||
dat_banned_fmacros = 255
|
||||
|
@ -142,6 +141,10 @@ function main
|
|||
string a.out
|
||||
byte 0
|
||||
|
||||
; NOTE: this language doesn't have proper support for floating-point numbers,
|
||||
; but we need to do some float stuff. floats are stored as a 58-bit significand
|
||||
; and an exponent. the significand ranges from 0 (inclusive) to 0x400000000000000 (exclusive)
|
||||
|
||||
function normalize_float
|
||||
argument p_significand
|
||||
argument p_exponent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue