FloatLog.h 564 B

1234567891011121314151617181920212223
  1. #ifndef MANDEL_FLOATLOG_H
  2. #define MANDEL_FLOATLOG_H
  3. ///
  4. /// \file FloatLog.h
  5. ///
  6. /// This file exists as a workaround to the problem that when accessing functions
  7. /// in headers from a compilation unit which is compiled for a different
  8. /// instruction set (e.g. avx), the linker may take the avx-version also for
  9. /// calls from files compiled without avx.
  10. ///
  11. ///
  12. /// \brief same as \code float logf(float) \endcode
  13. ///
  14. float floatLog(float x);
  15. ///
  16. /// \brief same as \code float log2f(float) \endcode
  17. ///
  18. float floatLog2(float x);
  19. #endif // MANDEL_FLOATLOG_H