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

Class CDecimal128

src/common/DecFloat.h:289–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287};
288
289class CDecimal128 : public Decimal128
290{
291public:
292 CDecimal128(double value, DecimalStatus decSt)
293 {
294 set(value, decSt);
295 }
296
297 CDecimal128(SINT64 value, DecimalStatus decSt)
298 {
299 set(value, decSt, 0);
300 }
301
302 CDecimal128(int value)
303 {
304 set(value, DecimalStatus(0), 0);
305 }
306
307 CDecimal128(const char* value, DecimalStatus decSt)
308 {
309 set(value, decSt);
310 }
311};
312
313static_assert(sizeof(Decimal64) % sizeof(ULONG) == 0, "Decimal64 size mismatch");
314static_assert(sizeof(Decimal128) % sizeof(ULONG) == 0, "Decimal128 size mismatch");

Callers 5

aggInitMethod · 0.85
aggExecuteMethod · 0.85
evlLnLog10Function · 0.85
evlLogFunction · 0.85
evlSqrtFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected