[libc-commits] [PATCH] D150598: [libc] use LLVM atof for fuzz precheck

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon May 15 12:01:15 PDT 2023


sivachandra added a comment.

I am fine with this, but it is kind of reducing the validity of the fuzz test - we are ignoring the correctness check of a class of inputs using the libc's own results. Could we use MPFR and not depend on the system libc at all? MPFR has functions like `mpfr_set_str` and `mpfr_strtofr` which perform the `atof` operation.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150598



More information about the libc-commits mailing list