method

save_rounding_mode

Importance_0
v1_9_3_392 - Show latest stable - 0 notes - Class: BigDecimal
save_rounding_mode() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
static VALUE
BigDecimal_save_rounding_mode(VALUE self)
{
    unsigned short const round_mode = VpGetRoundMode();
    int state;
    VALUE ret = rb_protect(rb_yield, Qnil, &state);
    VpSetRoundMode(round_mode);
    if (state) rb_jump_tag(state);
    return ret;
}
Register or log in to add new notes.