MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / sign

Method sign

src/common/DecFloat.cpp:509–516  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

507}
508
509int Decimal64::sign() const
510{
511 if (decDoubleIsZero(&dec))
512 return 0;
513 if (decDoubleIsSigned(&dec))
514 return -1;
515 return 1;
516}
517
518#ifdef DEV_BUILD
519int Decimal64::show()

Callers 11

make_positiveFunction · 0.45
BOOST_IF_CONSTEXPRFunction · 0.45
evlCeilFunction · 0.45
evlFloorFunction · 0.45
evlSignFunction · 0.45
compressFunction · 0.45
divMethod · 0.45
makeIndexKeyMethod · 0.45
compareLimitBy10Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected