Skip to main content

All Questions

Tagged with
5 votes
1 answer
1k views

What is the difference between float, _Float32, _Float32x, and _Float32_t?

C23 introduced a number of floating point types, including but not limited to: _Float32 _Float32x _Float32_t I am unsure of the differences, such as: Are they keywords, or are they type aliases, or ...
Jan Schultke's user avatar
  • 36.1k
2 votes
1 answer
455 views

Is it considered normal that f = NAN may cause raising floating-point exceptions?

C2x (as well as previous): The macro NAN is defined if and only if the implementation supports quiet NaNs for the float type. It expands to a constant expression of type float representing a quiet ...
pmor's user avatar
  • 5,941