C++ Logo

std-proposals

Advanced search

default floating point

From: Vishal Oza <vickoza_at_[hidden]>
Date: Thu, 14 Jan 2021 20:22:44 -0600
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

Received on 2021-01-14 20:23:20