feisty meow concerns codebase  2.140
math_bits.h File Reference

Provides some fairly low-level math support. More...

#include <basis/astring.h>
Include dependency graph for math_bits.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 geometric
 Contains all of our objects for geometry and avoids name clashes.
 

Functions

astring geometric::crop_numeric (const basis::astring &input)
 Eats the numeric characters from the front of "input". More...
 
astring geometric::crop_non_numeric (const basis::astring &input)
 Eats the non-numeric characters from the front of "input". More...
 
template<class numeric_type >
bool geometric::is_floating_point (numeric_type t)
 returns true if the specified numeric_type is a floating_point type. More...
 
template<class numeric_type >
bool geometric::is_integral (numeric_type t)
 returns true if the instantiation type is an integer. More...
 
template<class numeric_type >
bool geometric::is_short (numeric_type)
 returns true if the specified type is short on the PC. More...
 
template<class numeric_type >
bool geometric::is_unsigned (numeric_type t)
 returns true if the templated type is unsigned. More...
 
template<class numeric_type >
bool geometric::is_signed (numeric_type t)
 returns true if the templated type is signed. More...
 
template<class numeric_type >
basis::astring geometric::numeric_specifier (numeric_type t)
 Guesses the formatting string needed for the type provided. More...
 

Detailed Description

Provides some fairly low-level math support.

Definition in file math_bits.h.