source/test/basicmath_test.cc File Reference

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[])

Detailed Description

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.


Function Documentation

static ergo_real find_approx_largest_number (  )  [static]

Referenced by main().

static ergo_real find_approx_smallest_number (  )  [static]

Referenced by main().

int main ( int  argc,
char *  argv[] 
)
static void verify_within_bounds ( ergo_real  x,
ergo_real  xmin,
ergo_real  xmax 
) [static]

Referenced by main().


Generated on 10 Jul 2018 for ergo by  doxygen 1.6.1