final cleanup

This commit is contained in:
Max G 2015-08-04 06:22:13 +03:00
parent eb76ec6c4f
commit 75f42eb2b8
2 changed files with 5 additions and 1 deletions

View File

@ -75,15 +75,19 @@
mpz_t i;
u3r_mp(i, f);
if ( !mpz_fits_uint_p(i) ) {
mpz_clear(i);
u3m_bail(c3__exit);
}
a->precision = mpz_get_ui(i);
mpz_clear(i);
if ( a->precision < 2 ) u3m_bail(c3__exit);
_satom_to_mp(a->minExp, g);
u3r_mp(a->expWidth, h);
if ( !(_(u3a_is_cat(d)) && _(u3a_is_cat(e))) ) {
mpz_clears(a->minExp, a->expWidth, 0);
u3m_bail(c3__exit);
}
a->rMode = d;

View File

@ -207,7 +207,7 @@ static u3j_core _mood__hoon__og_d[] =
};
static u3j_harm _mood__hoon__cofl__drg_a[] = {{".2", u3wef_drg}, {}};
static u3j_harm _mood__hoon__cofl__lug_a[] = {{".2", u3wef_lug, c3n}, {}};
static u3j_harm _mood__hoon__cofl__lug_a[] = {{".2", u3wef_lug}, {}};
static u3j_core _mood__hoon__cofl_d[] =
{ { "drg", _mood__hoon__cofl__drg_a },
{ "lug", _mood__hoon__cofl__lug_a },