![]() |
netmsgs
1.2.2
RoadNarrows Robotics Network Messaging Package
|
Pack a 64-bit float into the message buffer. More...
Pack a 64-bit float into the message buffer.
#include "rnr/netmsgs.h"
extern int nmPackF64(double val, byte_t buf[], size_t bufSize, NMEndian_T eEndian); Description:
The IEEE 754 64-bit format is used with both the big and little endian byte orders. If the machine architecture only supports 32-bit doubles, then a conversion to 64-bit representation is performed first.
| [in] | val | Value to pack. |
| [out] | buf | Output message buffer. |
| bufSize | Size of output buffer. | |
| eEndian | Packing order. See NMEndian_T. |