Nenad Rakocevic
Nenad Rakocevic
The return value in edge cases (or even regular cases) for control flow natives has not been precisely defined yet. The current implementation is just reflecting that. The interpreter is...
Agreed, this would provide a clean solution for modulo and integer divide. We will include that change in 0.6.3 release.
I have started implementing the changes for this wish ticket, but I've stumbled upon a realization: `//` operator (and underlying function) is just a shortcut to `to-integer divide`. So, given...
@toomasv > I may have missed the discussion of it but if / is changed into float division and // is not changed into integer division, then ~all the code...
@greggirwin > I'm saving my bullets for the fight to put `float!` in the shadows and have an accurate decimal type for more than just money. Even with basic math...
The test script ouputs now constant times, so I'll close this ticket. ``` 0:00:00.446835 160589176 *** Script Error: scale is unset in path scale/3: *** Where: set-path *** Near :...
Floats should be allowed as indexes as in Rebol, they are truncated to integer indexes. Percent are treated like float / 100 pretty much everywhere else. For the rest of...
The detection on set-paths only is by design. Having a generic detection on every word set would be probably too expensive and significantly affect the overall performances of Red (though,...
@hiiamboris > I find it unfair that one cannot build one's own reactivity in pure Red that is not based on the reactor! (or face!) type: The reactivity framework exposed...
FYI, in both cases, it works fine when compiled... so it should be possible to make it work the same way in the interpreter.