C++ Logo

std-proposals

Advanced search

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

From: Sebastian Wittmeier <wittmeier_at_[hidden]>
Date: Tue, 26 Aug 2025 22:44:25 +0200
I can understand some general reasons for the push-back on allowing aliasing. But specifically double and std::float64_t on platforms, where they have the same representation: What is gained by disallowing aliasing? Wouldn't it just be defined as a typedef on those platforms? You find yourself agreeing (with disallowing), can you explain? -----Ursprüngliche Nachricht----- Von:Paul Caprioli <paul_at_[hidden]> There is push-back on allowing aliasing (i.e., on prohibiting TBAA optimizations based on double and std::float64_t being different types). Unfortunately, I find myself agreeing.

Received on 2025-08-26 20:55:22