Y
Hacker News
new
|
ask
|
show
|
jobs
by
mcraiha
316 days ago
"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
1 comments
david2ndaccount
316 days ago
C23 has _Float16
link