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

8/10/12 bit FixedPoint numbers in the vein of Ufixed #25

Closed
vchuravy opened this issue Sep 16, 2015 · 0 comments
Closed

8/10/12 bit FixedPoint numbers in the vein of Ufixed #25

vchuravy opened this issue Sep 16, 2015 · 0 comments

Comments

@vchuravy
Copy link
Collaborator

In JuliaGraphics/ColorTypes.jl#11 the need for FixedPoint numbers with a different bit size from 32bit arises.

Ufixed is very flexible and nice for representing ColorValues, but it seems to me that its design is a bit different. Ufixed is defined from [0,1] and Fixed32 has a variable range depending on the number of fraction bits.

For my needs I wouldn't need a variable fraction bit number as all values are within [-1, 1]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant