Safeheron-SGX-Native-Development-Framework v1.2.0
Loading...
Searching...
No Matches
ssgx_decimal_t.h File Reference
#include <string>

Go to the source code of this file.

Classes

class  ssgx::decimal_t::Precision
 Precision control class The Precision class is used to configure the number of digits and rounding type of the BigDecimal calculation result. More...
 
class  ssgx::decimal_t::BigDecimal
 High precision big number class This class implements the basic calculation and comparison operations of high-precision big number library based on mpdecimal C language APIs. More...
 

Namespaces

namespace  ssgx
 
namespace  ssgx::decimal_t
 This module is designed high precision numbers operations in enclave, a Trusted Execution Environment (TEE).
 

Enumerations

enum class  ssgx::decimal_t::RoundType {
  ssgx::decimal_t::RoundUp = 0 , ssgx::decimal_t::RoundDown = 1 , ssgx::decimal_t::RoundCeiling = 2 , ssgx::decimal_t::RoundFloor = 3 ,
  ssgx::decimal_t::RoundHalfUp = 4 , ssgx::decimal_t::RoundHalfDown = 5 , ssgx::decimal_t::RoundHalfEven = 6 , ssgx::decimal_t::Round05Up = 7 ,
  ssgx::decimal_t::RoundTrunc = 8
}
 Rounding type for precision control. More...