git » metnum-tp1.git » master » tree

[master] / util.cpp

#include <stdio.h>
#include "aritmetica.hpp"
#include "util.hpp"

void print_result(int niter, numero n)
{
	printf("%d %d %.60f 0x%" print_64t "x\n",
		niter, n.get_prec(), n.to_double(), to_u64(n));

}