C++ Logo

STD-PROPOSALS

Advanced search

Subject: [std-proposals] default floating point
From: Vishal Oza (vickoza_at_[hidden])
Date: 2021-01-14 20:22:44


I was thinking of adding a default floating point type like int to the
integer type rather than assume that double is the default. This might be
better on older hardware where using a double might have a performance
penalty. The keyword would either be flt or floating_point. I prefer flt
for less typing but I can understand that it could break existing code. Can
anyone arue why this is a bad idea?

Vishal Oza



STD-PROPOSALS list run by std-proposals-owner@lists.isocpp.org

Standard Proposals Archives on Google Groups