MobilityDB 1.3
Loading...
Searching...
No Matches
Functions
tnumber_mathfuncs_meos.c File Reference

Mathematical operators (+, -, *, /) and functions (round, degrees, ...) for temporal numbers. More...

#include "temporal/tnumber_mathfuncs.h"
#include <meos.h>
#include <meos_internal.h>
#include "temporal/temporal.h"
#include "temporal/type_util.h"

Functions

Temporaladd_float_tfloat (double d, const Temporal *temp)
 Return the temporal addition of a float and a temporal float. More...
 
Temporaladd_int_tint (int i, const Temporal *temp)
 Return the temporal addition of an integer and a temporal integer. More...
 
Temporaladd_tfloat_float (const Temporal *temp, double d)
 Return the temporal addition of a temporal float and a float. More...
 
Temporaladd_tint_int (const Temporal *temp, int i)
 Return the temporal addition of a temporal integer and an integer. More...
 
Temporaladd_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2)
 Return the temporal addition of the temporal numbers. More...
 
Temporaldiv_float_tfloat (double d, const Temporal *temp)
 Return the temporal division of a float and a temporal float. More...
 
Temporaldiv_int_tint (int i, const Temporal *temp)
 Return the temporal division of an integer and a temporal integer. More...
 
Temporaldiv_tfloat_float (const Temporal *temp, double d)
 Return the temporal division of a temporal float and a float. More...
 
Temporaldiv_tint_int (const Temporal *temp, int i)
 Return the temporal division of a temporal integer and an integer. More...
 
Temporaldiv_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2)
 Return the temporal division of the temporal numbers. More...
 
Temporalmult_float_tfloat (double d, const Temporal *temp)
 Return the temporal multiplication of a float and a temporal float. More...
 
Temporalmult_int_tint (int i, const Temporal *temp)
 Return the temporal multiplication of an integer and a temporal integer. More...
 
Temporalmult_tfloat_float (const Temporal *temp, double d)
 Return the temporal multiplication of a temporal float and a float. More...
 
Temporalmult_tint_int (const Temporal *temp, int i)
 Return the temporal multiplication of a temporal integer and an integer. More...
 
Temporalmult_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2)
 Return the temporal multiplication of the temporal numbers. More...
 
Temporalsub_float_tfloat (double d, const Temporal *temp)
 Return the temporal subtraction of a float and a temporal float. More...
 
Temporalsub_int_tint (int i, const Temporal *temp)
 Return the temporal subtraction of an integer and a temporal integer. More...
 
Temporalsub_tfloat_float (const Temporal *temp, double d)
 Return the temporal subtraction of a temporal float and a float. More...
 
Temporalsub_tint_int (const Temporal *temp, int i)
 Return the temporal subtraction of a temporal integer and an integer. More...
 
Temporalsub_tnumber_tnumber (const Temporal *temp1, const Temporal *temp2)
 Return the temporal subtraction of the temporal numbers. More...
 

Detailed Description

Mathematical operators (+, -, *, /) and functions (round, degrees, ...) for temporal numbers.