------------------------------------------------------------------ */ decContextGetRounding -- return current rounding mode */ / context is the context structure to be queried */ returns the rounding mode */ / No error is possible. */ ------------------------------------------------
| 135 | /* No error is possible. */ |
| 136 | /* ------------------------------------------------------------------ */ |
| 137 | enum rounding decContextGetRounding(decContext *context) { |
| 138 | return context->round; |
| 139 | } // decContextGetRounding |
| 140 | |
| 141 | /* ------------------------------------------------------------------ */ |
| 142 | /* decContextGetStatus -- return current status */ |