Formatting output

Is there a way to make std::cout not use scientific notation? I have a Big<> number (about 1000 digits) and I couldn't make it to out fully (and std::fixed doesn't help). Thanks!

Added by: tomek, 2019 V 13

You can use Conv struct in this way:

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

int main()
{
ttmath::Big<1, 64> foo;

foo = 12345;
foo.Pow(678);

ttmath::Conv conv;

// scientific form from exponent greater than 3000
conv.scient_from = 3000;

std::cout << foo.ToString(conv) << std::endl;
}