Category talk:Wren-gmp: Difference between revisions

Content deleted Content added
PureFox (talk | contribs)
→‎Source code (C): Wrapped 5 more mpfr functions.
PureFox (talk | contribs)
m →‎MPF or MPFR?: Changed number of transcendental functions wrapped to 21.
Line 23:
However, it's also far more complicated to wrap and doesn't integrate quite so well as MPF with the rest of GMP - as well as an additional rounding mode it uses a default value of NaN rather than zero for new objects which is not ideal from Wren's perspective.
 
I have therefore decided to stick with MPF for basic arithmetic, for which it is perfectly adequate, but use MPFR for the transcendental functions. There are 1621 such functions which I thought it would be worthwhile supporting and, as the wrapper converts automatically between the MPF and MPFR types, this is transparent to the user.
 
===How fast?===