------------------------------------------------------------------ */ 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
| 209 | /* handler and it takes a long jump. */ |
| 210 | /* ------------------------------------------------------------------ */ |
| 211 | decContext * 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 */ |
no test coverage detected