hello,

it is not possible to do something like this:

#include <ttmath/ttmath.h>
#include <iostream>

int main()
{
ttmath::Big<1,2> t;
t.SetPi();
// std::cout << t << std::endl;
std::cout << ttmath::Sin(3*t) << std::endl;
}

g++ complains:
$ g++-4.4 -c -Wall -pedantic -s -O2 -I.. -DTTMATH_DONT_USE_WCHAR big4.cpp
big4.cpp: In function ‘int main()’:
big4.cpp:8: error: no match for ‘operator*’ in ‘3 * t’

Added by: tomek, 2010 XII 07

This is c++ limitation, we cannot overload operators for standard types like int.
You can change your example to:
std::cout << ttmath::Sin(t*3) << std::endl;

or to something like:
typedef ttmath::Big<1,2> T;
T t;
t.SetPi();
std::cout << ttmath::Sin(T(3)*t) << std::endl;