[Development] JSON 64 bit int

Marc Mutz marc.mutz at kdab.com
Thu Feb 12 01:08:14 CET 2015


On Thursday 12 February 2015 00:18:28 Allan Sandfeld Jensen wrote:
> On Wednesday 11 February 2015, Marc Mutz wrote:
> > If long double was any useful (apparently it's no larger than double on
> > Windows), we could use that, but as it stands, that would be pointless.
> >
> > 
> 
> Apropos, the usefulness of extended precision floating point happens to be 
> that they can represent both 64bit integers and 64bit floating point.

...except if it cannot. That would've actually made for a good requirement for 
a long double type: be a superset of values representable in double and long 
long.

But that's not what the standard says :(

-- 
Marc Mutz <marc.mutz at kdab.com> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions



More information about the Development mailing list