MobilityDB 1.1
Functions
tnumber_mathfuncs_meos.c File Reference
#include "general/tnumber_mathfuncs.h"
#include <assert.h>
#include <math.h>
#include <meos.h>
#include "general/type_util.h"
Include dependency graph for tnumber_mathfuncs_meos.c:

Functions

Temporal * add_float_tfloat (double d, const Temporal *tnumber)
 Return the temporal addition of a float and a temporal float. More...
 
Temporal * add_int_tint (int i, const Temporal *tnumber)
 Mathematical operators (+, -, *, /) and functions (round, degrees, ...) for temporal numbers. More...
 
Temporal * add_tfloat_float (const Temporal *tnumber, double d)
 Return the temporal addition of a temporal float and a float. More...
 
Temporal * add_tint_int (const Temporal *tnumber, int i)
 Return the temporal addition of a temporal integer and an integer. More...
 
Temporal * add_tnumber_tnumber (const Temporal *tnumber1, const Temporal *tnumber2)
 Return the temporal addition of the temporal numbers. More...
 
Temporal * div_float_tfloat (double d, const Temporal *tnumber)
 Return the temporal division of a float and a temporal float. More...
 
Temporal * div_int_tint (int i, const Temporal *tnumber)
 Return the temporal division of an integer and a temporal integer. More...
 
Temporal * div_tfloat_float (const Temporal *tnumber, double d)
 Return the temporal division of a temporal float and a float. More...
 
Temporal * div_tint_int (const Temporal *tnumber, int i)
 Return the temporal division of a temporal integer and an integer. More...
 
Temporal * div_tnumber_tnumber (const Temporal *tnumber1, const Temporal *tnumber2)
 Return the temporal division of the temporal numbers. More...
 
Temporal * mult_float_tfloat (double d, const Temporal *tnumber)
 Return the temporal multiplication of a float and a temporal float. More...
 
Temporal * mult_int_tint (int i, const Temporal *tnumber)
 Return the temporal multiplication of an integer and a temporal integer. More...
 
Temporal * mult_tfloat_float (const Temporal *tnumber, double d)
 Return the temporal multiplication of a temporal float and a float. More...
 
Temporal * mult_tint_int (const Temporal *tnumber, int i)
 Return the temporal multiplication of a temporal integer and an integer. More...
 
Temporal * mult_tnumber_tnumber (const Temporal *tnumber1, const Temporal *tnumber2)
 Return the temporal multiplication of the temporal numbers. More...
 
Temporal * sub_float_tfloat (double d, const Temporal *tnumber)
 Return the temporal subtraction of a float and a temporal float. More...
 
Temporal * sub_int_tint (int i, const Temporal *tnumber)
 Return the temporal subtraction of an integer and a temporal integer. More...
 
Temporal * sub_tfloat_float (const Temporal *tnumber, double d)
 Return the temporal subtraction of a temporal float and a float. More...
 
Temporal * sub_tint_int (const Temporal *tnumber, int i)
 Return the temporal subtraction of a temporal integer and an integer. More...
 
Temporal * sub_tnumber_tnumber (const Temporal *tnumber1, const Temporal *tnumber2)
 Return the temporal subtraction of the temporal numbers. More...