MCPcopy Create free account
hub / github.com/catboost/catboost / LogInputCheck

Function LogInputCheck

library/cpp/fast_log/fast_log.h:49–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 */
48
49static inline bool LogInputCheck(float value) noexcept {
50 return value == value //not a NaN
51 && value >= 0; //Within allowable range
52}
53
54/**
55 * @returns Base 2 logarithm of the value.

Callers 4

FastLog2fFunction · 0.85
FasterLog2fFunction · 0.85
FastestLog2fFunction · 0.85
FastestLogfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected