Le 04/03/2012 20:20, Adam D. Ruppe a écrit :
What's weird about this? Processors raise an exception when you ask them to divide by zero.Perhaps "Floating point exception" is a weird message to give, but that's something the operating system does; it is the default signal handler's message.
That is the problem. No floating point operation is involved here. And if you replace to!uint("1") by just plain old 1, you don't get the same message, which is very inconsistent, and counterintuitive.
