X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=include%2Flibfirm%2Ftv.h;h=e7186490fa798b7f1b7b311e0cdb895e36b2e188;hb=f7a0dee11313faad6f2ff54edc8eaadabd03e433;hp=a5ff791500433ee29c1186064ad79b7819356075;hpb=a169b4d8ce0f7187ed45f9142f28fd0600588ded;p=libfirm diff --git a/include/libfirm/tv.h b/include/libfirm/tv.h index a5ff79150..e7186490f 100644 --- a/include/libfirm/tv.h +++ b/include/libfirm/tv.h @@ -788,6 +788,12 @@ unsigned tarval_ieee754_set_immediate_precision(unsigned bits); */ unsigned tarval_ieee754_get_exact(void); +/** + * Return the size of the mantissa in bits (including possible + * implicit bits) for the given mode. + */ +unsigned tarval_ieee754_get_mantissa_size(const ir_mode *mode); + /** * Enable/Disable floating point constant folding. */