MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / is_negative

Function is_negative

extlibs/fmt/include/fmt/format.h:741–743  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

739// Same as `value < 0` but doesn't produce warnings if T is an unsigned type.
740template <typename T, FMT_ENABLE_IF(std::numeric_limits<T>::is_signed)>
741FMT_CONSTEXPR bool is_negative(T value) {
742 return value < 0;
743}
744template <typename T, FMT_ENABLE_IF(!std::numeric_limits<T>::is_signed)>
745FMT_CONSTEXPR bool is_negative(T) {
746 return false;

Callers 7

format-inl.hFile · 0.85
write_decimalMethod · 0.85
int_writerMethod · 0.85
operator()Method · 0.85
operator()Method · 0.85
operator()Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected