[PATCH] D128269: Teach fpcmp about the x. FP format

Michael Kruse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 30 14:03:55 PDT 2022


Meinersbur added a comment.

I fear there is the problem that any single dot will be interpreted as a number. I tried `strtod(".")` (https://godbolt.org/z/Ke9n4zbn5) and it doesn't gobble it up. So we need to check that there are either digits before or after the period, but cannot omit both.

I don't think we need the compatibility flag. This would make fpcmp only more tolerant, so there would be any new test failures.


Repository:
  rT test-suite

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

https://reviews.llvm.org/D128269



More information about the llvm-commits mailing list