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

科学计数法归一化后的尾数数字、缩放因子与十进制指数 / Rounded mantissa digits, scale factor, and decimal exponent after scientific normalization. More...

#include <writer_float_math.hpp>

Data Fields

Float digits
 rounded mantissa scaled to integer digits / 舍入后按整数位缩放的尾数
 
Float scale = 1
 
int exponent = 0
 decimal exponent / 十进制指数
 

Detailed Description

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

科学计数法归一化后的尾数数字、缩放因子与十进制指数 / Rounded mantissa digits, scale factor, and decimal exponent after scientific normalization.

Template Parameters
FloatFloat type. / 浮点类型。

Definition at line 26 of file writer_float_math.hpp.

Field Documentation

◆ digits

template<typename Float >
Float Writer::ScientificDigits< Float >::digits
Initial value:
=
0

rounded mantissa scaled to integer digits / 舍入后按整数位缩放的尾数

Definition at line 28 of file writer_float_math.hpp.

◆ exponent

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

decimal exponent / 十进制指数

Definition at line 32 of file writer_float_math.hpp.

◆ scale

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

10 ^ precision applied to the mantissa / 施加到尾数上的 10 的 precision 次幂

Definition at line 30 of file writer_float_math.hpp.


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