C++ Logo

std-proposals

Advanced search

Re: [std-proposals] TBAA and extended floating-point types

From: Sebastian Wittmeier <wittmeier_at_[hidden]>
Date: Fri, 15 Aug 2025 21:43:51 +0200
  -----Ursprüngliche Nachricht----- Von:Lénárd Szolnoki via Std-Proposals <std-proposals_at_[hidden]> Gesendet:Fr 15.08.2025 20:58 Betreff:Re: [std-proposals] TBAA and extended floating-point types An:std-proposals_at_[hidden]; Jan Schultke via Std-Proposals <std-proposals_at_[hidden]>; CC:Lénárd Szolnoki <cpp_at_[hidden]>; > If we were able to do that, this would break optimizations >though since any write to a char could change the value of a char8_t, >and any write to a double could change a std::float64_t, and vice >versa. I would rather have the interoperability than these optimizations. Then rather constructs specifically allowing something identical for the interoperability case. Aliasing is also a correctness issue.

Received on 2025-08-15 19:54:27