cphot 0.1
A C++ tool for computing photometry from spectra.
dtoa.h File Reference
#include "itoa.h"
#include "diyfp.h"
#include "ieee754.h"

Go to the source code of this file.

Namespaces

 internal
 

Functions

void internal::GrisuRound (char *buffer, int len, uint64_t delta, uint64_t rest, uint64_t ten_kappa, uint64_t wp_w)
 
unsigned internal::CountDecimalDigit32 (uint32_t n)
 
void internal::DigitGen (const DiyFp &W, const DiyFp &Mp, uint64_t delta, char *buffer, int *len, int *K)
 
void internal::Grisu2 (double value, char *buffer, int *length, int *K)
 
char * internal::WriteExponent (int K, char *buffer)
 
char * internal::Prettify (char *buffer, int length, int k, int maxDecimalPlaces)
 
char * internal::dtoa (double value, char *buffer, int maxDecimalPlaces=324)