Classes | Macros | Functions
dtoa_milo.h File Reference
#include <assert.h>
#include <math.h>
#include <stdint.h>
Include dependency graph for dtoa_milo.h:

Go to the source code of this file.

Classes

struct  DiyFp
 

Macros

#define UINT64_C2(h, l)   ((static_cast<uint64_t>(h) << 32) | static_cast<uint64_t>(l))
 

Functions

unsigned CountDecimalDigit32 (uint32_t n)
 
void DigitGen (const DiyFp &W, const DiyFp &Mp, uint64_t delta, char *buffer, int *len, int *K)
 
int dtoa_milo (double value, char *buffer)
 
DiyFp GetCachedPower (int e, int *K)
 
const char * GetDigitsLut ()
 
void Grisu2 (double value, char *buffer, int *length, int *K)
 
void GrisuRound (char *buffer, int len, uint64_t delta, uint64_t rest, uint64_t ten_kappa, uint64_t wp_w)
 
void Prettify (char *buffer, int length, int k)
 
void WriteExponent (int K, char *buffer)
 

Macro Definition Documentation

◆ UINT64_C2

#define UINT64_C2 (   h,
 
)    ((static_cast<uint64_t>(h) << 32) | static_cast<uint64_t>(l))

Definition at line 12 of file dtoa_milo.h.

Function Documentation

◆ CountDecimalDigit32()

unsigned CountDecimalDigit32 ( uint32_t  n)
inline

Definition at line 213 of file dtoa_milo.h.

◆ DigitGen()

void DigitGen ( const DiyFp W,
const DiyFp Mp,
uint64_t  delta,
char *  buffer,
int *  len,
int *  K 
)
inline

Definition at line 227 of file dtoa_milo.h.

◆ dtoa_milo()

int dtoa_milo ( double  value,
char *  buffer 
)
inline

Definition at line 381 of file dtoa_milo.h.

◆ GetCachedPower()

DiyFp GetCachedPower ( int  e,
int *  K 
)
inline

Definition at line 131 of file dtoa_milo.h.

◆ GetDigitsLut()

const char* GetDigitsLut ( )
inline

Definition at line 300 of file dtoa_milo.h.

◆ Grisu2()

void Grisu2 ( double  value,
char *  buffer,
int *  length,
int *  K 
)
inline

Definition at line 286 of file dtoa_milo.h.

◆ GrisuRound()

void GrisuRound ( char *  buffer,
int  len,
uint64_t  delta,
uint64_t  rest,
uint64_t  ten_kappa,
uint64_t  wp_w 
)
inline

closer

Definition at line 204 of file dtoa_milo.h.

◆ Prettify()

void Prettify ( char *  buffer,
int  length,
int  k 
)
inline

Definition at line 340 of file dtoa_milo.h.

◆ WriteExponent()

void WriteExponent ( int  K,
char *  buffer 
)
inline

Definition at line 316 of file dtoa_milo.h.



inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:17:59