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

Function decFloatToIntegralValue

extern/decNumber/decBasic.c:3508–3510  ·  view source on GitHub ↗

------------------------------------------------------------------ */ decFloatToIntegral -- round to integral value (two flavours) */ / result gets the result */ df is the decFloat to round */ set is the context */ round is the rounding mode to use

Source from the content-addressed store, hash-verified

3506/* if 'Exact' appears in the name. */
3507/* ------------------------------------------------------------------ */
3508decFloat * decFloatToIntegralValue(decFloat *result, const decFloat *df,
3509 decContext *set, enum rounding round) {
3510 return decToIntegral(result, df, set, round, 0);}
3511
3512decFloat * decFloatToIntegralExact(decFloat *result, const decFloat *df,
3513 decContext *set) {

Callers

nothing calls this directly

Calls 1

decToIntegralFunction · 0.85

Tested by

no test coverage detected