Skip to content

Add fractional class #9

@shoooe

Description

@shoooe

Add fractional class with user defined precision:

inom::fractional<0.34, 9.44, 3> f = inom::make_fract<5.44>();
// or
inom::f<0.34, 9.44, 3> f = 5.44_fract;

The above represents a fractional value with 3 digits of precision between 0.340 and 9.440 of value 5.440.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions