On 2/16/14, Andrej Mitrovic <andrej.mitrov...@gmail.com> wrote: > Any idea why the results are different?
Interestingly the literal versions end up calling nextUp which takes a double rather than a real. So nextUp(1.0) calls the double overload, nextUp(num) calls the real overload. Mystery solved.