OpenXRay/xray-16

Bug in _types.h

开放

#195 创建于 2018年4月21日

 (4 条评论) (0 个反应) (0 位负责人)C++ (519 个派生)auto 404
Code QualityHelp wanted

仓库指标

星标
 (3,524 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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() ?

贡献者指南