[libc-commits] [PATCH] D123154: [libc] Implement sinf function that is correctly rounded to all rounding modes.

Paul Zimmermann via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Apr 6 00:36:52 PDT 2022


zimmermann6 requested changes to this revision.
zimmermann6 added a comment.
This revision now requires changes to proceed.

I get an error for rounding up:

  Using llvm-libc
  MPFR library: 4.1.0       
  MPFR header:  4.1.0 (based on 4.1.0)
  Checking function sinf with MPFR_RNDU
  libm wrong by up to 3.40e-11 ulp(s) [1] for x=-0x1.47d0fep+34
  sin      gives -0x1p+0
  mpfr_sin gives -0x1.fffffep-1
  Total: errors=1 (0.00%) errors2=0 maxerr=3.40e-11 ulp(s)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123154/new/

https://reviews.llvm.org/D123154



More information about the libc-commits mailing list