#include <special_val.h>
#include <interval_boost.h>
Go to the source code of this file.
Namespaces | |
namespace | coco |
the main namespace of the COCONUT API | |
Defines | |
#define | is_integer(x) (rint((x)) == (x) && rint((x)) < MAXINT && rint((x)) > -MAXINT) |
#define | get_integer(x) ((int) rint((x))) |
Definition in file interval.h.
#define get_integer | ( | x | ) | ((int) rint((x))) |
This macro returns the integer part of a double (as integer).
Definition at line 56 of file interval.h.
#define is_integer | ( | x | ) | (rint((x)) == (x) && rint((x)) < MAXINT && rint((x)) > -MAXINT) |
This macro checks whether a double number represents an integer.
Definition at line 52 of file interval.h.