carl  24.04
Computer ARithmetic Library
operations_generic.h File Reference
#include <carl-common/meta/SFINAE.h>
#include "constants.h"
Include dependency graph for operations_generic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 carl
 carl is the main namespace for the library.
 

Functions

template<typename T >
bool carl::is_zero (const T &t)
 
template<typename T >
bool carl::is_one (const T &t)
 
template<typename T , EnableIf< has_is_positive< T >> >
bool carl::is_positive (const T &t)
 
template<typename T , EnableIf< has_is_negative< T >> >
bool carl::is_negative (const T &t)
 
template<typename T , DisableIf< is_interval_type< T >> = dummy>
carl::pow (const T &basis, std::size_t exp)
 Implements a fast exponentiation on an arbitrary type T. More...
 
template<typename T >
void carl::pow_assign (T &t, std::size_t exp)
 Implements a fast exponentiation on an arbitrary type T. More...
 

Detailed Description

Author
: Sebastian Junges
Since
November 6, 2014

Definition in file operations_generic.h.