integer overflow mode

  • Thread starter Thread starter Boni
  • Start date Start date
B

Boni

Dear all,
is it possible to switch somehow to the mode where
integer.maxvalue+1 will return integer.minvalue instead of throwing the
exception?
Thanks,
Boni
 
Boni said:
is it possible to switch somehow to the mode where
integer.maxvalue+1 will return integer.minvalue instead of throwing the
exception?

"Project" -> "Properties" -> "Configuration properties" ->
"Optimizations" -> [X] "Remove check for integer overflow".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top