//+------------------------------------------------------------------+ //| MathHyper.mq5 | //| Copyright 2021, MetaQuotes Ltd. | //| https://www.mql5.com | //+------------------------------------------------------------------+ #define PRT(A) Print(#A, "=", (A)) //+------------------------------------------------------------------+ //| Script program start function | //+------------------------------------------------------------------+ void OnStart() { PRT(MathCosh(1.0)); // 1.543080634815244 PRT(MathSinh(1.0)); // 1.175201193643801 PRT(MathTanh(1.0)); // 0.7615941559557649 PRT(MathArccosh(0.5)); // nan PRT(MathArcsinh(0.5)); // 0.4812118250596035 PRT(MathArctanh(0.5)); // 0.5493061443340549 PRT(MathArccosh(1.5)); // 0.9624236501192069 PRT(MathArcsinh(1.5)); // 1.194763217287109 PRT(MathArctanh(1.5)); // nan } //+------------------------------------------------------------------+