ergo
|
Tests some basic math functions such as template_blas_sqrt() template_blas_log() etc to see that they are working properly and that they deliver the expected accuracy. More...
#include <stdio.h>
#include <stdlib.h>
#include <limits>
#include "realtype.h"
#include "template_blas_common.h"
#include "matInclude.h"
Functions | |
static ergo_real | find_approx_smallest_number () |
static ergo_real | find_approx_largest_number () |
static void | verify_within_bounds (ergo_real x, ergo_real xmin, ergo_real xmax) |
int | main (int argc, char *argv[]) |
Tests some basic math functions such as template_blas_sqrt() template_blas_log() etc to see that they are working properly and that they deliver the expected accuracy.
int main | ( | int | argc, |
char * | argv[] | ||
) |
References find_approx_largest_number(), find_approx_smallest_number(), template_blas_compute_pi_BBP(), template_blas_cos(), template_blas_erf(), template_blas_erfc(), template_blas_exp(), template_blas_fabs(), template_blas_log(), template_blas_log10(), template_blas_pow(), template_blas_sin(), template_blas_sqrt(), and verify_within_bounds().