MCPcopy Create free account
hub / github.com/ablab/spades / is_negative

Function is_negative

ext/include/cppformat/format.h:475–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

473// Same as (value < 0) but doesn't produce warnings if T is an unsigned type.
474template <typename T>
475inline bool is_negative(T value) {
476 return SignChecker<std::numeric_limits<T>::is_signed>::is_negative(value);
477}
478
479// Selects uint32_t if FitsIn32Bits is true, uint64_t otherwise.
480template <bool FitsIn32Bits>

Callers 2

write_intMethod · 0.70
format_decimalMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected