MySQL 8.0.40
Source Code Documentation
decimal_t Struct Reference

intg is the number of decimal digits (NOT number of decimal_digit_t's !) before the point frac is the number of decimal digits after the point len is the length of buf (length of allocated space) in decimal_digit_t's, not in bytes sign false means positive, true means negative buf is an array of decimal_digit_t's More...

#include <decimal.h>

Inheritance diagram for decimal_t:
[legend]

Public Attributes

int intg
 
int frac
 
int len
 
bool sign
 
decimal_digit_tbuf
 

Detailed Description

intg is the number of decimal digits (NOT number of decimal_digit_t's !) before the point frac is the number of decimal digits after the point len is the length of buf (length of allocated space) in decimal_digit_t's, not in bytes sign false means positive, true means negative buf is an array of decimal_digit_t's

Member Data Documentation

◆ buf

decimal_digit_t* decimal_t::buf

◆ frac

int decimal_t::frac

◆ intg

int decimal_t::intg

◆ len

int decimal_t::len

◆ sign

bool decimal_t::sign

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