[all-commits] [llvm/llvm-project] 1d8746: [libc][math] fmod: clear exceptions before the tes...

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Tue May 7 06:29:34 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d87465a0a95cee9accc5dce7abdabbbc3f3c122
      https://github.com/llvm/llvm-project/commit/1d87465a0a95cee9accc5dce7abdabbbc3f3c122
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
    M libc/test/src/math/FModTest.h

  Log Message:
  -----------
  [libc][math] fmod: clear exceptions before the test instead of after

The test has no control over the CPU state before the test runs.

This test checks whether no exception flags are set, which may not be
true at the start of the test. This used to be not a problem because the
check was broken but that was fixed in ecfb5d9951554d8bdb6a499c958f48cc35f78a88



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list