A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::LteFfConverter Class Reference

LteFfConverter class. More...

#include "lte-common.h"

Static Public Member Functions

static uint16_t double2fpS11dot3 (double val)
 Convert from double to fixed point S11.3 notation.
 
static double fpS11dot3toDouble (uint16_t val)
 Convert from fixed point S11.3 notation to double.
 
static double getMinFpS11dot3Value ()
 Get minimum fixed point S11.3 value.
 

Detailed Description

LteFfConverter class.

Definition at line 114 of file lte-common.h.

Member Function Documentation

◆ double2fpS11dot3()

uint16_t ns3::LteFfConverter::double2fpS11dot3 ( double val)
static

Convert from double to fixed point S11.3 notation.

Parameters
valdouble value
Returns
fixed point S11.3 value

Definition at line 123 of file lte-common.cc.

Referenced by ns3::LteEnbPhy::CreatePuschCqiReport(), and ns3::LteEnbPhy::CreateSrsCqiReport().

+ Here is the caller graph for this function:

◆ fpS11dot3toDouble()

double ns3::LteFfConverter::fpS11dot3toDouble ( uint16_t val)
static

◆ getMinFpS11dot3Value()

double ns3::LteFfConverter::getMinFpS11dot3Value ( )
static

Get minimum fixed point S11.3 value.

Returns
double value for the minimum fixed point S11.3 value

Definition at line 148 of file lte-common.cc.


The documentation for this class was generated from the following files: