Skip to content

Instantly share code, notes, and snippets.

@matiwinnetou
Created April 25, 2023 21:52
Show Gist options
  • Save matiwinnetou/f22bc6b6066e1c1367107421a5e4c619 to your computer and use it in GitHub Desktop.
Save matiwinnetou/f22bc6b6066e1c1367107421a5e4c619 to your computer and use it in GitHub Desktop.
octave:25> fprintf('%.3f\n', (2^16))
65536.000
octave:26> fprintf('%.3f\n', (2^17))
131072.000
octave:27> fprintf('%.3f\n', (2^18))
262144.000
octave:28> fprintf('%.3f\n', (2^19))
524288.000
octave:29> fprintf('%.3f\n', (2^20))
1048576.000
octave:30> fprintf('%.3f\n', (2^21))
2097152.000
octave:31> fprintf('%.3f\n', (2^22))
4194304.000
octave:32> fprintf('%.3f\n', (2^23))
8388608.000
octave:33> fprintf('%.3f\n', (2^24))
16777216.000
octave:34> fprintf('%.3f\n', (2^25))
33554432.000
octave:35> fprintf('%.3f\n', (2^26))
67108864.000
octave:36> fprintf('%.3f\n', (2^27))
134217728.000
octave:37> fprintf('%.3f\n', (2^28))
268435456.000
octave:38> fprintf('%.3f\n', (2^29))
536870912.000
octave:39> fprintf('%.3f\n', (2^30))
1073741824.000
octave:40> fprintf('%.3f\n', (2^31))
2147483648.000
octave:41> fprintf('%.3f\n', (2^32))
4294967296.000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment