dconv 2.0
C++14 library for printing and parsing floating point numbers
Loading...
Searching...
No Matches
format.hpp File Reference
#include <dconv/digits.hpp>
#include <cstring>
#include <cassert>
#include <cstdint>
Include dependency graph for format.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) noexcept
 write a decimal exponent.
 
char * dconv::details::prettify (char *buffer, int length, int k) noexcept
 lay out decimal digits as a fixed or scientific number.
 
char * dconv::details::format (char *buffer, uint64_t digits, int length, int k) noexcept
 write a decimal significand with the same layout as prettify.