summaryrefslogtreecommitdiff
path: root/lib/std/fltparse.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/fltparse.myr')
-rw-r--r--lib/std/fltparse.myr7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/std/fltparse.myr b/lib/std/fltparse.myr
index fcc97af..9836d1f 100644
--- a/lib/std/fltparse.myr
+++ b/lib/std/fltparse.myr
@@ -183,8 +183,8 @@ const fallback = {mant, exp, lim
while true
(xprime, rprime) = std.bigdivmod(u, v)
- std.bigmove(x, xprime)
- std.bigmove(r, rprime)
+ std.bigsteal(x, xprime)
+ std.bigsteal(r, rprime)
if k == lim.minexp
if std.biggei(x, lim.minsig) && std.biglei(x, lim.maxsig)
break
@@ -193,7 +193,8 @@ const fallback = {mant, exp, lim
goto done
;;
elif k > lim.maxexp
- -> std.flt64inf()
+ f = std.flt64inf()
+ goto done
;;
if std.biglti(x, lim.minsig)
std.bigmuli(u, 2)