5G-LENA nr-v4.0
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
ns3::nr::FfConverter Class Reference

FfConverter class. More...

#include "nr-common.h"

Static Public Member Functions

static uint16_t double2fpS11dot3 (double val)
 
static double fpS11dot3toDouble (uint16_t val)
 
static double getMinFpS11dot3Value ()
 

Detailed Description

FfConverter class.

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

Member Function Documentation

◆ double2fpS11dot3()

uint16_t ns3::nr::FfConverter::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 nr-common.cc.

◆ fpS11dot3toDouble()

double ns3::nr::FfConverter::fpS11dot3toDouble ( uint16_t  val)
static

Convert from fixed point S11.3 notation to double

Parameters
valfixed point S11.3 value
Returns
double value

Definition at line 140 of file nr-common.cc.

◆ getMinFpS11dot3Value()

double ns3::nr::FfConverter::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 nr-common.cc.


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