Scippy

SoPlex

Sequential object-oriented simPlex

float_writer< Char > Class Template Reference

#include <format.h>

Public Member Functions

 float_writer (const char *digits, int num_digits, int exp, float_specs specs, Char decimal_point)
 
size_t size () const
 
size_t width () const
 
template<typename It >
void operator() (It &&it)
 

Private Member Functions

template<typename It >
It prettify (It it) const
 

Private Attributes

const char * digits_
 
int num_digits_
 
int exp_
 
size_t size_
 
float_specs specs_
 
Char decimal_point_
 

Detailed Description

template<typename Char>
class internal::float_writer< Char >

Definition at line 1079 of file format.h.

Constructor & Destructor Documentation

◆ float_writer()

float_writer ( const char *  digits,
int  num_digits,
int  exp,
float_specs  specs,
Char  decimal_point 
)

Member Function Documentation

◆ operator()()

void operator() ( It &&  it)

◆ prettify()

It prettify ( It  it) const
private

◆ size()

size_t size ( ) const

Definition at line 1176 of file format.h.

◆ width()

size_t width ( ) const

Definition at line 1177 of file format.h.

Member Data Documentation

◆ decimal_point_

Char decimal_point_
private

Definition at line 1087 of file format.h.

◆ digits_

const char* digits_
private

Definition at line 1082 of file format.h.

◆ exp_

int exp_
private

Definition at line 1084 of file format.h.

◆ num_digits_

int num_digits_
private

Definition at line 1083 of file format.h.

◆ size_

size_t size_
private

Definition at line 1085 of file format.h.

◆ specs_

float_specs specs_
private

Definition at line 1086 of file format.h.