Flex
Flex exchange system
Classes | Typedefs | Functions
RationalValue.hpp File Reference

Flex rational price (numerator / denominator) More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  RationalValue
 Rational value - numerator/denominator. More...
 

Typedefs

using price_t = RationalValue
 

Functions

__always_inline uint128 mul (uint128 amount, RationalValue price)
 
__always_inline uint128 operator* (uint128 l, RationalValue r)
 
__always_inline uint128 operator* (RationalValue l, uint128 r)
 

Detailed Description

Flex rational price (numerator / denominator)

Author
Andrew Zhogin