imate
C++/CUDA Reference
Loading...
Searching...
No Matches
c_arithmetics Namespace Reference

This namespace declares arithmetic functions in C. More...

Functions

template<typename DataType >
bool is_equal (DataType x, DataType y)
 Check if two floating point numbers are equal within a tolerance.
 

Detailed Description

This namespace declares arithmetic functions in C.

See also
c_arithmetics::is_equal

Function Documentation

◆ is_equal()

template<typename DataType >
bool c_arithmetics::is_equal ( DataType  x,
DataType  y 
)
inline