Largest number in Matlab

Risposte (3)

Marcel Kreuzberg
Marcel Kreuzberg il 24 Ott 2019

0 voti

max uint16 = 2^16-1
max int8 = 2^7-1

1 Commento

Yung Xi
Yung Xi il 24 Ott 2019
what is that calculated i.e. exact integer?

Accedi per commentare.

Steven Lord
Steven Lord il 24 Ott 2019
When you say "largest integer" do you mean the largest value you can store in any of the integer data types or the largest integer value you can store in any of the built-in data types?
If you're using Symbolic Math Toolbox you can create numbers even larger than you can create in double precision.
two = sym(2)
q = two^10000
isAlways(q > realmax) % true

Tag

Richiesto:

il 24 Ott 2019

Risposto:

il 24 Ott 2019

Community Treasure Hunt

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

Start Hunting!

Translated by