This is Unofficial EPICS BASE Doxygen Site
epics::pvData::detail::asInt< double > Struct Template Reference

#include "byteBuffer.h"

Classes

union  pun
 

Static Public Member Functions

static EPICS_ALWAYS_INLINE double from (uint64 v)
 
static EPICS_ALWAYS_INLINE uint64 to (double v)
 

Detailed Description

template<>
struct epics::pvData::detail::asInt< double >

Definition at line 85 of file byteBuffer.h.

Member Function Documentation

static EPICS_ALWAYS_INLINE double epics::pvData::detail::asInt< double >::from ( uint64  v)
inlinestatic

Definition at line 87 of file byteBuffer.h.

87  {
88  pun P;
89  P.i = v;
90  return P.f;
91  }
static EPICS_ALWAYS_INLINE uint64 epics::pvData::detail::asInt< double >::to ( double  v)
inlinestatic

Definition at line 92 of file byteBuffer.h.

92  {
93  pun P;
94  P.f = v;
95  return P.i;
96  }

The documentation for this struct was generated from the following file: