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

Method sign

src/common/Int128.h:233–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231 }
232
233 int sign() const
234 {
235 return v < 0 ? -1 : v == 0 ? 0 : 1;
236 }
237
238 Int128 abs() const;
239 Int128 neg() const;

Callers 2

addMethod · 0.45
subMethod · 0.45

Calls 2

IsSignMethod · 0.80
IsZeroMethod · 0.80

Tested by

no test coverage detected