Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 485 1...478479480481482483484485486487488489490491492...1177 New comment chevalier 2014.02.17 14:12 #4841 pako: so what's the problem? ? Vitalie Postolache 2014.02.17 14:21 #4842 alex12:Can you tell me if it is possible to calculate a number in the mql4 editor: 108 to the 4096th power. And if so, how to do it. No, it will be 8.01129039727145009060093343395e+8328 and the most "capacious" data type, double, allows a maximum value of 1.7976931348623158e+308. alex 2014.02.17 14:28 #4843 what does e+8328 mean ? Vitalie Postolache 2014.02.17 14:38 #4844 It means a number with 8328 digits after the first digit. I don't think there are that many particles in the whole universe, it's like 10^81, i.e. 1,e+81 ))) alex 2014.02.17 14:45 #4845 if the data type is double, allows maximum value1.7976931348623158e+308 what is the maximum power of a number? Vitalie Postolache 2014.02.17 14:49 #4846 If you take your number 108, you will get at most 151 to the power of 151 - 108^151=1.11426138071861e+307 108^152=1.20340229117609e+309 is too much for MCL programming, let alone 108^4096 What kind of calculations would require such a scale? Simple enough, but Array Risk-to-Reward Ratios (RR) OOP, templates and macros alex 2014.02.17 14:57 #4847 so it turns out you can represent this number = 1 and 307 zeros ? Vitalie Postolache 2014.02.17 14:59 #4848 Roughly speaking, yes. alex 2014.02.17 15:05 #4849 so this number is: 8.01129039727145009060093343395e+8328 can be roughly expressed as 8 and 8328 zeros ? alex 2014.02.17 15:25 #4850 evillive: If you take your number 108, you will get at most 151 to the power of 151 - 108^151=1.11426138071861e+307 108^152=1.20340229117609e+309 is too much for MCL programming, let alone 108^4096 What kind of calculations would require such a scale? I'm trying to synthesise price movement analytics and nlp attention management, and brain on autopilot :) 1...478479480481482483484485486487488489490491492...1177 New comment
so what's the problem?
?
Can you tell me if it is possible to calculate a number in the mql4 editor: 108 to the 4096th power.
And if so, how to do it.
No, it will be 8.01129039727145009060093343395e+8328 and the most "capacious" data type, double, allows a maximum value of 1.7976931348623158e+308.
what does e+8328 mean ?
if the data type is double, allows maximum value1.7976931348623158e+308
what is the maximum power of a number?
If you take your number 108, you will get at most 151 to the power of 151 - 108^151=1.11426138071861e+307
108^152=1.20340229117609e+309 is too much for MCL programming, let alone 108^4096
What kind of calculations would require such a scale?
so this number is: 8.01129039727145009060093343395e+8328
can be roughly expressed as 8 and 8328 zeros ?
If you take your number 108, you will get at most 151 to the power of 151 - 108^151=1.11426138071861e+307
108^152=1.20340229117609e+309 is too much for MCL programming, let alone 108^4096
What kind of calculations would require such a scale?