libxr  1.0
Want to be the best embedded framework
Loading...
Searching...
No Matches
Writer::DecimalScale< Float > Struct Template Reference

浮点文本输出归一化过程中使用的十进制缩放对 / Decimal-scale pair used while normalizing one float for text output. More...

#include <writer_float_math.hpp>

Data Fields

int exponent = 0
 decimal exponent / 十进制指数
 
Float scale = 1
 10 ^ exponent / 10 的 exponent 次幂
 

Detailed Description

template<typename Float>
struct Writer::DecimalScale< Float >

浮点文本输出归一化过程中使用的十进制缩放对 / Decimal-scale pair used while normalizing one float for text output.

Template Parameters
FloatFloat type. / 浮点类型。

Definition at line 49 of file writer_float_math.hpp.

Field Documentation

◆ exponent

template<typename Float >
int Writer::DecimalScale< Float >::exponent = 0

decimal exponent / 十进制指数

Definition at line 51 of file writer_float_math.hpp.

◆ scale

template<typename Float >
Float Writer::DecimalScale< Float >::scale = 1

10 ^ exponent / 10 的 exponent 次幂

Definition at line 52 of file writer_float_math.hpp.


The documentation for this struct was generated from the following file: