SoPlex Documentation
Loading...
Searching...
No Matches
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()

template<typename Char >
float_writer ( const char * digits,
int num_digits,
int exp,
float_specs specs,
Char decimal_point )

Member Function Documentation

◆ operator()()

template<typename Char >
template<typename It >
void operator() ( It && it)

Definition at line 1179 of file format.h.

References float_specs::sign.

◆ prettify()

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

◆ size()

template<typename Char >
size_t size ( ) const

Definition at line 1176 of file format.h.

◆ width()

template<typename Char >
size_t width ( ) const

Definition at line 1177 of file format.h.

Member Data Documentation

◆ decimal_point_

template<typename Char >
Char decimal_point_
private

Definition at line 1087 of file format.h.

◆ digits_

template<typename Char >
const char* digits_
private

Definition at line 1082 of file format.h.

◆ exp_

template<typename Char >
int exp_
private

Definition at line 1084 of file format.h.

◆ num_digits_

template<typename Char >
int num_digits_
private

Definition at line 1083 of file format.h.

◆ size_

template<typename Char >
size_t size_
private

Definition at line 1085 of file format.h.

◆ specs_

template<typename Char >
float_specs specs_
private

Definition at line 1086 of file format.h.