FloatLog.cpp 146 B

123456789101112131415
  1. #include "FloatLog.h"
  2. #include <cmath>
  3. float floatLog(float x)
  4. {
  5. return ::logf(x);
  6. }
  7. float floatLog2(float x)
  8. {
  9. return ::log2f(x);
  10. }