//+------------------------------------------------------------------+ //| Tables.mqh | //| Copyright 2026, Niquel Mendoza. | //| https://www.mql5.com/es/users/nique_372 | //+------------------------------------------------------------------+ #property copyright "Copyright 2026, Niquel Mendoza." #property link "https://www.mql5.com/es/users/nique_372" #property strict #ifndef TSNTABES_SRC_TABLES_MQH #define TSNTABES_SRC_TABLES_MQH //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ #include //--- #ifdef TSNTABLE_USE_HEX_TABLE #include "Hex.mqh" #endif // TSNTABLE_USE_HEX_TABLE //--- #ifdef TSNTABLE_USE_POWEXP_TABLE //--- Exp #include "Exp.mqh" //--- Pow #include "Pow.mqh" #endif // TSNTABLE_USE_POWEXP_TABLE //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ namespace TSN { //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ #define IsDigit(c) ((c ^ '0') <= 9) #define IsNotDigit(c) ((c ^ '0') > 9) //--- Inf + #define TSN_DBL_INF_LONG_BITS long(0x7FF0000000000000) //--- Inf - #define TSN_DBL_INF_NEG_LONG_BITS long(0xFFF0000000000000) //--- Nan #define TSN_DBL_NAN_LONG_BITS long(0x7FFFFFFFFFFFFFFF) //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ //--- const uchar g_arr_table_true[4] = { 't', 'r', 'u', 'e' }; //--- const uchar g_arr_table_false[5] = { 'f', 'a', 'l', 's', 'e' }; } //+------------------------------------------------------------------+ #endif // TSNTABES_SRC_TABLES_MQH