dockimbel/Red — Issue #205: Float expression corrupted when calling functions
Author: Kaj-de-Vos
Created: 2012-02-17 22:21:34+00:00
State: open

f1: function [
return: [float!]
][
1.0
]
f2: function [
return: [float!]
][
2.0
]

print [
1.0 / 2.0 newline
f1 / f2 newline
]

bash-4.0# ./test
0.5
-nan3FF00000

Computing with function results corrupts the expression and anything following it.