a = uint64(2^64)
a = uint64 18446744073709551615
b = uint64(2^64-1000)
b = uint64 18446744073709551615
a==b
ans = logical
1

1 comentario

DGM
DGM el 25 de Mayo de 2024
A clue while I'm passing through:
eps(double(intmax('uint64')))
ans = 4096

Iniciar sesión para comentar.

 Respuesta aceptada

Walter Roberson
Walter Roberson el 11 de Jun. de 2012

0 votos

Please see http://www.mathworks.com/matlabcentral/answers/39474-scalar-multiplication and expand the comments in the answer there to see a discussion.

Más respuestas (0)

Categorías

Productos

Preguntada:

el 11 de Jun. de 2012

Comentada:

DGM
el 25 de Mayo de 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by