Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fractional class #9

Open
shoooe opened this issue Jan 4, 2015 · 0 comments
Open

Add fractional class #9

shoooe opened this issue Jan 4, 2015 · 0 comments
Labels

Comments

@shoooe
Copy link
Owner

shoooe commented Jan 4, 2015

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.

@shoooe shoooe self-assigned this Jan 4, 2015
@shoooe shoooe removed their assignment Mar 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant