#include <cmath>
#include <iostream>
#include <limits>
#include <iomanip>
#include "legendregauss.hpp"