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

Function decContextSetStatus

extern/decNumber/decContext.c:211–214  ·  view source on GitHub ↗

------------------------------------------------------------------ */ decContextSetStatus -- set status and raise trap if appropriate */ / context is the context structure to be updated */ status is the DEC_ exception code */ returns the context structure */ / Control may never return from this routine, if th

Source from the content-addressed store, hash-verified

209/* handler and it takes a long jump. */
210/* ------------------------------------------------------------------ */
211decContext * decContextSetStatus(decContext *context, uInt status) {
212 context->status|=status;
213 if (status & context->traps) raise(SIGFPE);
214 return context;} // decContextSetStatus
215
216/* ------------------------------------------------------------------ */
217/* decContextSetStatusFromString -- set status from a string + trap */

Callers 15

decNumberToInt32Function · 0.85
decNumberToUInt32Function · 0.85
decStatusFunction · 0.85
decCheckOperandsFunction · 0.85
decCheckInexactFunction · 0.85
decimal32FromNumberFunction · 0.85
decimal32FromStringFunction · 0.85
decimal128FromNumberFunction · 0.85
decimal128FromStringFunction · 0.85
decContextDefaultFunction · 0.85
decimal64FromNumberFunction · 0.85

Calls 1

raiseFunction · 0.85

Tested by

no test coverage detected