Gymbo

Classes | Namespaces | Functions
utils.h File Reference

Utility funcitons and classes. More...

`#include <bitset>`
`#include <cmath>`
`#include <cstdint>`
`#include <cstring>`
`#include <string>`
`#include <vector>`
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.

## Classes
class | gymbo::LLNode< T >
| Node for a Doubly Linked List. More...
class | gymbo::Linkedlist< T >
| Doubly Linked List Implementation. More...

## Namespaces
| gymbo

## Functions
bool | gymbo::is_integer (float x)
| Checks if a float is an integer. More...
uint32_t | gymbo::FloatToWord (float val)
| Converts a float value to a 32-bit word representation. More...
float | gymbo::wordToFloat (uint32_t word)
| Converts a 32-bit word representation to a float value. More...
int | gymbo::wordToInt (uint32_t word)
| Converts a 32-bit word representation to an integer value. More...
int | gymbo::wordToSignedInt (uint32_t word)
| Converts a uint32_t word to a signed int. More...
bool | gymbo::wordToBool (uint32_t word)
| Converts a uint32_t word to a bool. More...
uint32_t | gymbo::boolToWord (bool value)
| Converts a bool to a uint32_t word. More...
uint32_t | gymbo::twosComplement (uint32_t i)
| Returns the twos complement of a uint32_t word. More...
bool | gymbo::isNegative (uint32_t word)
| Checks if a uint32_t word is negative. More...
std::string | gymbo::valName (int i)
| Generates a name for a variable based on its index. More...
std::vector< std::vector< int > > | gymbo::cartesianProduct (const std::vector< std::vector< int >> &vectors)
| Compute the Cartesian product of a vector of vectors of integers. More...

## Detailed Description

Utility funcitons and classes.

Author
  Hideaki Takahashi