#include "config.h"
#include <iostream>
#include <string>
#include <cassert>
#include <limits>
#include <limits.h>
#include <float.h>
#include "asserts.h"
#include "types.h"
#include "error.h"
#include "rmath.h"
Include dependency graph for test-rmath.cc:
Go to the source code of this file.
Defines | |
#define | TEST(expected, code) |
Functions | |
void | test1 (void) |
void | test2 (void) |
void | test3 (void) |
void | test4 (void) |
void | test5 (void) |
void | test6 (void) |
void | test7 (void) |
void | test8 (void) |
void | test9 (void) |
int | main (int argc, char *argv[]) |
|
Value: thrown = false; \ try { \ code; \ } \ catch(error e) { \ thrown = true; \ if (thrown != expected) { \ std::cerr << e; \ } \ } \ catch(...) { \ assert(0); \ } Definition at line 18 of file test-rmath.cc. |
|
Definition at line 402 of file test-rmath.cc. References err_unknown, test1(), test2(), test3(), test4(), test5(), test6(), test7(), test8(), and test9(). Here is the call graph for this function: |
|
Definition at line 33 of file test-rmath.cc. References TEST. |
|
Definition at line 79 of file test-rmath.cc. References TEST. |
|
Definition at line 98 of file test-rmath.cc. References max_limit(), and TEST. Here is the call graph for this function: |
|
Definition at line 123 of file test-rmath.cc. References max_limit< double >(), max_limit< float >(), min_limit< double >(), and min_limit< float >(). Here is the call graph for this function: |
|
Definition at line 200 of file test-rmath.cc. References TEST, and safe_num< T >::value(). Here is the call graph for this function: |
|
Definition at line 246 of file test-rmath.cc. References TEST, and safe_num< T >::value(). Here is the call graph for this function: |
|
Definition at line 271 of file test-rmath.cc. References absolute(), and TEST. Here is the call graph for this function: |
|
Definition at line 279 of file test-rmath.cc. References safe_num< T >::value(). Here is the call graph for this function: |
|
Definition at line 360 of file test-rmath.cc. Referenced by main(). |