On 5 March 2011 21:28, Michael Giannakopoulos <miccagiann@gmail.com> wrote:
> Hello to all,
>
> In the class 'org.apache.commons.math.util.FastMathTest' multiple condition
> of type "x == x" are found... Is this a good practice??? This condition is
> always true so no condition needed... Thanks a lot for your time!
The conditon is *not* always true, because NaN != NaN.
The nearby comments try to make this clear.
> Best regards,
> Michael
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
|