OpenXRay/xray-16

Bug in _types.h

オープン

#195 opened on 2018/04/21

 (4 件のコメント) (0 件のリアクション) (0 人の担当者)C++ (519 件のフォーク)auto 404
Code QualityHelp wanted

Repository metrics

Stars
 (3,524 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド