OpenXRay/xray-16

Bug in _types.h

Open

#195 opened on Apr 21, 2018

View on GitHub
 (4 comments) (0 reactions) (0 assignees)C++ (519 forks)auto 404
Code QualityHelp wanted

Repository metrics

Stars
 (3,524 stars)
PR merge metrics
 (PR metrics pending)

Description

https://github.com/OpenXRay/xray-16/blob/70f130c6fc719293c3b6abb1ccacbb084eaee6d1/src/xrCore/_types.h#L31 Is there problem with determination min values here ? For example -std::numeric_limits::max() != std::numeric_limits::min() also for signed types. http://en.cppreference.com/w/cpp/types/numeric_limits Also can replace type_zero to std::numeric_limits::lowest() ?

Contributor guide