Thread Links | Date Links | ||||
---|---|---|---|---|---|
Thread Prev | Thread Next | Thread Index | Date Prev | Date Next | Date Index |
On 7/3/2013 5:18 AM, Alan Eliasen wrote:
This won't work correctly with a IEEE-754 binary because, for example, parseFloat("0.1") is not 0.1. The resultant interval will not contain the input.
easily fixed, I think.text2interval("x") --> [xinf,xsup] where xinf is parsefloatinf["x"] // rounded down, similarly for xsup= parsefloatsup["x"]