|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
10 #ifndef YARP_OS_NETFLOAT64_H
11 #define YARP_OS_NETFLOAT64_H
24 #if !YARP_FLOAT64_IS_IEC559
43 #ifdef YARP_LITTLE_ENDIAN
47 #else // YARP_LITTLE_ENDIAN
59 double swap(
double x)
const;
60 RawNetFloat64 get()
const;
61 void set(RawNetFloat64 v);
66 operator RawNetFloat64()
const;
67 RawNetFloat64
operator+(RawNetFloat64 v)
const;
68 RawNetFloat64
operator-(RawNetFloat64 v)
const;
69 RawNetFloat64
operator*(RawNetFloat64 v)
const;
70 RawNetFloat64
operator/(RawNetFloat64 v)
const;
77 #endif // YARP_LITTLE_ENDIAN
82 #endif // YARP_OS_NETFLOAT64_H
Vector & operator*=(Vector &a, double k)
Vector-scalar product operator (defined in Math.h).
Vector & operator+=(Vector &a, const double &s)
Addition operator between a scalar and a vector (defined in Math.h).
#define YARP_COMPILER_ERROR(x)
Generate an error at build time on supported compilers.
Vector operator/(const Vector &a, const Vector &b)
Vector-vector element-wise division operator (defined in Math.h).
Vector operator+(const Vector &a, const double &s)
Mathematical operations.
Vector & operator/=(Vector &a, const Vector &b)
Vector-vector element-wise division operator (defined in Math.h).
Vector operator*(double k, const Vector &b)
Scalar-vector product operator (defined in Math.h).
Vector & operator-=(Vector &a, const double &s)
Subtraction operator between a vector and a scalar (defined in Math.h).
The main, catch-all namespace for YARP.
Vector operator-(const Vector &a, const double &s)
Subtraction operator between a vector and a scalar (defined in Math.h).
yarp::conf::float64_t NetFloat64
Definition of the NetFloat64 type.