Newbetuts
.
New posts in type-punning
C# 'unsafe' function — *(float*)(&result) vs. (float)(result)
c#
unsafe
type-punning
float bits and strict aliasing
c++
floating-point
bits
strict-aliasing
type-punning
union for uint32_t and uint8_t[4] undefined behavior? [duplicate]
c++
c
unions
strict-aliasing
type-punning
Portable data reinterpretation
c
type-punning
Implementing std::bit_cast equivalent in C
c
macros
typeof
type-punning
c23
Aliasing T* with char* is allowed. Is it also allowed the other way around?
c++
language-lawyer
strict-aliasing
type-punning
Unions and type-punning
c++
c
unions
type-punning
Is it possible to write Quake's fast InvSqrt() function in Rust?
rust
floating-point
sqrt
type-punning
Is reinterpret_cast type punning actually undefined behavior?
c++
casting
language-lawyer
reinterpret-cast
type-punning
What's a proper way of type-punning a float to an int and vice-versa?
c++
undefined-behavior
gcc-warning
strict-aliasing
type-punning
Purpose of Unions in C and C++
c++
c
unions
type-punning
Is type-punning through a union unspecified in C99, and has it become specified in C11?
c
c99
unions
c11
type-punning
What is the strict aliasing rule?
c++
c
undefined-behavior
strict-aliasing
type-punning
Prev