Solved
return or not return? Is it a bug? Explanation needed!
- April 17, 2014
- 2 replies
- 2478 views
Can anybody explain why we get different result for the boolean comparison dependent on whether we use the return statement or not?
IMHO the second expression using the return (which I consider good style) is yielding a wrong result.

EDIT: A symbolic eval would not even simplify the result to a number (a second symbolic or numeric eval afterwards will do) - its weird!!

EDIT2: The very same behaviour is shown in Prime 3, too

