MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / is_negative_number

Function is_negative_number

Source/external/json.hpp:18572–18575  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18570 // templates to avoid warnings about useless casts
18571 template <typename NumberType, enable_if_t<std::is_signed<NumberType>::value, int> = 0>
18572 bool is_negative_number(NumberType x)
18573 {
18574 return x < 0;
18575 }
18576
18577 template < typename NumberType, enable_if_t <std::is_unsigned<NumberType>::value, int > = 0 >
18578 bool is_negative_number(NumberType /*unused*/)

Callers 1

dump_integerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected