FreeTensor
Loading...
Searching...
No Matches
Namespaces | Concepts | Functions
utils.h File Reference
#include <cmath>
#include <cstdlib>
#include <type_traits>
#include <utility>
Include dependency graph for utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  freetensor
 

Concepts

concept  freetensor::IntegralExceptBool
 

Functions

auto freetensor::floorDiv (IntegralExceptBool auto a, IntegralExceptBool auto b)
 
auto freetensor::ceilDiv (IntegralExceptBool auto a, IntegralExceptBool auto b)
 
auto freetensor::mod (IntegralExceptBool auto a, IntegralExceptBool auto b)
 
template<class T >
freetensor::square (T x)
 
bool freetensor::square (bool x)
 
double freetensor::sigmoid (double x)
 
double freetensor::realDiv (double a, double b)