BrianGladman / gmpy2

GNU Lesser General Public License v3.0
10 stars 8 forks source link

DOC: is this right at https://gmpy2.readthedocs.io/en/latest/mpfr.html#gmpy2.fmms ? #12

Open keithbriggs opened 1 month ago

keithbriggs commented 1 month ago

The docs say:

gmpy2.fmma(x, y, z, t, /) → [mpfr](https://gmpy2.readthedocs.io/en/latest/mpfr.html#gmpy2.mpfr)[](https://gmpy2.readthedocs.io/en/latest/mpfr.html#gmpy2.fmma)

    Return correctly rounded result of (x * y) + (z + t).

But in mpfr, fmma(a,b,c,d) means a*b+c*d. Does gmpy2 really have a different definition?