From: Sam Moore Date: Fri, 3 Oct 2014 06:25:06 +0000 (+0800) Subject: Keeping it Real, add Gmprat::Str, Gmprat::Log10 X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=commitdiff_plain;h=6b7e92069596a3f19fbe068b14a9c5ef59c22061;hp=6b7e92069596a3f19fbe068b14a9c5ef59c22061 Keeping it Real, add Gmprat::Str, Gmprat::Log10 Fixed* all those horrible compile errors. View can now use VReal and Path can now use PReal and at the moment they are Gmprat unless the quadtree is enabled. For Gmprat::Log10 there are problems. Using: log(a/b) = log(a) - log(b) log(a*b) = log(a) + log(b) Unfortunately mpz_div_ui quickly becomes a massive performance issue. Even when well within the range of IEEE singles. Need to rewrite Gmprat::Log10 but may as well commit since it works* slowly at least. ---