help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: uint64 typecast can't be initialised with more than 15 decimal posit


From: Jordi Gutiérrez Hermoso
Subject: Re: uint64 typecast can't be initialised with more than 15 decimal positions
Date: Mon, 4 Mar 2013 12:33:49 -0500

On 4 March 2013 12:26, Jordi Gutiérrez Hermoso <address@hidden> wrote:
> An uint64 has 64 bits of precision, which is the point here.

I should have added, In C++, numeric_limits<T>::digits gives you the
precision of each data type. This is different from
numeric_limits<T>::max() which gives you the maximum value it can
represent:

    http://ideone.com/3RSELF

- Jordi G. H.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]