News for hackers. Stuff that matters.
Re:The Performance Cost of Integer Overflow Checking by lmm on Thursday December 18, 2014 @05:30AM (#8766736)
Punting the choice up to application code is not a good idea; maybe you should allow them to override the config, but good defaults are important.
Re:The Performance Cost of Integer Overflow Checking by nly on Thursday December 18, 2014 @09:02AM (#8767207)
The only sane default is to return an arbitrary precision arithmetic type with an optional mode for truncation to double for performance.