[all-commits] [llvm/llvm-project] 80e166: [libc][NFC] Add template tests for a bunch of math...

Siva Chandra via All-commits all-commits at lists.llvm.org
Fri Apr 16 10:29:11 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80e166f81abd33d15ced8d6ab66cb4193e75b51e
      https://github.com/llvm/llvm-project/commit/80e166f81abd33d15ced8d6ab66cb4193e75b51e
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2021-04-16 (Fri, 16 Apr 2021)

  Changed paths:
    M libc/test/src/math/CMakeLists.txt
    A libc/test/src/math/CeilTest.h
    A libc/test/src/math/CopySignTest.h
    A libc/test/src/math/FAbsTest.h
    A libc/test/src/math/FMaxTest.h
    A libc/test/src/math/FMinTest.h
    A libc/test/src/math/FloorTest.h
    A libc/test/src/math/RoundTest.h
    A libc/test/src/math/TruncTest.h
    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/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] Add template tests for a bunch of math functions.

Namely, template tests have been added for the following functions:
ceil, copysign, fabs, fmax, fmin, floor, trunc, round.




More information about the All-commits mailing list