On Friday, 20 January 2017 at 23:45:38 UTC, Xavier Bigand wrote:
Using -type.max is close to what I want but for integer int.min is different than -int.max.

In c++11 there is std::numeric_limits<T>::lowest() that works perfectly.

Can an equivalent property added to integer and floating types?

In D, these are builtin properties doced here:

http://dlang.org/spec/property.html

Is that what you where looking for?

Reply via email to