comp-library

This documentation is automatically generated by online-judge-tools/verification-helper

View the Project on GitHub luzhiled1333/comp-library

:heavy_check_mark: src/geometry/R2/utility/is-fp-exception.hpp

Required by

Verified with

Code

#pragma once

#include <cmath>

namespace luz::R2 {

  template < typename R >
  bool is_fp_exception(R r) {
    return std::isinf(r) or std::isnan(r);
  }

} // namespace luz::R2
#line 2 "src/geometry/R2/utility/is-fp-exception.hpp"

#include <cmath>

namespace luz::R2 {

  template < typename R >
  bool is_fp_exception(R r) {
    return std::isinf(r) or std::isnan(r);
  }

} // namespace luz::R2
Back to top page