소스 검색

math: add lol::cbrt as a direct alias to std::cbrt.

undefined
Sam Hocevar 10 년 전
부모
커밋
d9b37a0c8d
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. +3
    -0
      src/lol/math/functions.h

+ 3
- 0
src/lol/math/functions.h 파일 보기

@@ -35,6 +35,9 @@ namespace lol
static inline double sqrt(double const &x) { return std::sqrt(x); }
static inline float sqrt(float const &x) { return std::sqrt(x); }

static inline double cbrt(double const &x) { return std::cbrt(x); }
static inline float cbrt(float const &x) { return std::cbrt(x); }

static inline double exp(double const &x) { return std::exp(x); }
static inline float exp(float const &x) { return std::exp(x); }



불러오는 중...
취소
저장