EirinFixed
  • Changelog

Getting Started

  • Supported Platforms
  • Integrate into Your Project

Basic Usage

  • Fixed Point Number
  • Construct a Fixed Point Number
  • Useful Functions
  • Arithmetic Operators
  • Cast Operators
  • Comparison Operators
  • Fixed Point Number IO

Mathematics

  • Mathematic Functions
  • Predefined Constants
  • Numbers Header File

All Files

  • Classes and Functions
EirinFixed
  • EirinFixed: C++20 Fixed Point Arithmetic Library
  • View page source

EirinFixed: C++20 Fixed Point Arithmetic Library

EirinFixed is a flexible and high-performance C++ fixed point number library, which provides fixed point template class, high precision mathematical operations and basic input and output functions.

License

This library is licensed under the MIT License.

Contents:

  • Changelog

Getting Started

  • Supported Platforms
  • Integrate into Your Project
    • A. Copy into Your Project
    • B. Build and Install with XMake

Basic Usage

  • Fixed Point Number
    • Constraints
    • Pre-defined Types
  • Construct a Fixed Point Number
    • Construct with Integral or Floating Types
    • Literal
    • Construct from Another Fixed Point Number
    • Convert from Integer or Floating Point Types
    • Create From String
    • Create From Internal Representation
  • Useful Functions
    • Get the Integral or Fractional Part
    • Get the Internal Representation
    • Sign Bit
  • Arithmetic Operators
    • Quadratic Operators
    • Self Increment/Decrement Operators
  • Cast Operators
  • Comparison Operators
  • Fixed Point Number IO
    • Standard Stream I/O
    • Other I/O Libraries
    • Builtin Input/Output

Mathematics

  • Mathematic Functions
  • Predefined Constants
  • Numbers Header File

All Files

  • Classes and Functions
Next

© Copyright 2025, KKoishi_.

Built with Sphinx using a theme provided by Read the Docs.