dconv 1.0
C++14 library for printing and parsing floating point numbers
Loading...
Searching...
No Matches
dtoa.hpp File Reference
#include <dconv/dtoapow.hpp>
#include <cstring>
#include <cmath>
Include dependency graph for dtoa.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  dconv
 
namespace  dconv::details
 

Functions

char * dconv::details::writeExponent (char *buffer, int k)
 
char * dconv::details::prettify (char *buffer, int length, int k)
 
void dconv::details::grisuRound (char *buffer, int length, uint64_t delta, uint64_t rest, uint64_t ten_kappa, uint64_t wp_w)
 
size_t dconv::details::digitsCount (uint32_t n)
 
void dconv::details::digitsGen (DiyFp W, DiyFp Mp, uint64_t delta, char *buffer, int &length, int &k)
 
int dconv::details::kComputation (int exp, int alpha)
 
void dconv::details::grisu2 (char *buffer, int &length, int &k, double value)
 
char * dconv::dtoa (char *buffer, double value)
 double to string conversion.