CoCoALib-0.9905 date: 23 May 2007


convert.H File Reference

#include "CoCoA/error.H"
#include <string>

Include dependency graph for convert.H:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  CoCoA

Classes

class  CoCoA::CheckedCast< T >

Functions

bool CoCoA::convert (long &lhs, const ZZ &src)
bool CoCoA::convert (int &lhs, const ZZ &src)
bool CoCoA::convert (unsigned long &lhs, const ZZ &src)
bool CoCoA::convert (unsigned int &lhs, const ZZ &src)
bool CoCoA::convert (std::string &lhs, const ZZ &src, int base=10)
bool CoCoA::convert (ZZ &lhs, const std::string &src, int base=0)
bool CoCoA::convert (ZZ &num, ZZ &den, double z)
 convert double z into an exact rational ==> den will be a power of 2.
bool CoCoA::convert (double &z, const ZZ &N)
 conversion may discard information!
bool CoCoA::convert (double &z, const ZZ &num, const ZZ &den)
 conversion may discard information!
bool CoCoA::convert (long &dest, const unsigned long &src)
bool CoCoA::convert (long &dest, const unsigned int &src)
bool CoCoA::convert (long &dest, const unsigned short &src)
bool CoCoA::convert (long &dest, const unsigned char &src)


Generated on Wed May 23 13:45:28 2007 for CoCoALib by  doxygen 1.4.6