|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
10 #ifndef YARP_OS_NETFLOAT32_H
11 #define YARP_OS_NETFLOAT32_H
24 #if !YARP_FLOAT32_IS_IEC559
43 #ifdef YARP_LITTLE_ENDIAN
47 #else // YARP_LITTLE_ENDIAN
59 double swap(
double x)
const;
60 RawNetFloat32 get()
const;
61 void set(RawNetFloat32 v);
66 operator RawNetFloat32()
const;
67 RawNetFloat32
operator+(RawNetFloat32 v)
const;
68 RawNetFloat32
operator-(RawNetFloat32 v)
const;
69 RawNetFloat32
operator*(RawNetFloat32 v)
const;
70 RawNetFloat32
operator/(RawNetFloat32 v)
const;
77 #endif // YARP_LITTLE_ENDIAN
82 #endif // YARP_OS_NETFLOAT32_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).
yarp::conf::float32_t NetFloat32
Definition of the NetFloat32 type.
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).