[all-commits] [llvm/llvm-project] f66cf1: [libc][NFC] Rename global `nan` in tests to `aNaN`.

Siva Chandra via All-commits all-commits at lists.llvm.org
Tue Dec 15 22:40:41 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f66cf13d5d0bc4099d452088c03fd6705aae2bc7
      https://github.com/llvm/llvm-project/commit/f66cf13d5d0bc4099d452088c03fd6705aae2bc7
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M libc/test/src/math/ceil_test.cpp
    M libc/test/src/math/ceilf_test.cpp
    M libc/test/src/math/ceill_test.cpp
    M libc/test/src/math/copysign_test.cpp
    M libc/test/src/math/copysignf_test.cpp
    M libc/test/src/math/copysignl_test.cpp
    M libc/test/src/math/fabs_test.cpp
    M libc/test/src/math/fabsf_test.cpp
    M libc/test/src/math/fabsl_test.cpp
    M libc/test/src/math/floor_test.cpp
    M libc/test/src/math/floorf_test.cpp
    M libc/test/src/math/floorl_test.cpp
    M libc/test/src/math/fmax_test.cpp
    M libc/test/src/math/fmaxf_test.cpp
    M libc/test/src/math/fmaxl_test.cpp
    M libc/test/src/math/fmin_test.cpp
    M libc/test/src/math/fminf_test.cpp
    M libc/test/src/math/fminl_test.cpp
    M libc/test/src/math/round_test.cpp
    M libc/test/src/math/roundf_test.cpp
    M libc/test/src/math/roundl_test.cpp
    M libc/test/src/math/sqrt_test.cpp
    M libc/test/src/math/sqrtf_test.cpp
    M libc/test/src/math/sqrtl_test.cpp
    M libc/test/src/math/trunc_test.cpp
    M libc/test/src/math/truncf_test.cpp
    M libc/test/src/math/truncl_test.cpp
    M libc/utils/FPUtil/TestHelpers.h

  Log Message:
  -----------
  [libc][NFC] Rename global `nan` in tests to `aNaN`.

The name `nan` conflicts with the function `nan` defined declared in
math.h.




More information about the All-commits mailing list