blitzpp / blitz

Blitz++ Multi-Dimensional Array Library for C++
https://github.com/blitzpp/blitz/wiki
Other
405 stars 84 forks source link

Use numeric_limits instead of INT_MAX/MIN #55

Open slayoo opened 5 years ago

slayoo commented 5 years ago

Migrated from https://sourceforge.net/p/blitz/feature-requests/3/

As reported by @zeekec on 2008-05-20:

Currently INT_MAX, INT_MIN, and other C macros are used to flag special values. It would be more C++ish to use numeric_limits for those values instead.