This is not the speed you need here, it's done once in the inite or by GUI event. The main thing here is the correctness of operation. Where will correctness of work come from, if a duble is being divided, and the fractional part is being discarded? Maybe it somehow miraculously works correctly, but you need a convincing test.
The speed needed here is not the speed needed, it is done once in the inite or by a GUI event. The main thing here is the correctness of the operation. How can it work correctly if it's dividing the dubble and discarding the fractional part? Maybe it somehow miraculously works correctly, but you need a convincing test.
Well, if you find bugs (other than values like 1kkk+) I would be grateful for hints.
And I won't look for it, because I'm not going to use it. I'm just wondering how you can be so sure that everything will be correct?
I checked on random quotes and arbitrary numbers like 0.7,0.07, 50000000.9991 etc., and besides I did comparative speed tests. I am just going to use this function, but not in inite, but much more often. But in general, if you don't dance around with tambourines, the usual Digits is quite enough...
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
This one: f/=0.0000001; is questionable.
I agree, billions in the tester can be glitchy. otherwise it's OK )
And this is twice as fast with the same result
And this is twice as fast with the same result
This is not the speed you need here, it's done once in the inite or by GUI event. The main thing here is the correctness of operation. Where will correctness of work come from, if a duble is being divided, and the fractional part is being discarded? Maybe it somehow miraculously works correctly, but you need a convincing test.
The speed needed here is not the speed needed, it is done once in the inite or by a GUI event. The main thing here is the correctness of the operation. How can it work correctly if it's dividing the dubble and discarding the fractional part? Maybe it somehow miraculously works correctly, but you need a convincing test.
Well, if you find bugs (other than values like 1kkk+) I would be grateful for hints.
Well, if you find bugs (except for values like 1kkk+) I would be grateful for hints.
And I won't look for them, because I'm not going to use them. Just curious, how do you have such confidence that everything will be correct?
And I won't look for it, because I'm not going to use it. I'm just wondering how you can be so sure that everything will be correct?
I checked on random quotes and arbitrary numbers like 0.7,0.07, 50000000.9991 etc., and besides I did comparative speed tests. I am just going to use this function, but not in inite, but much more often. But in general, if you don't dance around with tambourines, the usual Digits is quite enough...
Found one number: 999999999999.9999 - dtd2() returns 7 and mine is 4. But it's a trifle. All in all, the function is good, I finally understand it.
Found one number: 999999999999.9999 - dtd2() returns 7 and mine is 4. But it's a trifle. All in all, the function is good and I finally understood it.
Well, that's what I said, I gave a couple of these numbers above myself.