On Feb 9, 2:08 pm, ThoML <micat... / gmail.com> wrote:
> How should the following values be handeld? According to some info I
> found somewhere, 0..2 should be considered illegal, which doesn't
> quite match my computations though.
>
> [-1.0, 1.0]

0

> [-1000.0, 999.99]

-0.00001

> [-1000.0, 999.0]

-0.001

> [0.0]

does not find a solution (mine returns nil)

> []

division by zero. (nil after I add a begin..rescue..end :-)

Paolo