Skip to content

Commit

Permalink
decimals: fix stack effect for decimal>float.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjbq7 committed Apr 19, 2018
1 parent 9b2eac2 commit 2a8e8ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extra/decimals/decimals.factor
Expand Up @@ -23,7 +23,7 @@ SYNTAX: DECIMAL: parse-decimal suffix! ;

: decimal>ratio ( decimal -- ratio ) >decimal< 10^ * ;

: decimal>float ( decimal -- ratio ) decimal>ratio >float ;
: decimal>float ( decimal -- float ) decimal>ratio >float ;

: scale-mantissas ( D1 D2 -- m1 m2 exp )
[ [ mantissa>> ] bi@ ]
Expand Down

0 comments on commit 2a8e8ba

Please sign in to comment.