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

Consider other floating-point types #2

Open
jonysy opened this issue Nov 26, 2016 · 0 comments
Open

Consider other floating-point types #2

jonysy opened this issue Nov 26, 2016 · 0 comments

Comments

@jonysy
Copy link
Owner

jonysy commented Nov 26, 2016

Adding mini-floats (f24, f16, f8, et cetera) as native types has been discussed before:

When it comes to bigger data-structures, which require a higher dynamic range than integers can provide (raw image photography, videos, voxel data, etc.) f32 has some disadvantages. The obvious one is size: Using f32 as data type, a raw image of a 20 Mpx camera would produce 80 MB of data. The other reason is speed when it comes to real-time applications (like the computation of optical flow in computer vision) [1]

Useful links

@jonysy jonysy added the design label Nov 26, 2016
@jonysy jonysy changed the title Consider other float types Consider other floating-point types Nov 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant