On 11/22/2014 1:07 PM, Marco Leise wrote:
Am Fri, 21 Nov 2014 18:07:15 -0800You're better off with core.checkedint here, as not only is it correct, but (eventually) it will enable the compiler to optimize it to simply checking the carry flag.Ah right, I keep forgetting that module.
It is brand new (!) so you're forgiven.
By the way, are calls to core.checkedint inlined? Since they are in another module and not templated I'd think not.
Yes, since the import leaves the source for it in there.
