//+------------------------------------------------------------------+ //| Test.mq5 | //| Copyright 2026, Niquel Mendoza | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2026, Niquel Mendoza" #property link "https://www.mql5.com" #property version "1.00" #property strict //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ #include "..\\Src\\Base\\Main.mqh" //+------------------------------------------------------------------+ //| Script program start function | //+------------------------------------------------------------------+ void OnStart() { //--- MathSrand(20); ulong init[]; ArrayResize(init, 20); for(int i = 0; i < 20; i++) { init[i] = ulong(MathRand()) | ulong(MathRand()) << 16 | ulong(MathRand()) << 32; } TSN::BigUInteger a(init, 20); ulong _a = GetMicrosecondCount(); for(int i = 0; i < 100000; i++) { a.Gdc(50); } ulong _b = GetMicrosecondCount(); Print("time: ", (_b - _a)); } //+------------------------------------------------------------------+