HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by warmwaffles | Hacker News Reader
Full thread
warmwaffles
·
This is also applicable outside of C as well.
View on HN
mcraiha
·
"The x_position and y_position can unfortunately not get a smaller type nor can a float be unsigned." If you have latest C++, you can use float16_t or bfloat16_t to get smaller type
https://en.cppreference.com/w/cpp/types/floating-point.html
david2ndaccount
·
C23 has _Float16
Reply on news.ycombinator.com