From 49379a8e2c990f819ced9d747da2128108f1c012 Mon Sep 17 00:00:00 2001 From: Harsh Singh Jadon Date: Fri, 24 Mar 2023 01:13:58 +0530 Subject: [PATCH 1/7] Merge with main --- integration_tests/test_str_attributes.py | 46 ++++ src/lpython/semantics/python_ast_to_asr.cpp | 225 ++++++++++++++++++ src/lpython/semantics/python_comptime_eval.h | 4 +- src/runtime/lpython_builtin.py | 39 +++ .../reference/asr-array_01_decl-39cf894.json | 2 +- .../asr-array_01_decl-39cf894.stdout | 2 +- .../reference/asr-array_02_decl-e8f6874.json | 2 +- .../asr-array_02_decl-e8f6874.stdout | 2 +- tests/reference/asr-bindc_02-bc1a7ea.json | 2 +- tests/reference/asr-bindc_02-bc1a7ea.stdout | 2 +- tests/reference/asr-cast-435c233.json | 2 +- tests/reference/asr-cast-435c233.stdout | 2 +- tests/reference/asr-complex1-f26c460.json | 2 +- tests/reference/asr-complex1-f26c460.stdout | 2 +- tests/reference/asr-constants1-5828e8a.json | 2 +- tests/reference/asr-constants1-5828e8a.stdout | 2 +- tests/reference/asr-elemental_01-b58df26.json | 2 +- .../reference/asr-elemental_01-b58df26.stdout | 2 +- tests/reference/asr-expr10-efcbb1b.json | 2 +- tests/reference/asr-expr10-efcbb1b.stdout | 2 +- tests/reference/asr-expr13-81bdb5a.json | 2 +- tests/reference/asr-expr13-81bdb5a.stdout | 2 +- tests/reference/asr-expr7-480ba2f.json | 2 +- tests/reference/asr-expr7-480ba2f.stdout | 2 +- tests/reference/asr-expr8-6beda60.json | 2 +- tests/reference/asr-expr8-6beda60.stdout | 2 +- tests/reference/asr-expr_05-3a37324.json | 2 +- tests/reference/asr-expr_05-3a37324.stdout | 2 +- tests/reference/asr-expr_09-f3e89c8.json | 2 +- tests/reference/asr-expr_09-f3e89c8.stdout | 2 +- tests/reference/asr-expr_14-f2bd343.json | 2 +- tests/reference/asr-expr_14-f2bd343.stdout | 2 +- .../asr-generics_array_01-682b1b2.json | 2 +- .../asr-generics_array_01-682b1b2.stdout | 2 +- .../asr-generics_array_02-22c8dc1.json | 2 +- .../asr-generics_array_02-22c8dc1.stdout | 2 +- .../asr-generics_array_03-fb3706c.json | 2 +- .../asr-generics_array_03-fb3706c.stdout | 2 +- tests/reference/asr-structs_05-fa98307.json | 2 +- tests/reference/asr-structs_05-fa98307.stdout | 2 +- .../asr-test_bool_binop-f856ef0.json | 2 +- .../asr-test_bool_binop-f856ef0.stdout | 2 +- .../asr-test_builtin_abs-c74d2c9.json | 2 +- .../asr-test_builtin_abs-c74d2c9.stdout | 2 +- .../asr-test_builtin_bin-52ba9fa.json | 2 +- .../asr-test_builtin_bin-52ba9fa.stdout | 2 +- .../asr-test_builtin_bool-330223a.json | 2 +- .../asr-test_builtin_bool-330223a.stdout | 2 +- .../asr-test_builtin_hex-64bd268.json | 2 +- .../asr-test_builtin_hex-64bd268.stdout | 2 +- .../asr-test_builtin_oct-20b9066.json | 2 +- .../asr-test_builtin_oct-20b9066.stdout | 2 +- .../asr-test_builtin_pow-f02fcda.json | 2 +- .../asr-test_builtin_pow-f02fcda.stdout | 2 +- .../asr-test_builtin_round-7417a21.json | 2 +- .../asr-test_builtin_round-7417a21.stdout | 2 +- .../asr-test_c_interop_01-e374f43.json | 2 +- .../asr-test_c_interop_01-e374f43.stdout | 2 +- .../asr-test_complex_01-a6def58.json | 2 +- .../asr-test_complex_01-a6def58.stdout | 2 +- .../asr-test_complex_02-782ba2d.json | 2 +- .../asr-test_complex_02-782ba2d.stdout | 2 +- tests/reference/asr-test_max_min-3c2fc51.json | 2 +- .../reference/asr-test_max_min-3c2fc51.stdout | 2 +- .../reference/asr-test_numpy_03-e600a49.json | 2 +- .../asr-test_numpy_03-e600a49.stdout | 2 +- .../reference/asr-test_numpy_04-ecbb614.json | 2 +- .../asr-test_numpy_04-ecbb614.stdout | 2 +- tests/reference/asr-test_pow-3f5d550.json | 2 +- tests/reference/asr-test_pow-3f5d550.stdout | 2 +- tests/reference/asr-vec_01-66ac423.json | 2 +- tests/reference/asr-vec_01-66ac423.stdout | 2 +- .../pass_loop_vectorise-vec_01-be9985e.json | 2 +- .../pass_loop_vectorise-vec_01-be9985e.stdout | 2 +- 74 files changed, 383 insertions(+), 71 deletions(-) diff --git a/integration_tests/test_str_attributes.py b/integration_tests/test_str_attributes.py index cfe4d91bfb..7429d04bac 100644 --- a/integration_tests/test_str_attributes.py +++ b/integration_tests/test_str_attributes.py @@ -79,6 +79,50 @@ def startswith(): assert "".startswith("ok") == False +def partition(): + + # Note: Both string or seperator cannot be empty + # Case 1: When string is constant and seperator is also constant + assert " ".partition(" ") == (""," "," ") + assert "apple mango".partition(" ") == ("apple"," ","mango") + assert "applemango".partition("afdnjkfsn") == ("applemango","","") + assert "applemango".partition("an") == ("applem", "an", "go") + assert "applemango".partition("mango") == ("apple", "mango", "") + assert "applemango".partition("applemango") == ("", "applemango", "") + assert "applemango".partition("ppleman") == ("a", "ppleman", "go") + assert "applemango".partition("pplt") == ("applemango", "", "") + + # Case 2: When string is constant and seperator is variable + seperator: str + seperator = " " + assert " ".partition(seperator) == (""," "," ") + seperator = " " + assert "apple mango".partition(seperator) == ("apple"," ","mango") + seperator = "5:30 " + assert " rendezvous 5:30 ".partition(seperator) == (" rendezvous ", "5:30 ", "") + seperator = "^&" + assert "@#$%^&*()#!".partition(seperator) == ("@#$%", "^&", "*()#!") + seperator = "daddada " + assert " rendezvous 5:30 ".partition(seperator) == (" rendezvous 5:30 ", "", "") + seperator = "longer than string" + assert "two plus".partition(seperator) == ("two plus", "", "") + + # Case 3: When string is variable and seperator is either constant or variable + s: str + s = "tomorrow" + assert s.partition("apple") == ("tomorrow", "", "") + assert s.partition("rr") == ("tomo", "rr", "ow") + assert s.partition(seperator) == ("tomorrow", "", "") + + s = "rendezvous 5" + assert s.partition(" ") == ("rendezvous", " ", "5") + assert s.partition("5") == ("rendezvous ", "5", "") + assert s.partition(s) == ("", "rendezvous 5", "") + seperator = "vous " + assert s.partition(seperator) == ("rendez", "vous ", "5") + seperator = "apple" + assert s.partition(seperator) == ("rendezvous 5", "", "") + def check(): capitalize() lower() @@ -86,5 +130,7 @@ def check(): swapcase() find() startswith() + endswith() + partition() check() diff --git a/src/lpython/semantics/python_ast_to_asr.cpp b/src/lpython/semantics/python_ast_to_asr.cpp index f71b9341b0..5b5b0bb00d 100644 --- a/src/lpython/semantics/python_ast_to_asr.cpp +++ b/src/lpython/semantics/python_ast_to_asr.cpp @@ -5683,6 +5683,73 @@ class BodyVisitor : public CommonVisitor { sub.m_value = args[0].m_value; fn_args.push_back(al, str); fn_args.push_back(al, sub); + } else if (attr_name == "endswith") { + /* + str.endswith(suffix) ----> + Return True if the string ends with the specified suffix, otherwise return False. + + arg_sub: Substring argument provided inside endswith() function + arg_sub_type: Type of Substring argument + fn_call_name: Name of the Function that has logic/implementation of endswith() function + str: Associates with string on which endswith() function will act on + suffix: Associates with the suffix string which is provided as an argument to endswith() function + */ + if(args.size() != 1) { + throw SemanticError("str.endswith() takes only one argument", loc); + } + ASR::expr_t *arg_suffix = args[0].m_value; + ASR::ttype_t *arg_suffix_type = ASRUtils::expr_type(arg_suffix); + if (!ASRUtils::is_character(*arg_suffix_type)) { + throw SemanticError("str.endswith() takes one argument of type: str", loc); + } + + fn_call_name = "_lpython_str_endswith"; + ASR::call_arg_t str; + str.loc = loc; + str.m_value = s_var; + + ASR::call_arg_t suffix; + suffix.loc = loc; + suffix.m_value = args[0].m_value; + + // Push string and substring argument on top of Vector (or Function Arguments Stack basically) + fn_args.push_back(al, str); + fn_args.push_back(al, suffix); + } else if (attr_name == "partition") { + + /* + str.partition(seperator) ----> + + Split the string at the first occurrence of sep, and return a 3-tuple containing the part + before the separator, the separator itself, and the part after the separator. + If the separator is not found, return a 3-tuple containing the string itself, followed + by two empty strings. + */ + + if(args.size() != 1) { + throw SemanticError("str.partition() takes one argument", + loc); + } + + ASR::expr_t *arg_seperator = args[0].m_value; + ASR::ttype_t *arg_seperator_type = ASRUtils::expr_type(arg_seperator); + if (!ASRUtils::is_character(*arg_seperator_type)) { + throw SemanticError("str.partition() takes one argument of type: str", + loc); + } + + fn_call_name = "_lpython_str_partition"; + + ASR::call_arg_t str; + str.loc = loc; + str.m_value = s_var; + ASR::call_arg_t seperator; + seperator.loc = loc; + seperator.m_value = args[0].m_value; + + fn_args.push_back(al, str); + fn_args.push_back(al, seperator); + } else { throw SemanticError("String method not implemented: " + attr_name, loc); @@ -5874,6 +5941,164 @@ class BodyVisitor : public CommonVisitor { "_lpython_str_startswith", loc); } return; + } else if (attr_name == "endswith") { + /* + str.endswith(suffix) ----> + Return True if the string ends with the specified suffix, otherwise return False. + */ + + if (args.size() != 1) { + throw SemanticError("str.endswith() takes one arguments", loc); + } + + ASR::expr_t *arg_suffix = args[0].m_value; + ASR::ttype_t *arg_suffix_type = ASRUtils::expr_type(arg_suffix); + if (!ASRUtils::is_character(*arg_suffix_type)) { + throw SemanticError("str.endswith() takes one arguments of type: str", arg_suffix->base.loc); + } + + if (ASRUtils::expr_value(arg_suffix) != nullptr) { + /* + Invoked when Suffix argument is provided as a constant string + */ + ASR::StringConstant_t* suffix_constant = ASR::down_cast(arg_suffix); + std::string suffix = suffix_constant->m_s; + + bool res = true; + if (suffix.size() > s_var.size()) + res = false; + else + res = std::equal(suffix.rbegin(), suffix.rend(), s_var.rbegin()); + + tmp = ASR::make_LogicalConstant_t(al, loc, res, + ASRUtils::TYPE(ASR::make_Logical_t(al, loc, 4, nullptr, 0))); + + } else { + /* + Invoked when Suffix argument is provided as a variable + b: str = "ple" + Eg: "apple".endswith(b) + */ + ASR::symbol_t *fn_div = resolve_intrinsic_function(loc, "_lpython_str_endswith"); + Vec args; + args.reserve(al, 1); + ASR::call_arg_t str_arg; + str_arg.loc = loc; + ASR::ttype_t *str_type = ASRUtils::TYPE(ASR::make_Character_t(al, loc, + 1, s_var.size(), nullptr, nullptr, 0)); + str_arg.m_value = ASRUtils::EXPR( + ASR::make_StringConstant_t(al, loc, s2c(al, s_var), str_type)); + ASR::call_arg_t sub_arg; + sub_arg.loc = loc; + sub_arg.m_value = arg_suffix; + args.push_back(al, str_arg); + args.push_back(al, sub_arg); + + tmp = make_call_helper(al, fn_div, current_scope, args, "_lpython_str_endswith", loc); + } + return; + } else if (attr_name == "partition") { + + /* + str.partition(seperator) ----> + + Split the string at the first occurrence of sep, and return a 3-tuple containing the part + before the separator, the separator itself, and the part after the separator. + If the separator is not found, return a 3-tuple containing the string itself, followed + by two empty strings. + */ + + if (args.size() != 1) { + throw SemanticError("str.partition() takes one arguments", + loc); + } + + ASR::expr_t *arg_seperator = args[0].m_value; + ASR::ttype_t *arg_seperator_type = ASRUtils::expr_type(arg_seperator); + if (!ASRUtils::is_character(*arg_seperator_type)) { + throw SemanticError("str.partition() takes one arguments of type: str", + arg_seperator->base.loc); + } + + if(s_var.size() == 0) { + throw SemanticError("string to undergo partition cannot be empty",loc); + } + + if (ASRUtils::expr_value(arg_seperator) != nullptr) { + /* + Invoked when Seperator argument is provided as a constant string + */ + ASR::StringConstant_t* seperator_constant = ASR::down_cast(arg_seperator); + std::string seperator = seperator_constant->m_s; + + if(seperator.size() == 0) { + throw SemanticError("empty separator", arg_seperator->base.loc); + } + + /* + using KMP algorithm to find seperator inside string + res_tuple: stores the resulting 3-tuple expression ---> + (if seperator exist) tuple: (left of seperator, seperator, right of seperator) + (if seperator does not exist) tuple: (string, "", "") + res_tuple_type: stores the type of each expression present in resulting 3-tuple + */ + int seperator_pos = KMP_string_match(s_var, seperator); + + Vec res_tuple; + Vec res_tuple_type; + res_tuple.reserve(al, 3); + res_tuple_type.reserve(al, 3); + + std :: string first_res, second_res, third_res; + + if(seperator_pos == -1) { + /* seperator does not exist */ + first_res = s_var; + second_res = ""; + third_res = ""; + } else { + first_res = s_var.substr(0, seperator_pos); + second_res = seperator; + third_res = s_var.substr(seperator_pos + seperator.size()); + } + + res_tuple.push_back(al, ASRUtils::EXPR(ASR::make_StringConstant_t(al, loc, s2c(al, first_res), arg_seperator_type))); + res_tuple.push_back(al, ASRUtils::EXPR(ASR::make_StringConstant_t(al, loc, s2c(al, second_res), arg_seperator_type))); + res_tuple.push_back(al, ASRUtils::EXPR(ASR::make_StringConstant_t(al, loc, s2c(al, third_res), arg_seperator_type))); + + res_tuple_type.push_back(al, arg_seperator_type); + res_tuple_type.push_back(al,arg_seperator_type); + res_tuple_type.push_back(al,arg_seperator_type); + + ASR::ttype_t *tuple_type = ASRUtils::TYPE(ASR::make_Tuple_t(al, loc, res_tuple_type.p, res_tuple_type.n)); + tmp = ASR::make_TupleConstant_t(al, loc, res_tuple.p, res_tuple.size(), tuple_type); + + } else { + /* + Invoked when Seperator argument is provided as a variable + b: str = "ple" + Eg: "apple".seperator(b) + */ + ASR::symbol_t *fn_div = resolve_intrinsic_function(loc, "_lpython_str_partition"); + Vec args; + args.reserve(al, 1); + ASR::call_arg_t str_arg; + str_arg.loc = loc; + + ASR::ttype_t *str_type = ASRUtils::TYPE(ASR::make_Character_t(al, loc, 1, s_var.size(), nullptr, nullptr, 0)); + str_arg.m_value = ASRUtils::EXPR(ASR::make_StringConstant_t(al, loc, s2c(al, s_var), str_type)); + + ASR::call_arg_t sub_arg; + sub_arg.loc = loc; + sub_arg.m_value = arg_seperator; + args.push_back(al, str_arg); + args.push_back(al, sub_arg); + + tmp = make_call_helper(al, fn_div, current_scope, args, "_lpython_str_partition", loc); + } + + return; + } else { throw SemanticError("'str' object has no attribute '" + attr_name + "'", loc); diff --git a/src/lpython/semantics/python_comptime_eval.h b/src/lpython/semantics/python_comptime_eval.h index 0e6e38b85f..e4fca16983 100644 --- a/src/lpython/semantics/python_comptime_eval.h +++ b/src/lpython/semantics/python_comptime_eval.h @@ -77,7 +77,9 @@ struct PythonIntrinsicProcedures { {"_lpython_str_lstrip", {m_builtin, ¬_implemented}}, {"_lpython_str_strip", {m_builtin, ¬_implemented}}, {"_lpython_str_swapcase", {m_builtin, ¬_implemented}}, - {"_lpython_str_startswith", {m_builtin, ¬_implemented}} + {"_lpython_str_startswith", {m_builtin, ¬_implemented}}, + {"_lpython_str_endswith", {m_builtin, ¬_implemented}}, + {"_lpython_str_partition", {m_builtin, ¬_implemented}} }; } diff --git a/src/runtime/lpython_builtin.py b/src/runtime/lpython_builtin.py index 1e5449a7ce..1e8306b75d 100644 --- a/src/runtime/lpython_builtin.py +++ b/src/runtime/lpython_builtin.py @@ -775,6 +775,45 @@ def _lpython_str_startswith(s: str ,sub: str) -> bool: res = res and (j == len(sub)) return res +@overload +def _lpython_str_endswith(s: str, suffix: str) -> bool: + + if(len(suffix) > len(s)): + return False + + i : i32 + i = 0 + while(i < len(suffix)): + if(suffix[len(suffix) - i - 1] != s[len(s) - i - 1]): + return False + i += 1 + + return True + +@overload +def _lpython_str_partition(s:str, sep: str) -> tuple[str, str, str]: + + """ + Returns a 3-tuple splitted around seperator + """ + + if(len(s) == 0): + raise ValueError('empty string cannot be partitioned') + + if(len(sep) == 0): + raise ValueError('empty seperator') + + res : tuple[str, str, str] + ind : i32 + ind = _lpython_str_find(s, sep) + + if(ind == -1): + res = (s, "", "") + else: + res = (s[0:ind], sep, s[ind+len(sep): len(s)]) + + return res + def list(s: str) -> list[str]: l: list[str] = [] diff --git a/tests/reference/asr-array_01_decl-39cf894.json b/tests/reference/asr-array_01_decl-39cf894.json index bcc74b0e75..6904b321b4 100644 --- a/tests/reference/asr-array_01_decl-39cf894.json +++ b/tests/reference/asr-array_01_decl-39cf894.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-array_01_decl-39cf894.stdout", - "stdout_hash": "5ecd298c183e6b4027f8f601a2b5d3963033ebf54bca582c982b5929", + "stdout_hash": "d168d3ab29e00bac349b83dc326ac1c59867e10c020d88d65c48c2a2", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-array_01_decl-39cf894.stdout b/tests/reference/asr-array_01_decl-39cf894.stdout index 42b972211a..e67f4bac44 100644 --- a/tests/reference/asr-array_01_decl-39cf894.stdout +++ b/tests/reference/asr-array_01_decl-39cf894.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 187 {ArraySizes: (EnumType (SymbolTable 178 {SIZE_10: (Variable 178 SIZE_10 [] Local (IntegerConstant 10 (Integer 4 [])) () Default (Integer 4 []) Source Public Required .false.), SIZE_3: (Variable 178 SIZE_3 [] Local (IntegerConstant 3 (Integer 4 [])) () Default (Integer 4 []) Source Public Required .false.)}) ArraySizes [] [SIZE_3 SIZE_10] Source Public IntegerUnique (Integer 4 []) ()), _lpython_main_program: (Function (SymbolTable 186 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [declare_arrays] [] [(SubroutineCall 187 declare_arrays () [] ())] () Public .false. .false.), accept_f32_array: (Function (SymbolTable 182 {_lpython_return_variable: (Variable 182 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), xf32: (Variable 182 xf32 [] InOut () () Default (Real 4 [(() ())]) Source Public Required .false.)}) accept_f32_array (FunctionType [(Real 4 [(() ())])] (Real 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 182 xf32)] [(= (ArrayItem (Var 182 xf32) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Real 4 []) RowMajor ()) (Cast (RealConstant 32.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 32.000000 (Real 4 []))) ()) (= (Var 182 _lpython_return_variable) (ArrayItem (Var 182 xf32) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Real 4 []) RowMajor ()) ()) (Return)] (Var 182 _lpython_return_variable) Public .false. .false.), accept_f64_array: (Function (SymbolTable 183 {_lpython_return_variable: (Variable 183 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), xf64: (Variable 183 xf64 [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.)}) accept_f64_array (FunctionType [(Real 8 [(() ())])] (Real 8 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 183 xf64)] [(= (ArrayItem (Var 183 xf64) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Real 8 []) RowMajor ()) (RealConstant 64.000000 (Real 8 [])) ()) (= (Var 183 _lpython_return_variable) (ArrayItem (Var 183 xf64) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Real 8 []) RowMajor ()) ()) (Return)] (Var 183 _lpython_return_variable) Public .false. .false.), accept_i16_array: (Function (SymbolTable 179 {_lpython_return_variable: (Variable 179 _lpython_return_variable [] ReturnVar () () Default (Integer 2 []) Source Public Required .false.), xi16: (Variable 179 xi16 [] InOut () () Default (Integer 2 [(() ())]) Source Public Required .false.)}) accept_i16_array (FunctionType [(Integer 2 [(() ())])] (Integer 2 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 179 xi16)] [(= (ArrayItem (Var 179 xi16) [(() (IntegerConstant 2 (Integer 4 [])) ())] (Integer 2 []) RowMajor ()) (Cast (IntegerConstant 32 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 32 (Integer 2 []))) ()) (= (Var 179 _lpython_return_variable) (ArrayItem (Var 179 xi16) [(() (IntegerConstant 2 (Integer 4 [])) ())] (Integer 2 []) RowMajor ()) ()) (Return)] (Var 179 _lpython_return_variable) Public .false. .false.), accept_i32_array: (Function (SymbolTable 180 {_lpython_return_variable: (Variable 180 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), xi32: (Variable 180 xi32 [] InOut () () Default (Integer 4 [(() ())]) Source Public Required .false.)}) accept_i32_array (FunctionType [(Integer 4 [(() ())])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 180 xi32)] [(= (ArrayItem (Var 180 xi32) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 32 (Integer 4 [])) ()) (= (Var 180 _lpython_return_variable) (ArrayItem (Var 180 xi32) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) ()) (Return)] (Var 180 _lpython_return_variable) Public .false. .false.), accept_i64_array: (Function (SymbolTable 181 {_lpython_return_variable: (Variable 181 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), xi64: (Variable 181 xi64 [] InOut () () Default (Integer 8 [(() ())]) Source Public Required .false.)}) accept_i64_array (FunctionType [(Integer 8 [(() ())])] (Integer 8 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 181 xi64)] [(= (ArrayItem (Var 181 xi64) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 8 []) RowMajor ()) (Cast (IntegerConstant 64 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 64 (Integer 8 []))) ()) (= (Var 181 _lpython_return_variable) (ArrayItem (Var 181 xi64) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 8 []) RowMajor ()) ()) (Return)] (Var 181 _lpython_return_variable) Public .false. .false.), declare_arrays: (Function (SymbolTable 184 {ac32: (Variable 184 ac32 [] Local () () Default (Complex 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.), ac64: (Variable 184 ac64 [] Local () () Default (Complex 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 [])))]) Source Public Required .false.), af32: (Variable 184 af32 [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.), af64: (Variable 184 af64 [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 [])))]) Source Public Required .false.), ai16: (Variable 184 ai16 [] Local () () Default (Integer 2 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.), ai32: (Variable 184 ai32 [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.), ai64: (Variable 184 ai64 [] Local () () Default (Integer 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 [])))]) Source Public Required .false.)}) declare_arrays (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [accept_i16_array accept_i32_array accept_i64_array accept_f32_array accept_f64_array] [] [(Print () [(FunctionCall 187 accept_i16_array () [((Var 184 ai16))] (Integer 2 []) () ())] () ()) (Print () [(FunctionCall 187 accept_i32_array () [((Var 184 ai32))] (Integer 4 []) () ())] () ()) (Print () [(FunctionCall 187 accept_i64_array () [((Var 184 ai64))] (Integer 8 []) () ())] () ()) (Print () [(FunctionCall 187 accept_f32_array () [((Var 184 af32))] (Real 4 []) () ())] () ()) (Print () [(FunctionCall 187 accept_f64_array () [((Var 184 af64))] (Real 8 []) () ())] () ())] () Public .false. .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 185 {_lpython_main_program: (ExternalSymbol 185 _lpython_main_program 187 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 185 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) ()) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_2___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [x] Local (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [x] Local (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_0___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_0___mod 79 __lpython_overloaded_0___mod lpython_builtin [] __lpython_overloaded_0___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_0___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_0___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) RealToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) () Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 189 {ArraySizes: (EnumType (SymbolTable 180 {SIZE_10: (Variable 180 SIZE_10 [] Local (IntegerConstant 10 (Integer 4 [])) () Default (Integer 4 []) Source Public Required .false.), SIZE_3: (Variable 180 SIZE_3 [] Local (IntegerConstant 3 (Integer 4 [])) () Default (Integer 4 []) Source Public Required .false.)}) ArraySizes [] [SIZE_3 SIZE_10] Source Public IntegerUnique (Integer 4 []) ()), _lpython_main_program: (Function (SymbolTable 188 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [declare_arrays] [] [(SubroutineCall 189 declare_arrays () [] ())] () Public .false. .false.), accept_f32_array: (Function (SymbolTable 184 {_lpython_return_variable: (Variable 184 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), xf32: (Variable 184 xf32 [] InOut () () Default (Real 4 [(() ())]) Source Public Required .false.)}) accept_f32_array (FunctionType [(Real 4 [(() ())])] (Real 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 184 xf32)] [(= (ArrayItem (Var 184 xf32) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Real 4 []) RowMajor ()) (Cast (RealConstant 32.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 32.000000 (Real 4 []))) ()) (= (Var 184 _lpython_return_variable) (ArrayItem (Var 184 xf32) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Real 4 []) RowMajor ()) ()) (Return)] (Var 184 _lpython_return_variable) Public .false. .false.), accept_f64_array: (Function (SymbolTable 185 {_lpython_return_variable: (Variable 185 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), xf64: (Variable 185 xf64 [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.)}) accept_f64_array (FunctionType [(Real 8 [(() ())])] (Real 8 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 185 xf64)] [(= (ArrayItem (Var 185 xf64) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Real 8 []) RowMajor ()) (RealConstant 64.000000 (Real 8 [])) ()) (= (Var 185 _lpython_return_variable) (ArrayItem (Var 185 xf64) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Real 8 []) RowMajor ()) ()) (Return)] (Var 185 _lpython_return_variable) Public .false. .false.), accept_i16_array: (Function (SymbolTable 181 {_lpython_return_variable: (Variable 181 _lpython_return_variable [] ReturnVar () () Default (Integer 2 []) Source Public Required .false.), xi16: (Variable 181 xi16 [] InOut () () Default (Integer 2 [(() ())]) Source Public Required .false.)}) accept_i16_array (FunctionType [(Integer 2 [(() ())])] (Integer 2 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 181 xi16)] [(= (ArrayItem (Var 181 xi16) [(() (IntegerConstant 2 (Integer 4 [])) ())] (Integer 2 []) RowMajor ()) (Cast (IntegerConstant 32 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 32 (Integer 2 []))) ()) (= (Var 181 _lpython_return_variable) (ArrayItem (Var 181 xi16) [(() (IntegerConstant 2 (Integer 4 [])) ())] (Integer 2 []) RowMajor ()) ()) (Return)] (Var 181 _lpython_return_variable) Public .false. .false.), accept_i32_array: (Function (SymbolTable 182 {_lpython_return_variable: (Variable 182 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), xi32: (Variable 182 xi32 [] InOut () () Default (Integer 4 [(() ())]) Source Public Required .false.)}) accept_i32_array (FunctionType [(Integer 4 [(() ())])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 182 xi32)] [(= (ArrayItem (Var 182 xi32) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 32 (Integer 4 [])) ()) (= (Var 182 _lpython_return_variable) (ArrayItem (Var 182 xi32) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) ()) (Return)] (Var 182 _lpython_return_variable) Public .false. .false.), accept_i64_array: (Function (SymbolTable 183 {_lpython_return_variable: (Variable 183 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), xi64: (Variable 183 xi64 [] InOut () () Default (Integer 8 [(() ())]) Source Public Required .false.)}) accept_i64_array (FunctionType [(Integer 8 [(() ())])] (Integer 8 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 183 xi64)] [(= (ArrayItem (Var 183 xi64) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 8 []) RowMajor ()) (Cast (IntegerConstant 64 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 64 (Integer 8 []))) ()) (= (Var 183 _lpython_return_variable) (ArrayItem (Var 183 xi64) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 8 []) RowMajor ()) ()) (Return)] (Var 183 _lpython_return_variable) Public .false. .false.), declare_arrays: (Function (SymbolTable 186 {ac32: (Variable 186 ac32 [] Local () () Default (Complex 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.), ac64: (Variable 186 ac64 [] Local () () Default (Complex 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 [])))]) Source Public Required .false.), af32: (Variable 186 af32 [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.), af64: (Variable 186 af64 [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 [])))]) Source Public Required .false.), ai16: (Variable 186 ai16 [] Local () () Default (Integer 2 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.), ai32: (Variable 186 ai32 [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.), ai64: (Variable 186 ai64 [] Local () () Default (Integer 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 [])))]) Source Public Required .false.)}) declare_arrays (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [accept_i16_array accept_i32_array accept_i64_array accept_f32_array accept_f64_array] [] [(Print () [(FunctionCall 189 accept_i16_array () [((Var 186 ai16))] (Integer 2 []) () ())] () ()) (Print () [(FunctionCall 189 accept_i32_array () [((Var 186 ai32))] (Integer 4 []) () ())] () ()) (Print () [(FunctionCall 189 accept_i64_array () [((Var 186 ai64))] (Integer 8 []) () ())] () ()) (Print () [(FunctionCall 189 accept_f32_array () [((Var 186 af32))] (Real 4 []) () ())] () ()) (Print () [(FunctionCall 189 accept_f64_array () [((Var 186 af64))] (Real 8 []) () ())] () ())] () Public .false. .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 187 {_lpython_main_program: (ExternalSymbol 187 _lpython_main_program 189 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 187 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) ()) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_2___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [x] Local (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [x] Local (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_0___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_0___mod 79 __lpython_overloaded_0___mod lpython_builtin [] __lpython_overloaded_0___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_0___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_0___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) RealToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) () Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) diff --git a/tests/reference/asr-array_02_decl-e8f6874.json b/tests/reference/asr-array_02_decl-e8f6874.json index 3c96e06346..29ddcc46f4 100644 --- a/tests/reference/asr-array_02_decl-e8f6874.json +++ b/tests/reference/asr-array_02_decl-e8f6874.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-array_02_decl-e8f6874.stdout", - "stdout_hash": "9fcfaf5cb7d6dfd6798902f102d41743c0c6c89180572345d886154f", + "stdout_hash": "d62018a555667b6f47ef0b6a5c21434b294bd65a3a63e5dbf7dba71f", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-array_02_decl-e8f6874.stdout b/tests/reference/asr-array_02_decl-e8f6874.stdout index a636111b9a..801e7c6acc 100644 --- a/tests/reference/asr-array_02_decl-e8f6874.stdout +++ b/tests/reference/asr-array_02_decl-e8f6874.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 185 {_lpython_main_program: (Function (SymbolTable 184 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [declare_arrays] [] [(SubroutineCall 185 declare_arrays () [] ())] () Public .false. .false.), accept_multidim_f32_array: (Function (SymbolTable 180 {_lpython_return_variable: (Variable 180 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), xf32: (Variable 180 xf32 [] InOut () () Default (Real 4 [(() ())]) Source Public Required .false.)}) accept_multidim_f32_array (FunctionType [(Real 4 [(() ())])] (Real 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 180 xf32)] [(= (Var 180 _lpython_return_variable) (ArrayItem (Var 180 xf32) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Real 4 []) RowMajor ()) ()) (Return)] (Var 180 _lpython_return_variable) Public .false. .false.), accept_multidim_f64_array: (Function (SymbolTable 181 {_lpython_return_variable: (Variable 181 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), xf64: (Variable 181 xf64 [] InOut () () Default (Real 8 [(() ()) (() ())]) Source Public Required .false.)}) accept_multidim_f64_array (FunctionType [(Real 8 [(() ()) (() ())])] (Real 8 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 181 xf64)] [(= (Var 181 _lpython_return_variable) (ArrayItem (Var 181 xf64) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 1 (Integer 4 [])) ())] (Real 8 []) RowMajor ()) ()) (Return)] (Var 181 _lpython_return_variable) Public .false. .false.), accept_multidim_i32_array: (Function (SymbolTable 178 {_lpython_return_variable: (Variable 178 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), xi32: (Variable 178 xi32 [] InOut () () Default (Integer 4 [(() ()) (() ())]) Source Public Required .false.)}) accept_multidim_i32_array (FunctionType [(Integer 4 [(() ()) (() ())])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 178 xi32)] [(= (Var 178 _lpython_return_variable) (ArrayItem (Var 178 xi32) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) ()) (Return)] (Var 178 _lpython_return_variable) Public .false. .false.), accept_multidim_i64_array: (Function (SymbolTable 179 {_lpython_return_variable: (Variable 179 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), xi64: (Variable 179 xi64 [] InOut () () Default (Integer 8 [(() ()) (() ()) (() ())]) Source Public Required .false.)}) accept_multidim_i64_array (FunctionType [(Integer 8 [(() ()) (() ()) (() ())])] (Integer 8 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 179 xi64)] [(= (Var 179 _lpython_return_variable) (ArrayItem (Var 179 xi64) [(() (IntegerConstant 9 (Integer 4 [])) ()) (() (IntegerConstant 9 (Integer 4 [])) ()) (() (IntegerConstant 9 (Integer 4 [])) ())] (Integer 8 []) RowMajor ()) ()) (Return)] (Var 179 _lpython_return_variable) Public .false. .false.), declare_arrays: (Function (SymbolTable 182 {ac32: (Variable 182 ac32 [] Local () () Default (Complex 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 5 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 99 (Integer 4 [])))]) Source Public Required .false.), ac64: (Variable 182 ac64 [] Local () () Default (Complex 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 13 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 11 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) Source Public Required .false.), af32: (Variable 182 af32 [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.), af64: (Variable 182 af64 [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) Source Public Required .false.), ai32: (Variable 182 ai32 [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.), ai64: (Variable 182 ai64 [] Local () () Default (Integer 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 [])))]) Source Public Required .false.)}) declare_arrays (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [accept_multidim_i32_array accept_multidim_i64_array accept_multidim_f32_array accept_multidim_f64_array] [] [(Print () [(FunctionCall 185 accept_multidim_i32_array () [((Var 182 ai32))] (Integer 4 []) () ())] () ()) (Print () [(FunctionCall 185 accept_multidim_i64_array () [((Var 182 ai64))] (Integer 8 []) () ())] () ()) (Print () [(FunctionCall 185 accept_multidim_f32_array () [((Var 182 af32))] (Real 4 []) () ())] () ()) (Print () [(FunctionCall 185 accept_multidim_f64_array () [((Var 182 af64))] (Real 8 []) () ())] () ())] () Public .false. .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 183 {_lpython_main_program: (ExternalSymbol 183 _lpython_main_program 185 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 183 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) ()) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_2___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [x] Local (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [x] Local (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_0___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_0___mod 79 __lpython_overloaded_0___mod lpython_builtin [] __lpython_overloaded_0___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_0___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_0___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) RealToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) () Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 187 {_lpython_main_program: (Function (SymbolTable 186 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [declare_arrays] [] [(SubroutineCall 187 declare_arrays () [] ())] () Public .false. .false.), accept_multidim_f32_array: (Function (SymbolTable 182 {_lpython_return_variable: (Variable 182 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), xf32: (Variable 182 xf32 [] InOut () () Default (Real 4 [(() ())]) Source Public Required .false.)}) accept_multidim_f32_array (FunctionType [(Real 4 [(() ())])] (Real 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 182 xf32)] [(= (Var 182 _lpython_return_variable) (ArrayItem (Var 182 xf32) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Real 4 []) RowMajor ()) ()) (Return)] (Var 182 _lpython_return_variable) Public .false. .false.), accept_multidim_f64_array: (Function (SymbolTable 183 {_lpython_return_variable: (Variable 183 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), xf64: (Variable 183 xf64 [] InOut () () Default (Real 8 [(() ()) (() ())]) Source Public Required .false.)}) accept_multidim_f64_array (FunctionType [(Real 8 [(() ()) (() ())])] (Real 8 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 183 xf64)] [(= (Var 183 _lpython_return_variable) (ArrayItem (Var 183 xf64) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 1 (Integer 4 [])) ())] (Real 8 []) RowMajor ()) ()) (Return)] (Var 183 _lpython_return_variable) Public .false. .false.), accept_multidim_i32_array: (Function (SymbolTable 180 {_lpython_return_variable: (Variable 180 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), xi32: (Variable 180 xi32 [] InOut () () Default (Integer 4 [(() ()) (() ())]) Source Public Required .false.)}) accept_multidim_i32_array (FunctionType [(Integer 4 [(() ()) (() ())])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 180 xi32)] [(= (Var 180 _lpython_return_variable) (ArrayItem (Var 180 xi32) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) ()) (Return)] (Var 180 _lpython_return_variable) Public .false. .false.), accept_multidim_i64_array: (Function (SymbolTable 181 {_lpython_return_variable: (Variable 181 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), xi64: (Variable 181 xi64 [] InOut () () Default (Integer 8 [(() ()) (() ()) (() ())]) Source Public Required .false.)}) accept_multidim_i64_array (FunctionType [(Integer 8 [(() ()) (() ()) (() ())])] (Integer 8 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 181 xi64)] [(= (Var 181 _lpython_return_variable) (ArrayItem (Var 181 xi64) [(() (IntegerConstant 9 (Integer 4 [])) ()) (() (IntegerConstant 9 (Integer 4 [])) ()) (() (IntegerConstant 9 (Integer 4 [])) ())] (Integer 8 []) RowMajor ()) ()) (Return)] (Var 181 _lpython_return_variable) Public .false. .false.), declare_arrays: (Function (SymbolTable 184 {ac32: (Variable 184 ac32 [] Local () () Default (Complex 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 5 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 99 (Integer 4 [])))]) Source Public Required .false.), ac64: (Variable 184 ac64 [] Local () () Default (Complex 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 13 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 11 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) Source Public Required .false.), af32: (Variable 184 af32 [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.), af64: (Variable 184 af64 [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) Source Public Required .false.), ai32: (Variable 184 ai32 [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.), ai64: (Variable 184 ai64 [] Local () () Default (Integer 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 [])))]) Source Public Required .false.)}) declare_arrays (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [accept_multidim_i32_array accept_multidim_i64_array accept_multidim_f32_array accept_multidim_f64_array] [] [(Print () [(FunctionCall 187 accept_multidim_i32_array () [((Var 184 ai32))] (Integer 4 []) () ())] () ()) (Print () [(FunctionCall 187 accept_multidim_i64_array () [((Var 184 ai64))] (Integer 8 []) () ())] () ()) (Print () [(FunctionCall 187 accept_multidim_f32_array () [((Var 184 af32))] (Real 4 []) () ())] () ()) (Print () [(FunctionCall 187 accept_multidim_f64_array () [((Var 184 af64))] (Real 8 []) () ())] () ())] () Public .false. .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 185 {_lpython_main_program: (ExternalSymbol 185 _lpython_main_program 187 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 185 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) ()) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_2___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [x] Local (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [x] Local (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_0___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_0___mod 79 __lpython_overloaded_0___mod lpython_builtin [] __lpython_overloaded_0___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_0___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_0___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) RealToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) () Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) diff --git a/tests/reference/asr-bindc_02-bc1a7ea.json b/tests/reference/asr-bindc_02-bc1a7ea.json index 5b22cebdda..60b416224d 100644 --- a/tests/reference/asr-bindc_02-bc1a7ea.json +++ b/tests/reference/asr-bindc_02-bc1a7ea.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-bindc_02-bc1a7ea.stdout", - "stdout_hash": "00799f9ef4a45d4c3e93d043b31f73f8038a4b82a4ee191f29b0467f", + "stdout_hash": "4225b871673d770706ac30eca844d9376a0780fc731de0d5bd68b7fc", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-bindc_02-bc1a7ea.stdout b/tests/reference/asr-bindc_02-bc1a7ea.stdout index e8233e7981..6d72c87ad0 100644 --- a/tests/reference/asr-bindc_02-bc1a7ea.stdout +++ b/tests/reference/asr-bindc_02-bc1a7ea.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 181 {_lpython_main_program: (Function (SymbolTable 180 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [f] [] [(CPtrToPointer (Var 181 queries) (Var 181 x) ()) (Print () [(Var 181 queries) (Var 181 x)] () ()) (SubroutineCall 181 f () [] ())] () Public .false. .false.), f: (Function (SymbolTable 178 {y: (Variable 178 y [] Local () () Default (Integer 2 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])))]) Source Public Required .false.), yptr1: (Variable 178 yptr1 [] Local () () Default (Pointer (Integer 2 [(() ())])) Source Public Required .false.), yq: (Variable 178 yq [] Local () () Default (CPtr) Source Public Required .false.)}) f (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (ArrayItem (Var 178 y) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 2 []) RowMajor ()) (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 1 (Integer 2 []))) ()) (= (ArrayItem (Var 178 y) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 2 []) RowMajor ()) (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 2 (Integer 2 []))) ()) (= (Var 178 yptr1) (GetPointer (Var 178 y) (Pointer (Integer 2 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])))])) ()) ()) (Print () [(GetPointer (Var 178 y) (Pointer (Integer 2 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])))])) ()) (Var 178 yptr1)] () ()) (Print () [(ArrayItem (Var 178 yptr1) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 2 []) RowMajor ()) (ArrayItem (Var 178 yptr1) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 2 []) RowMajor ())] () ()) (Assert (IntegerCompare (ArrayItem (Var 178 yptr1) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 2 []) RowMajor ()) Eq (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 1 (Integer 2 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (ArrayItem (Var 178 yptr1) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 2 []) RowMajor ()) Eq (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 2 (Integer 2 []))) (Logical 4 []) ()) ()) (CPtrToPointer (Var 178 yq) (Var 178 yptr1) ()) (Print () [(Var 178 yq) (Var 178 yptr1)] () ())] () Public .false. .false.), queries: (Variable 181 queries [] Local () () Default (CPtr) Source Public Required .false.), x: (Variable 181 x [] Local () () Default (Pointer (Integer 2 [(() ())])) Source Public Required .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 179 {_lpython_main_program: (ExternalSymbol 179 _lpython_main_program 181 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 179 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) ()) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_2___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [x] Local (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [x] Local (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_0___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_0___mod 79 __lpython_overloaded_0___mod lpython_builtin [] __lpython_overloaded_0___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_0___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_0___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) RealToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) () Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 183 {_lpython_main_program: (Function (SymbolTable 182 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [f] [] [(CPtrToPointer (Var 183 queries) (Var 183 x) ()) (Print () [(Var 183 queries) (Var 183 x)] () ()) (SubroutineCall 183 f () [] ())] () Public .false. .false.), f: (Function (SymbolTable 180 {y: (Variable 180 y [] Local () () Default (Integer 2 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])))]) Source Public Required .false.), yptr1: (Variable 180 yptr1 [] Local () () Default (Pointer (Integer 2 [(() ())])) Source Public Required .false.), yq: (Variable 180 yq [] Local () () Default (CPtr) Source Public Required .false.)}) f (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (ArrayItem (Var 180 y) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 2 []) RowMajor ()) (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 1 (Integer 2 []))) ()) (= (ArrayItem (Var 180 y) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 2 []) RowMajor ()) (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 2 (Integer 2 []))) ()) (= (Var 180 yptr1) (GetPointer (Var 180 y) (Pointer (Integer 2 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])))])) ()) ()) (Print () [(GetPointer (Var 180 y) (Pointer (Integer 2 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])))])) ()) (Var 180 yptr1)] () ()) (Print () [(ArrayItem (Var 180 yptr1) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 2 []) RowMajor ()) (ArrayItem (Var 180 yptr1) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 2 []) RowMajor ())] () ()) (Assert (IntegerCompare (ArrayItem (Var 180 yptr1) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 2 []) RowMajor ()) Eq (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 1 (Integer 2 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (ArrayItem (Var 180 yptr1) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 2 []) RowMajor ()) Eq (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 2 (Integer 2 []))) (Logical 4 []) ()) ()) (CPtrToPointer (Var 180 yq) (Var 180 yptr1) ()) (Print () [(Var 180 yq) (Var 180 yptr1)] () ())] () Public .false. .false.), queries: (Variable 183 queries [] Local () () Default (CPtr) Source Public Required .false.), x: (Variable 183 x [] Local () () Default (Pointer (Integer 2 [(() ())])) Source Public Required .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 181 {_lpython_main_program: (ExternalSymbol 181 _lpython_main_program 183 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 181 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) ()) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_2___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [x] Local (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [x] Local (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_0___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_0___mod 79 __lpython_overloaded_0___mod lpython_builtin [] __lpython_overloaded_0___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_0___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_0___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) RealToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) () Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) diff --git a/tests/reference/asr-cast-435c233.json b/tests/reference/asr-cast-435c233.json index a7950dc01a..7659b40eec 100644 --- a/tests/reference/asr-cast-435c233.json +++ b/tests/reference/asr-cast-435c233.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-cast-435c233.stdout", - "stdout_hash": "17cc5e55a18b44793f2e153ef08fd85e279fb740ad6991a3d47665b8", + "stdout_hash": "fa36fe6e07657c560df91e8c4d017e5680043ffa9eabec0de72ae746", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-cast-435c233.stdout b/tests/reference/asr-cast-435c233.stdout index 2721cf05dc..64771d8766 100644 --- a/tests/reference/asr-cast-435c233.stdout +++ b/tests/reference/asr-cast-435c233.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 105 {_lpython_main_program: (Function (SymbolTable 104 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [f] [] [(SubroutineCall 105 f () [] ())] () Public .false. .false.), f: (Function (SymbolTable 2 {list: (ExternalSymbol 2 list 4 list lpython_builtin [] list Private), s: (Variable 2 s [] Local () () Default (Character 1 -2 () []) Source Public Required .false.), x: (Variable 2 x [] Local () () Default (List (Character 1 -2 () [])) Source Public Required .false.), y: (Variable 2 y [] Local () () Default (List (Character 1 -2 () [])) Source Public Required .false.)}) f (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [list list list] [] [(= (Var 2 s) (StringConstant "lpython" (Character 1 7 () [])) ()) (= (Var 2 x) (FunctionCall 2 list () [((Var 2 s))] (List (Character 1 -2 () [])) () ()) ()) (= (Var 2 y) (ListConstant [(StringConstant "a" (Character 1 1 () [])) (StringConstant "b" (Character 1 1 () [])) (StringConstant "c" (Character 1 1 () []))] (List (Character 1 1 () []))) ()) (= (Var 2 x) (FunctionCall 2 list () [((Var 2 y))] (List (Character 1 -2 () [])) () ()) ()) (= (Var 2 x) (FunctionCall 2 list () [((StringConstant "lpython" (Character 1 7 () [])))] (List (Character 1 -2 () [])) (ListConstant [(StringConstant "l" (Character 1 1 () [])) (StringConstant "p" (Character 1 1 () [])) (StringConstant "y" (Character 1 1 () [])) (StringConstant "t" (Character 1 1 () [])) (StringConstant "h" (Character 1 1 () [])) (StringConstant "o" (Character 1 1 () [])) (StringConstant "n" (Character 1 1 () []))] (List (Character 1 1 () []))) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 103 {_lpython_main_program: (ExternalSymbol 103 _lpython_main_program 105 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 103 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 107 {_lpython_main_program: (Function (SymbolTable 106 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [f] [] [(SubroutineCall 107 f () [] ())] () Public .false. .false.), f: (Function (SymbolTable 2 {list: (ExternalSymbol 2 list 4 list lpython_builtin [] list Private), s: (Variable 2 s [] Local () () Default (Character 1 -2 () []) Source Public Required .false.), x: (Variable 2 x [] Local () () Default (List (Character 1 -2 () [])) Source Public Required .false.), y: (Variable 2 y [] Local () () Default (List (Character 1 -2 () [])) Source Public Required .false.)}) f (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [list list list] [] [(= (Var 2 s) (StringConstant "lpython" (Character 1 7 () [])) ()) (= (Var 2 x) (FunctionCall 2 list () [((Var 2 s))] (List (Character 1 -2 () [])) () ()) ()) (= (Var 2 y) (ListConstant [(StringConstant "a" (Character 1 1 () [])) (StringConstant "b" (Character 1 1 () [])) (StringConstant "c" (Character 1 1 () []))] (List (Character 1 1 () []))) ()) (= (Var 2 x) (FunctionCall 2 list () [((Var 2 y))] (List (Character 1 -2 () [])) () ()) ()) (= (Var 2 x) (FunctionCall 2 list () [((StringConstant "lpython" (Character 1 7 () [])))] (List (Character 1 -2 () [])) (ListConstant [(StringConstant "l" (Character 1 1 () [])) (StringConstant "p" (Character 1 1 () [])) (StringConstant "y" (Character 1 1 () [])) (StringConstant "t" (Character 1 1 () [])) (StringConstant "h" (Character 1 1 () [])) (StringConstant "o" (Character 1 1 () [])) (StringConstant "n" (Character 1 1 () []))] (List (Character 1 1 () []))) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 105 {_lpython_main_program: (ExternalSymbol 105 _lpython_main_program 107 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 105 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-complex1-f26c460.json b/tests/reference/asr-complex1-f26c460.json index 010378de0a..ccb8521db1 100644 --- a/tests/reference/asr-complex1-f26c460.json +++ b/tests/reference/asr-complex1-f26c460.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-complex1-f26c460.stdout", - "stdout_hash": "76dbd92fc200e51a52c957bfafdc5847c25ffcf9e81d8e5f15378073", + "stdout_hash": "afb10b0644d89395b896e16eb014a376a6fd52170ac770b8ebcb8a63", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-complex1-f26c460.stdout b/tests/reference/asr-complex1-f26c460.stdout index 7ea803cb21..44352d845f 100644 --- a/tests/reference/asr-complex1-f26c460.stdout +++ b/tests/reference/asr-complex1-f26c460.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 104 {}) main_program [] []), test: (Function (SymbolTable 3 {x: (Variable 3 x [] Local () () Default (Complex 8 []) Source Public Required .false.), y: (Variable 3 y [] Local () () Default (Complex 8 []) Source Public Required .false.), z: (Variable 3 z [] Local () () Default (Complex 4 []) Source Public Required .false.)}) test (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 3 x) (ComplexBinOp (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 2.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 3.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 2.000000 3.000000 (Complex 8 []))) ()) (= (Var 3 y) (ComplexBinOp (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 5.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 5.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 5.000000 5.000000 (Complex 8 []))) ()) (= (Var 3 z) (Cast (ComplexBinOp (Var 3 x) Add (Var 3 y) (Complex 8 []) ()) ComplexToComplex (Complex 4 []) ()) ()) (= (Var 3 z) (Cast (ComplexBinOp (Var 3 x) Sub (Var 3 y) (Complex 8 []) ()) ComplexToComplex (Complex 4 []) ()) ()) (= (Var 3 z) (Cast (ComplexBinOp (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 2.000000 0.000000 (Complex 8 []))) Mul (Var 3 x) (Complex 8 []) ()) ComplexToComplex (Complex 4 []) ()) ())] () Public .false. .false.), test_complex: (Function (SymbolTable 2 {b: (Variable 2 b [] Local () () Default (Logical 4 []) Source Public Required .false.), c: (Variable 2 c [] Local () () Default (Complex 4 []) Source Public Required .false.), c1: (Variable 2 c1 [] Local () () Default (Complex 4 []) Source Public Required .false.), c2: (Variable 2 c2 [] Local () () Default (Complex 4 []) Source Public Required .false.), c3: (Variable 2 c3 [] Local () () Default (Complex 8 []) Source Public Required .false.), complex: (ExternalSymbol 2 complex 5 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_0__complex: (ExternalSymbol 2 complex@__lpython_overloaded_0__complex 5 __lpython_overloaded_0__complex lpython_builtin [] __lpython_overloaded_0__complex Public), complex@__lpython_overloaded_13__complex: (ExternalSymbol 2 complex@__lpython_overloaded_13__complex 5 __lpython_overloaded_13__complex lpython_builtin [] __lpython_overloaded_13__complex Public), complex@__lpython_overloaded_1__complex: (ExternalSymbol 2 complex@__lpython_overloaded_1__complex 5 __lpython_overloaded_1__complex lpython_builtin [] __lpython_overloaded_1__complex Public), complex@__lpython_overloaded_2__complex: (ExternalSymbol 2 complex@__lpython_overloaded_2__complex 5 __lpython_overloaded_2__complex lpython_builtin [] __lpython_overloaded_2__complex Public), complex@__lpython_overloaded_5__complex: (ExternalSymbol 2 complex@__lpython_overloaded_5__complex 5 __lpython_overloaded_5__complex lpython_builtin [] __lpython_overloaded_5__complex Public), complex@__lpython_overloaded_9__complex: (ExternalSymbol 2 complex@__lpython_overloaded_9__complex 5 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public)}) test_complex (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_0__complex complex@__lpython_overloaded_13__complex complex@__lpython_overloaded_1__complex complex@__lpython_overloaded_2__complex complex@__lpython_overloaded_5__complex complex@__lpython_overloaded_9__complex] [] [(= (Var 2 c) (Cast (FunctionCall 2 complex@__lpython_overloaded_0__complex 2 complex [] (Complex 8 []) (ComplexConstant 0.000000 0.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 0.000000 0.000000 (Complex 4 []))) ()) (= (Var 2 c) (Cast (FunctionCall 2 complex@__lpython_overloaded_1__complex 2 complex [((RealConstant 3.400000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 3.400000 0.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 3.400000 0.000000 (Complex 4 []))) ()) (= (Var 2 c) (Cast (FunctionCall 2 complex@__lpython_overloaded_5__complex 2 complex [((RealConstant 5.000000 (Real 8 []))) ((RealConstant 4.300000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 5.000000 4.300000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 5.000000 4.300000 (Complex 4 []))) ()) (= (Var 2 c) (FunctionCall 2 complex@__lpython_overloaded_2__complex 2 complex [((IntegerConstant 1 (Integer 4 [])))] (Complex 4 []) (ComplexConstant 1.000000 0.000000 (Complex 8 [])) ()) ()) (= (Var 2 c1) (Cast (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 4 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 3.000000 4.000000 (Complex 4 []))) ()) (= (Var 2 c2) (Cast (FunctionCall 2 complex@__lpython_overloaded_13__complex 2 complex [((IntegerConstant 2 (Integer 4 []))) ((RealConstant 4.500000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 2.000000 4.500000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 2.000000 4.500000 (Complex 4 []))) ()) (= (Var 2 c3) (FunctionCall 2 complex@__lpython_overloaded_5__complex 2 complex [((RealConstant 3.000000 (Real 8 []))) ((RealConstant 4.000000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 [])) ()) ()) (= (Var 2 b) (ComplexCompare (Var 2 c1) NotEq (Var 2 c2) (Logical 4 []) ()) ()) (= (Var 2 b) (ComplexCompare (Cast (Var 2 c1) ComplexToComplex (Complex 8 []) ()) Eq (Var 2 c3) (Logical 4 []) ()) ()) (= (Var 2 c) (ComplexBinOp (Var 2 c1) Add (Var 2 c2) (Complex 4 []) ()) ()) (= (Var 2 c) (ComplexBinOp (Var 2 c2) Sub (Var 2 c1) (Complex 4 []) ()) ()) (= (Var 2 c) (ComplexBinOp (Var 2 c1) Mul (Var 2 c2) (Complex 4 []) ()) ()) (= (Var 2 c) (Cast (ComplexBinOp (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 1.000000 2.000000 (Complex 8 [])) ()) Pow (FunctionCall 2 complex@__lpython_overloaded_5__complex 2 complex [((RealConstant 3.345340 (Real 8 []))) ((RealConstant 4.867868 (Real 8 [])))] (Complex 8 []) (ComplexConstant 3.345340 4.867868 (Complex 8 [])) ()) (Complex 8 []) (ComplexConstant 0.015553 0.065561 (Complex 8 []))) ComplexToComplex (Complex 4 []) (ComplexConstant 0.015553 0.065561 (Complex 4 []))) ()) (= (Var 2 c) (Cast (ComplexBinOp (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 1.000000 2.000000 (Complex 8 [])) ()) Mul (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 4 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 [])) ()) (Complex 8 []) (ComplexConstant -5.000000 10.000000 (Complex 8 []))) ComplexToComplex (Complex 4 []) (ComplexConstant -5.000000 10.000000 (Complex 4 []))) ()) (= (Var 2 c) (Cast (ComplexBinOp (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 4 (Integer 4 []))) ((IntegerConstant 5 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 4.000000 5.000000 (Complex 8 [])) ()) Sub (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 4 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 [])) ()) (Complex 8 []) (ComplexConstant 1.000000 1.000000 (Complex 8 []))) ComplexToComplex (Complex 4 []) (ComplexConstant 1.000000 1.000000 (Complex 4 []))) ())] () Public .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 106 {}) main_program [] []), test: (Function (SymbolTable 3 {x: (Variable 3 x [] Local () () Default (Complex 8 []) Source Public Required .false.), y: (Variable 3 y [] Local () () Default (Complex 8 []) Source Public Required .false.), z: (Variable 3 z [] Local () () Default (Complex 4 []) Source Public Required .false.)}) test (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 3 x) (ComplexBinOp (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 2.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 3.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 2.000000 3.000000 (Complex 8 []))) ()) (= (Var 3 y) (ComplexBinOp (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 5.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 5.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 5.000000 5.000000 (Complex 8 []))) ()) (= (Var 3 z) (Cast (ComplexBinOp (Var 3 x) Add (Var 3 y) (Complex 8 []) ()) ComplexToComplex (Complex 4 []) ()) ()) (= (Var 3 z) (Cast (ComplexBinOp (Var 3 x) Sub (Var 3 y) (Complex 8 []) ()) ComplexToComplex (Complex 4 []) ()) ()) (= (Var 3 z) (Cast (ComplexBinOp (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 2.000000 0.000000 (Complex 8 []))) Mul (Var 3 x) (Complex 8 []) ()) ComplexToComplex (Complex 4 []) ()) ())] () Public .false. .false.), test_complex: (Function (SymbolTable 2 {b: (Variable 2 b [] Local () () Default (Logical 4 []) Source Public Required .false.), c: (Variable 2 c [] Local () () Default (Complex 4 []) Source Public Required .false.), c1: (Variable 2 c1 [] Local () () Default (Complex 4 []) Source Public Required .false.), c2: (Variable 2 c2 [] Local () () Default (Complex 4 []) Source Public Required .false.), c3: (Variable 2 c3 [] Local () () Default (Complex 8 []) Source Public Required .false.), complex: (ExternalSymbol 2 complex 5 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_0__complex: (ExternalSymbol 2 complex@__lpython_overloaded_0__complex 5 __lpython_overloaded_0__complex lpython_builtin [] __lpython_overloaded_0__complex Public), complex@__lpython_overloaded_13__complex: (ExternalSymbol 2 complex@__lpython_overloaded_13__complex 5 __lpython_overloaded_13__complex lpython_builtin [] __lpython_overloaded_13__complex Public), complex@__lpython_overloaded_1__complex: (ExternalSymbol 2 complex@__lpython_overloaded_1__complex 5 __lpython_overloaded_1__complex lpython_builtin [] __lpython_overloaded_1__complex Public), complex@__lpython_overloaded_2__complex: (ExternalSymbol 2 complex@__lpython_overloaded_2__complex 5 __lpython_overloaded_2__complex lpython_builtin [] __lpython_overloaded_2__complex Public), complex@__lpython_overloaded_5__complex: (ExternalSymbol 2 complex@__lpython_overloaded_5__complex 5 __lpython_overloaded_5__complex lpython_builtin [] __lpython_overloaded_5__complex Public), complex@__lpython_overloaded_9__complex: (ExternalSymbol 2 complex@__lpython_overloaded_9__complex 5 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public)}) test_complex (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_0__complex complex@__lpython_overloaded_13__complex complex@__lpython_overloaded_1__complex complex@__lpython_overloaded_2__complex complex@__lpython_overloaded_5__complex complex@__lpython_overloaded_9__complex] [] [(= (Var 2 c) (Cast (FunctionCall 2 complex@__lpython_overloaded_0__complex 2 complex [] (Complex 8 []) (ComplexConstant 0.000000 0.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 0.000000 0.000000 (Complex 4 []))) ()) (= (Var 2 c) (Cast (FunctionCall 2 complex@__lpython_overloaded_1__complex 2 complex [((RealConstant 3.400000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 3.400000 0.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 3.400000 0.000000 (Complex 4 []))) ()) (= (Var 2 c) (Cast (FunctionCall 2 complex@__lpython_overloaded_5__complex 2 complex [((RealConstant 5.000000 (Real 8 []))) ((RealConstant 4.300000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 5.000000 4.300000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 5.000000 4.300000 (Complex 4 []))) ()) (= (Var 2 c) (FunctionCall 2 complex@__lpython_overloaded_2__complex 2 complex [((IntegerConstant 1 (Integer 4 [])))] (Complex 4 []) (ComplexConstant 1.000000 0.000000 (Complex 8 [])) ()) ()) (= (Var 2 c1) (Cast (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 4 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 3.000000 4.000000 (Complex 4 []))) ()) (= (Var 2 c2) (Cast (FunctionCall 2 complex@__lpython_overloaded_13__complex 2 complex [((IntegerConstant 2 (Integer 4 []))) ((RealConstant 4.500000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 2.000000 4.500000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 2.000000 4.500000 (Complex 4 []))) ()) (= (Var 2 c3) (FunctionCall 2 complex@__lpython_overloaded_5__complex 2 complex [((RealConstant 3.000000 (Real 8 []))) ((RealConstant 4.000000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 [])) ()) ()) (= (Var 2 b) (ComplexCompare (Var 2 c1) NotEq (Var 2 c2) (Logical 4 []) ()) ()) (= (Var 2 b) (ComplexCompare (Cast (Var 2 c1) ComplexToComplex (Complex 8 []) ()) Eq (Var 2 c3) (Logical 4 []) ()) ()) (= (Var 2 c) (ComplexBinOp (Var 2 c1) Add (Var 2 c2) (Complex 4 []) ()) ()) (= (Var 2 c) (ComplexBinOp (Var 2 c2) Sub (Var 2 c1) (Complex 4 []) ()) ()) (= (Var 2 c) (ComplexBinOp (Var 2 c1) Mul (Var 2 c2) (Complex 4 []) ()) ()) (= (Var 2 c) (Cast (ComplexBinOp (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 1.000000 2.000000 (Complex 8 [])) ()) Pow (FunctionCall 2 complex@__lpython_overloaded_5__complex 2 complex [((RealConstant 3.345340 (Real 8 []))) ((RealConstant 4.867868 (Real 8 [])))] (Complex 8 []) (ComplexConstant 3.345340 4.867868 (Complex 8 [])) ()) (Complex 8 []) (ComplexConstant 0.015553 0.065561 (Complex 8 []))) ComplexToComplex (Complex 4 []) (ComplexConstant 0.015553 0.065561 (Complex 4 []))) ()) (= (Var 2 c) (Cast (ComplexBinOp (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 1.000000 2.000000 (Complex 8 [])) ()) Mul (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 4 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 [])) ()) (Complex 8 []) (ComplexConstant -5.000000 10.000000 (Complex 8 []))) ComplexToComplex (Complex 4 []) (ComplexConstant -5.000000 10.000000 (Complex 4 []))) ()) (= (Var 2 c) (Cast (ComplexBinOp (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 4 (Integer 4 []))) ((IntegerConstant 5 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 4.000000 5.000000 (Complex 8 [])) ()) Sub (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 4 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 [])) ()) (Complex 8 []) (ComplexConstant 1.000000 1.000000 (Complex 8 []))) ComplexToComplex (Complex 4 []) (ComplexConstant 1.000000 1.000000 (Complex 4 []))) ())] () Public .false. .false.)}) []) diff --git a/tests/reference/asr-constants1-5828e8a.json b/tests/reference/asr-constants1-5828e8a.json index c6af70a392..6e6de8abda 100644 --- a/tests/reference/asr-constants1-5828e8a.json +++ b/tests/reference/asr-constants1-5828e8a.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-constants1-5828e8a.stdout", - "stdout_hash": "acf796fb217ba6116cc28b4d1e075c5a4987a6348e40547a657441ed", + "stdout_hash": "8ad1efd40cb7052e3bf0882399f532180989943c25085535423c675d", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-constants1-5828e8a.stdout b/tests/reference/asr-constants1-5828e8a.stdout index 510dbd0884..8076f0b093 100644 --- a/tests/reference/asr-constants1-5828e8a.stdout +++ b/tests/reference/asr-constants1-5828e8a.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 112 {}) main_program [] []), test_abs: (Function (SymbolTable 4 {a: (Variable 4 a [] Local () () Default (Integer 4 []) Source Public Required .false.), abs: (ExternalSymbol 4 abs 13 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 4 abs@__lpython_overloaded_0__abs 13 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), abs@__lpython_overloaded_4__abs: (ExternalSymbol 4 abs@__lpython_overloaded_4__abs 13 __lpython_overloaded_4__abs lpython_builtin [] __lpython_overloaded_4__abs Public), abs@__lpython_overloaded_6__abs: (ExternalSymbol 4 abs@__lpython_overloaded_6__abs 13 __lpython_overloaded_6__abs lpython_builtin [] __lpython_overloaded_6__abs Public), abs@__lpython_overloaded_8__abs: (ExternalSymbol 4 abs@__lpython_overloaded_8__abs 13 __lpython_overloaded_8__abs lpython_builtin [] __lpython_overloaded_8__abs Public), b: (Variable 4 b [] Local () () Default (Real 4 []) Source Public Required .false.), complex: (ExternalSymbol 4 complex 13 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_5__complex: (ExternalSymbol 4 complex@__lpython_overloaded_5__complex 13 __lpython_overloaded_5__complex lpython_builtin [] __lpython_overloaded_5__complex Public)}) test_abs (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_4__abs abs@__lpython_overloaded_6__abs abs@__lpython_overloaded_8__abs complex@__lpython_overloaded_5__complex] [] [(= (Var 4 a) (FunctionCall 4 abs@__lpython_overloaded_4__abs 4 abs [((IntegerConstant 5 (Integer 4 [])))] (Integer 4 []) (IntegerConstant 5 (Integer 4 [])) ()) ()) (= (Var 4 a) (FunctionCall 4 abs@__lpython_overloaded_4__abs 4 abs [((IntegerUnaryMinus (IntegerConstant 500 (Integer 4 [])) (Integer 4 []) (IntegerConstant -500 (Integer 4 []))))] (Integer 4 []) (IntegerConstant 500 (Integer 4 [])) ()) ()) (= (Var 4 a) (FunctionCall 4 abs@__lpython_overloaded_6__abs 4 abs [((LogicalConstant .false. (Logical 4 [])))] (Integer 4 []) (IntegerConstant 0 (Integer 4 [])) ()) ()) (= (Var 4 a) (FunctionCall 4 abs@__lpython_overloaded_6__abs 4 abs [((LogicalConstant .true. (Logical 4 [])))] (Integer 4 []) (IntegerConstant 1 (Integer 4 [])) ()) ()) (= (Var 4 b) (Cast (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealConstant 3.450000 (Real 8 [])))] (Real 8 []) (RealConstant 3.450000 (Real 8 [])) ()) RealToReal (Real 4 []) (RealConstant 3.450000 (Real 4 []))) ()) (= (Var 4 b) (Cast (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealUnaryMinus (RealConstant 5346.340000 (Real 8 [])) (Real 8 []) (RealConstant -5346.340000 (Real 8 []))))] (Real 8 []) (RealConstant 5346.340000 (Real 8 [])) ()) RealToReal (Real 4 []) (RealConstant 5346.340000 (Real 4 []))) ()) (= (Var 4 b) (Cast (FunctionCall 4 abs@__lpython_overloaded_8__abs 4 abs [((FunctionCall 4 complex@__lpython_overloaded_5__complex 4 complex [((RealConstant 3.450000 (Real 8 []))) ((RealConstant 5.600000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 3.450000 5.600000 (Complex 8 [])) ()))] (Real 8 []) (RealConstant 6.577424 (Real 8 [])) ()) RealToReal (Real 4 []) (RealConstant 6.577424 (Real 4 []))) ())] () Public .false. .false.), test_bool: (Function (SymbolTable 6 {a: (Variable 6 a [] Local () () Default (Logical 4 []) Source Public Required .false.), complex: (ExternalSymbol 6 complex 13 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_9__complex: (ExternalSymbol 6 complex@__lpython_overloaded_9__complex 13 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public)}) test_bool (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_9__complex] [] [(= (Var 6 a) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 6 a) (Cast (IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))) IntegerToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 6 a) (Cast (StringConstant "" (Character 1 0 () [])) CharacterToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 6 a) (Cast (FunctionCall 6 complex@__lpython_overloaded_9__complex 6 complex [((IntegerConstant 0 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 0.000000 0.000000 (Complex 8 [])) ()) ComplexToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (Assert (LogicalCompare (Var 6 a) Eq (LogicalConstant .false. (Logical 4 [])) (Logical 4 []) ()) ()) (= (Var 6 a) (Cast (StringConstant "t" (Character 1 1 () [])) CharacterToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 6 a) (Cast (RealConstant 2.300000 (Real 8 [])) RealToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (LogicalCompare (Var 6 a) Eq (LogicalConstant .true. (Logical 4 [])) (Logical 4 []) ()) ())] () Public .false. .false.), test_boz: (Function (SymbolTable 2 {b: (Variable 2 b [] Local () () Default (Character 1 -2 () []) Source Public Required .false.), bin: (ExternalSymbol 2 bin 13 bin lpython_builtin [] bin Private), hex: (ExternalSymbol 2 hex 13 hex lpython_builtin [] hex Private), oct: (ExternalSymbol 2 oct 13 oct lpython_builtin [] oct Private)}) test_boz (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [bin hex oct] [] [(= (Var 2 b) (FunctionCall 2 bin () [((IntegerConstant 5 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0b101" (Character 1 5 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 bin () [((IntegerConstant 64 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0b1000000" (Character 1 9 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 bin () [((IntegerUnaryMinus (IntegerConstant 534 (Integer 4 [])) (Integer 4 []) (IntegerConstant -534 (Integer 4 []))))] (Character 1 -2 () []) (StringConstant "-0b1000010110" (Character 1 13 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 oct () [((IntegerConstant 8 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0o10" (Character 1 4 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 oct () [((IntegerConstant 56 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0o70" (Character 1 4 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 oct () [((IntegerUnaryMinus (IntegerConstant 534 (Integer 4 [])) (Integer 4 []) (IntegerConstant -534 (Integer 4 []))))] (Character 1 -2 () []) (StringConstant "-0o1026" (Character 1 7 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 hex () [((IntegerConstant 42 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0x2a" (Character 1 4 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 hex () [((IntegerConstant 12648430 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0xc0ffee" (Character 1 8 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 hex () [((IntegerUnaryMinus (IntegerConstant 534 (Integer 4 [])) (Integer 4 []) (IntegerConstant -534 (Integer 4 []))))] (Character 1 -2 () []) (StringConstant "-0x216" (Character 1 6 () [])) ()) ())] () Public .false. .false.), test_callable: (Function (SymbolTable 8 {a: (Variable 8 a [] Local () () Default (Logical 4 []) Source Public Required .false.), b: (Variable 8 b [] Local () () Default (Integer 4 []) Source Public Required .false.)}) test_callable (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 8 b) (IntegerConstant 2 (Integer 4 [])) ()) (= (Var 8 a) (LogicalConstant .true. (Logical 4 [])) ()) (Assert (LogicalCompare (Var 8 a) Eq (LogicalConstant .true. (Logical 4 [])) (Logical 4 []) ()) ()) (= (Var 8 a) (LogicalConstant .false. (Logical 4 [])) ()) (Assert (LogicalCompare (Var 8 a) Eq (LogicalConstant .false. (Logical 4 [])) (Logical 4 []) ()) ()) (= (Var 8 a) (LogicalConstant .false. (Logical 4 [])) ()) (Assert (LogicalCompare (Var 8 a) Eq (LogicalConstant .false. (Logical 4 [])) (Logical 4 []) ()) ())] () Public .false. .false.), test_divmod: (Function (SymbolTable 11 {a: (Variable 11 a [] Local () () Default (Tuple [(Integer 4 []) (Integer 4 [])]) Source Public Required .false.), divmod: (ExternalSymbol 11 divmod 13 divmod lpython_builtin [] divmod Private)}) test_divmod (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [divmod] [] [(= (Var 11 a) (FunctionCall 11 divmod () [((IntegerConstant 9 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 [])))] (Tuple [(Integer 4 []) (Integer 4 [])]) (TupleConstant [(IntegerConstant 3 (Integer 4 [])) (IntegerConstant 0 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 [])])) ()) ()) (= (Var 11 a) (FunctionCall 11 divmod () [((IntegerConstant 9 (Integer 4 []))) ((IntegerUnaryMinus (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) (IntegerConstant -3 (Integer 4 []))))] (Tuple [(Integer 4 []) (Integer 4 [])]) (TupleConstant [(IntegerConstant -3 (Integer 4 [])) (IntegerConstant 0 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 [])])) ()) ()) (= (Var 11 a) (FunctionCall 11 divmod () [((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 [])))] (Tuple [(Integer 4 []) (Integer 4 [])]) (TupleConstant [(IntegerConstant 1 (Integer 4 [])) (IntegerConstant 0 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 [])])) ()) ()) (= (Var 11 a) (FunctionCall 11 divmod () [((IntegerConstant 4 (Integer 4 []))) ((IntegerConstant 5 (Integer 4 [])))] (Tuple [(Integer 4 []) (Integer 4 [])]) (TupleConstant [(IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 [])])) ()) ()) (= (Var 11 a) (FunctionCall 11 divmod () [((IntegerConstant 0 (Integer 4 []))) ((IntegerConstant 5 (Integer 4 [])))] (Tuple [(Integer 4 []) (Integer 4 [])]) (TupleConstant [(IntegerConstant 0 (Integer 4 [])) (IntegerConstant 0 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 [])])) ()) ())] () Public .false. .false.), test_float: (Function (SymbolTable 10 {a: (Variable 10 a [] Local () () Default (Real 8 []) Source Public Required .false.)}) test_float (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 10 a) (RealConstant 0.000000 (Real 8 [])) ()) (= (Var 10 a) (RealConstant 4.560000 (Real 8 [])) ()) (= (Var 10 a) (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 5.000000 (Real 8 []))) ()) (= (Var 10 a) (Cast (IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))) IntegerToReal (Real 8 []) (RealConstant -1.000000 (Real 8 []))) ()) (= (Var 10 a) (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) ()) (= (Var 10 a) (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) ())] () Public .false. .false.), test_int: (Function (SymbolTable 9 {a: (Variable 9 a [] Local () () Default (Integer 8 []) Source Public Required .false.)}) test_int (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 9 a) (IntegerConstant 0 (Integer 8 [])) ()) (= (Var 9 a) (Cast (RealConstant 4.560000 (Real 8 [])) RealToInteger (Integer 8 []) (IntegerConstant 4 (Integer 8 []))) ()) (= (Var 9 a) (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToInteger (Integer 8 []) ()) ()) (= (Var 9 a) (Cast (RealUnaryMinus (RealConstant 5.000010 (Real 8 [])) (Real 8 []) (RealConstant -5.000010 (Real 8 []))) RealToInteger (Integer 8 []) (IntegerConstant -5 (Integer 8 []))) ()) (= (Var 9 a) (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) ()) (= (Var 9 a) (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (= (Var 9 a) (IntegerConstant 5346 (Integer 8 [])) ())] () Public .false. .false.), test_len: (Function (SymbolTable 5 {a: (Variable 5 a [] Local () () Default (Integer 4 []) Source Public Required .false.), l: (Variable 5 l [] Local () () Default (List (Integer 4 [])) Source Public Required .false.)}) test_len (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 5 a) (StringLen (StringConstant "" (Character 1 0 () [])) (Integer 4 []) (IntegerConstant 0 (Integer 4 []))) ()) (= (Var 5 a) (StringLen (StringConstant "test" (Character 1 4 () [])) (Integer 4 []) (IntegerConstant 4 (Integer 4 []))) ()) (= (Var 5 a) (StringLen (StringConstant "this is a test" (Character 1 14 () [])) (Integer 4 []) (IntegerConstant 14 (Integer 4 []))) ()) (= (Var 5 a) (TupleLen (TupleConstant [(IntegerConstant 1 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])) (IntegerConstant 3 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 []) (Integer 4 [])])) (Integer 4 []) (IntegerConstant 3 (Integer 4 []))) ()) (= (Var 5 a) (TupleLen (TupleConstant [(TupleConstant [(StringConstant "c" (Character 1 1 () [])) (StringConstant "b" (Character 1 1 () [])) (RealConstant 3.400000 (Real 8 []))] (Tuple [(Character 1 1 () []) (Character 1 1 () []) (Real 8 [])])) (TupleConstant [(StringConstant "c" (Character 1 1 () [])) (IntegerConstant 3 (Integer 4 [])) (RealConstant 5.600000 (Real 8 []))] (Tuple [(Character 1 1 () []) (Integer 4 []) (Real 8 [])]))] (Tuple [(Tuple [(Character 1 1 () []) (Character 1 1 () []) (Real 8 [])]) (Tuple [(Character 1 1 () []) (Integer 4 []) (Real 8 [])])])) (Integer 4 []) (IntegerConstant 2 (Integer 4 []))) ()) (= (Var 5 a) (ListLen (ListConstant [(IntegerConstant 1 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])) (IntegerConstant 3 (Integer 4 []))] (List (Integer 4 []))) (Integer 4 []) (IntegerConstant 3 (Integer 4 []))) ()) (= (Var 5 a) (ListLen (ListConstant [(ListConstant [(IntegerUnaryMinus (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4 (Integer 4 []))) (IntegerUnaryMinus (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5 (Integer 4 []))) (IntegerUnaryMinus (IntegerConstant 6 (Integer 4 [])) (Integer 4 []) (IntegerConstant -6 (Integer 4 [])))] (List (Integer 4 []))) (ListConstant [(IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))) (IntegerUnaryMinus (IntegerConstant 2 (Integer 4 [])) (Integer 4 []) (IntegerConstant -2 (Integer 4 []))) (IntegerUnaryMinus (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) (IntegerConstant -3 (Integer 4 [])))] (List (Integer 4 [])))] (List (List (Integer 4 [])))) (Integer 4 []) (IntegerConstant 2 (Integer 4 []))) ()) (= (Var 5 a) (SetLen (SetConstant [(IntegerConstant 1 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])) (IntegerConstant 3 (Integer 4 []))] (Set (Integer 4 []))) (Integer 4 []) (IntegerConstant 3 (Integer 4 []))) ()) (= (Var 5 a) (DictLen (DictConstant [(IntegerConstant 1 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])) (IntegerConstant 3 (Integer 4 []))] [(StringConstant "c" (Character 1 1 () [])) (StringConstant "b" (Character 1 1 () [])) (StringConstant "c" (Character 1 1 () []))] (Dict (Integer 4 []) (Character 1 1 () []))) (Integer 4 []) (IntegerConstant 3 (Integer 4 []))) ()) (= (Var 5 l) (ListConstant [(IntegerConstant 1 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])) (IntegerConstant 4 (Integer 4 []))] (List (Integer 4 []))) ()) (= (Var 5 a) (ListLen (Var 5 l) (Integer 4 []) ()) ()) (ListAppend (Var 5 l) (IntegerConstant 5 (Integer 4 []))) (= (Var 5 a) (ListLen (Var 5 l) (Integer 4 []) ()) ())] () Public .false. .false.), test_ord_chr: (Function (SymbolTable 3 {a: (Variable 3 a [] Local () () Default (Integer 4 []) Source Public Required .false.), s: (Variable 3 s [] Local () () Default (Character 1 -2 () []) Source Public Required .false.)}) test_ord_chr (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 3 a) (StringOrd (StringConstant "5" (Character 1 1 () [])) (Integer 4 []) (IntegerConstant 53 (Integer 4 []))) ()) (= (Var 3 s) (StringChr (IntegerConstant 43 (Integer 4 [])) (Character 1 1 () []) (StringConstant "+" (Character 1 1 () []))) ())] () Public .false. .false.), test_str: (Function (SymbolTable 7 {s: (Variable 7 s [] Local () () Default (Character 1 -2 () []) Source Public Required .false.)}) test_str (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 7 s) (StringConstant "" (Character 1 0 () [])) ()) (= (Var 7 s) (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToCharacter (Character 1 -2 () []) (StringConstant "5" (Character 1 1 () []))) ()) (= (Var 7 s) (Cast (IntegerUnaryMinus (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4 (Integer 4 []))) IntegerToCharacter (Character 1 -2 () []) (StringConstant "-4" (Character 1 2 () []))) ()) (= (Var 7 s) (Cast (RealConstant 5.600000 (Real 8 [])) RealToCharacter (Character 1 -2 () []) (StringConstant "5.6" (Character 1 3 () []))) ()) (= (Var 7 s) (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToCharacter (Character 1 -2 () []) (StringConstant "True" (Character 1 4 () []))) ()) (= (Var 7 s) (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToCharacter (Character 1 -2 () []) (StringConstant "False" (Character 1 5 () []))) ()) (= (Var 7 s) (StringConstant "5346" (Character 1 4 () [])) ())] () Public .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 114 {}) main_program [] []), test_abs: (Function (SymbolTable 4 {a: (Variable 4 a [] Local () () Default (Integer 4 []) Source Public Required .false.), abs: (ExternalSymbol 4 abs 13 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 4 abs@__lpython_overloaded_0__abs 13 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), abs@__lpython_overloaded_4__abs: (ExternalSymbol 4 abs@__lpython_overloaded_4__abs 13 __lpython_overloaded_4__abs lpython_builtin [] __lpython_overloaded_4__abs Public), abs@__lpython_overloaded_6__abs: (ExternalSymbol 4 abs@__lpython_overloaded_6__abs 13 __lpython_overloaded_6__abs lpython_builtin [] __lpython_overloaded_6__abs Public), abs@__lpython_overloaded_8__abs: (ExternalSymbol 4 abs@__lpython_overloaded_8__abs 13 __lpython_overloaded_8__abs lpython_builtin [] __lpython_overloaded_8__abs Public), b: (Variable 4 b [] Local () () Default (Real 4 []) Source Public Required .false.), complex: (ExternalSymbol 4 complex 13 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_5__complex: (ExternalSymbol 4 complex@__lpython_overloaded_5__complex 13 __lpython_overloaded_5__complex lpython_builtin [] __lpython_overloaded_5__complex Public)}) test_abs (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_4__abs abs@__lpython_overloaded_6__abs abs@__lpython_overloaded_8__abs complex@__lpython_overloaded_5__complex] [] [(= (Var 4 a) (FunctionCall 4 abs@__lpython_overloaded_4__abs 4 abs [((IntegerConstant 5 (Integer 4 [])))] (Integer 4 []) (IntegerConstant 5 (Integer 4 [])) ()) ()) (= (Var 4 a) (FunctionCall 4 abs@__lpython_overloaded_4__abs 4 abs [((IntegerUnaryMinus (IntegerConstant 500 (Integer 4 [])) (Integer 4 []) (IntegerConstant -500 (Integer 4 []))))] (Integer 4 []) (IntegerConstant 500 (Integer 4 [])) ()) ()) (= (Var 4 a) (FunctionCall 4 abs@__lpython_overloaded_6__abs 4 abs [((LogicalConstant .false. (Logical 4 [])))] (Integer 4 []) (IntegerConstant 0 (Integer 4 [])) ()) ()) (= (Var 4 a) (FunctionCall 4 abs@__lpython_overloaded_6__abs 4 abs [((LogicalConstant .true. (Logical 4 [])))] (Integer 4 []) (IntegerConstant 1 (Integer 4 [])) ()) ()) (= (Var 4 b) (Cast (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealConstant 3.450000 (Real 8 [])))] (Real 8 []) (RealConstant 3.450000 (Real 8 [])) ()) RealToReal (Real 4 []) (RealConstant 3.450000 (Real 4 []))) ()) (= (Var 4 b) (Cast (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealUnaryMinus (RealConstant 5346.340000 (Real 8 [])) (Real 8 []) (RealConstant -5346.340000 (Real 8 []))))] (Real 8 []) (RealConstant 5346.340000 (Real 8 [])) ()) RealToReal (Real 4 []) (RealConstant 5346.340000 (Real 4 []))) ()) (= (Var 4 b) (Cast (FunctionCall 4 abs@__lpython_overloaded_8__abs 4 abs [((FunctionCall 4 complex@__lpython_overloaded_5__complex 4 complex [((RealConstant 3.450000 (Real 8 []))) ((RealConstant 5.600000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 3.450000 5.600000 (Complex 8 [])) ()))] (Real 8 []) (RealConstant 6.577424 (Real 8 [])) ()) RealToReal (Real 4 []) (RealConstant 6.577424 (Real 4 []))) ())] () Public .false. .false.), test_bool: (Function (SymbolTable 6 {a: (Variable 6 a [] Local () () Default (Logical 4 []) Source Public Required .false.), complex: (ExternalSymbol 6 complex 13 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_9__complex: (ExternalSymbol 6 complex@__lpython_overloaded_9__complex 13 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public)}) test_bool (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_9__complex] [] [(= (Var 6 a) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 6 a) (Cast (IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))) IntegerToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 6 a) (Cast (StringConstant "" (Character 1 0 () [])) CharacterToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 6 a) (Cast (FunctionCall 6 complex@__lpython_overloaded_9__complex 6 complex [((IntegerConstant 0 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 0.000000 0.000000 (Complex 8 [])) ()) ComplexToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (Assert (LogicalCompare (Var 6 a) Eq (LogicalConstant .false. (Logical 4 [])) (Logical 4 []) ()) ()) (= (Var 6 a) (Cast (StringConstant "t" (Character 1 1 () [])) CharacterToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 6 a) (Cast (RealConstant 2.300000 (Real 8 [])) RealToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (LogicalCompare (Var 6 a) Eq (LogicalConstant .true. (Logical 4 [])) (Logical 4 []) ()) ())] () Public .false. .false.), test_boz: (Function (SymbolTable 2 {b: (Variable 2 b [] Local () () Default (Character 1 -2 () []) Source Public Required .false.), bin: (ExternalSymbol 2 bin 13 bin lpython_builtin [] bin Private), hex: (ExternalSymbol 2 hex 13 hex lpython_builtin [] hex Private), oct: (ExternalSymbol 2 oct 13 oct lpython_builtin [] oct Private)}) test_boz (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [bin hex oct] [] [(= (Var 2 b) (FunctionCall 2 bin () [((IntegerConstant 5 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0b101" (Character 1 5 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 bin () [((IntegerConstant 64 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0b1000000" (Character 1 9 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 bin () [((IntegerUnaryMinus (IntegerConstant 534 (Integer 4 [])) (Integer 4 []) (IntegerConstant -534 (Integer 4 []))))] (Character 1 -2 () []) (StringConstant "-0b1000010110" (Character 1 13 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 oct () [((IntegerConstant 8 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0o10" (Character 1 4 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 oct () [((IntegerConstant 56 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0o70" (Character 1 4 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 oct () [((IntegerUnaryMinus (IntegerConstant 534 (Integer 4 [])) (Integer 4 []) (IntegerConstant -534 (Integer 4 []))))] (Character 1 -2 () []) (StringConstant "-0o1026" (Character 1 7 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 hex () [((IntegerConstant 42 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0x2a" (Character 1 4 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 hex () [((IntegerConstant 12648430 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0xc0ffee" (Character 1 8 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 hex () [((IntegerUnaryMinus (IntegerConstant 534 (Integer 4 [])) (Integer 4 []) (IntegerConstant -534 (Integer 4 []))))] (Character 1 -2 () []) (StringConstant "-0x216" (Character 1 6 () [])) ()) ())] () Public .false. .false.), test_callable: (Function (SymbolTable 8 {a: (Variable 8 a [] Local () () Default (Logical 4 []) Source Public Required .false.), b: (Variable 8 b [] Local () () Default (Integer 4 []) Source Public Required .false.)}) test_callable (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 8 b) (IntegerConstant 2 (Integer 4 [])) ()) (= (Var 8 a) (LogicalConstant .true. (Logical 4 [])) ()) (Assert (LogicalCompare (Var 8 a) Eq (LogicalConstant .true. (Logical 4 [])) (Logical 4 []) ()) ()) (= (Var 8 a) (LogicalConstant .false. (Logical 4 [])) ()) (Assert (LogicalCompare (Var 8 a) Eq (LogicalConstant .false. (Logical 4 [])) (Logical 4 []) ()) ()) (= (Var 8 a) (LogicalConstant .false. (Logical 4 [])) ()) (Assert (LogicalCompare (Var 8 a) Eq (LogicalConstant .false. (Logical 4 [])) (Logical 4 []) ()) ())] () Public .false. .false.), test_divmod: (Function (SymbolTable 11 {a: (Variable 11 a [] Local () () Default (Tuple [(Integer 4 []) (Integer 4 [])]) Source Public Required .false.), divmod: (ExternalSymbol 11 divmod 13 divmod lpython_builtin [] divmod Private)}) test_divmod (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [divmod] [] [(= (Var 11 a) (FunctionCall 11 divmod () [((IntegerConstant 9 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 [])))] (Tuple [(Integer 4 []) (Integer 4 [])]) (TupleConstant [(IntegerConstant 3 (Integer 4 [])) (IntegerConstant 0 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 [])])) ()) ()) (= (Var 11 a) (FunctionCall 11 divmod () [((IntegerConstant 9 (Integer 4 []))) ((IntegerUnaryMinus (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) (IntegerConstant -3 (Integer 4 []))))] (Tuple [(Integer 4 []) (Integer 4 [])]) (TupleConstant [(IntegerConstant -3 (Integer 4 [])) (IntegerConstant 0 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 [])])) ()) ()) (= (Var 11 a) (FunctionCall 11 divmod () [((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 [])))] (Tuple [(Integer 4 []) (Integer 4 [])]) (TupleConstant [(IntegerConstant 1 (Integer 4 [])) (IntegerConstant 0 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 [])])) ()) ()) (= (Var 11 a) (FunctionCall 11 divmod () [((IntegerConstant 4 (Integer 4 []))) ((IntegerConstant 5 (Integer 4 [])))] (Tuple [(Integer 4 []) (Integer 4 [])]) (TupleConstant [(IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 [])])) ()) ()) (= (Var 11 a) (FunctionCall 11 divmod () [((IntegerConstant 0 (Integer 4 []))) ((IntegerConstant 5 (Integer 4 [])))] (Tuple [(Integer 4 []) (Integer 4 [])]) (TupleConstant [(IntegerConstant 0 (Integer 4 [])) (IntegerConstant 0 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 [])])) ()) ())] () Public .false. .false.), test_float: (Function (SymbolTable 10 {a: (Variable 10 a [] Local () () Default (Real 8 []) Source Public Required .false.)}) test_float (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 10 a) (RealConstant 0.000000 (Real 8 [])) ()) (= (Var 10 a) (RealConstant 4.560000 (Real 8 [])) ()) (= (Var 10 a) (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 5.000000 (Real 8 []))) ()) (= (Var 10 a) (Cast (IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))) IntegerToReal (Real 8 []) (RealConstant -1.000000 (Real 8 []))) ()) (= (Var 10 a) (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) ()) (= (Var 10 a) (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) ())] () Public .false. .false.), test_int: (Function (SymbolTable 9 {a: (Variable 9 a [] Local () () Default (Integer 8 []) Source Public Required .false.)}) test_int (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 9 a) (IntegerConstant 0 (Integer 8 [])) ()) (= (Var 9 a) (Cast (RealConstant 4.560000 (Real 8 [])) RealToInteger (Integer 8 []) (IntegerConstant 4 (Integer 8 []))) ()) (= (Var 9 a) (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToInteger (Integer 8 []) ()) ()) (= (Var 9 a) (Cast (RealUnaryMinus (RealConstant 5.000010 (Real 8 [])) (Real 8 []) (RealConstant -5.000010 (Real 8 []))) RealToInteger (Integer 8 []) (IntegerConstant -5 (Integer 8 []))) ()) (= (Var 9 a) (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) ()) (= (Var 9 a) (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (= (Var 9 a) (IntegerConstant 5346 (Integer 8 [])) ())] () Public .false. .false.), test_len: (Function (SymbolTable 5 {a: (Variable 5 a [] Local () () Default (Integer 4 []) Source Public Required .false.), l: (Variable 5 l [] Local () () Default (List (Integer 4 [])) Source Public Required .false.)}) test_len (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 5 a) (StringLen (StringConstant "" (Character 1 0 () [])) (Integer 4 []) (IntegerConstant 0 (Integer 4 []))) ()) (= (Var 5 a) (StringLen (StringConstant "test" (Character 1 4 () [])) (Integer 4 []) (IntegerConstant 4 (Integer 4 []))) ()) (= (Var 5 a) (StringLen (StringConstant "this is a test" (Character 1 14 () [])) (Integer 4 []) (IntegerConstant 14 (Integer 4 []))) ()) (= (Var 5 a) (TupleLen (TupleConstant [(IntegerConstant 1 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])) (IntegerConstant 3 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 []) (Integer 4 [])])) (Integer 4 []) (IntegerConstant 3 (Integer 4 []))) ()) (= (Var 5 a) (TupleLen (TupleConstant [(TupleConstant [(StringConstant "c" (Character 1 1 () [])) (StringConstant "b" (Character 1 1 () [])) (RealConstant 3.400000 (Real 8 []))] (Tuple [(Character 1 1 () []) (Character 1 1 () []) (Real 8 [])])) (TupleConstant [(StringConstant "c" (Character 1 1 () [])) (IntegerConstant 3 (Integer 4 [])) (RealConstant 5.600000 (Real 8 []))] (Tuple [(Character 1 1 () []) (Integer 4 []) (Real 8 [])]))] (Tuple [(Tuple [(Character 1 1 () []) (Character 1 1 () []) (Real 8 [])]) (Tuple [(Character 1 1 () []) (Integer 4 []) (Real 8 [])])])) (Integer 4 []) (IntegerConstant 2 (Integer 4 []))) ()) (= (Var 5 a) (ListLen (ListConstant [(IntegerConstant 1 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])) (IntegerConstant 3 (Integer 4 []))] (List (Integer 4 []))) (Integer 4 []) (IntegerConstant 3 (Integer 4 []))) ()) (= (Var 5 a) (ListLen (ListConstant [(ListConstant [(IntegerUnaryMinus (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4 (Integer 4 []))) (IntegerUnaryMinus (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5 (Integer 4 []))) (IntegerUnaryMinus (IntegerConstant 6 (Integer 4 [])) (Integer 4 []) (IntegerConstant -6 (Integer 4 [])))] (List (Integer 4 []))) (ListConstant [(IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))) (IntegerUnaryMinus (IntegerConstant 2 (Integer 4 [])) (Integer 4 []) (IntegerConstant -2 (Integer 4 []))) (IntegerUnaryMinus (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) (IntegerConstant -3 (Integer 4 [])))] (List (Integer 4 [])))] (List (List (Integer 4 [])))) (Integer 4 []) (IntegerConstant 2 (Integer 4 []))) ()) (= (Var 5 a) (SetLen (SetConstant [(IntegerConstant 1 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])) (IntegerConstant 3 (Integer 4 []))] (Set (Integer 4 []))) (Integer 4 []) (IntegerConstant 3 (Integer 4 []))) ()) (= (Var 5 a) (DictLen (DictConstant [(IntegerConstant 1 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])) (IntegerConstant 3 (Integer 4 []))] [(StringConstant "c" (Character 1 1 () [])) (StringConstant "b" (Character 1 1 () [])) (StringConstant "c" (Character 1 1 () []))] (Dict (Integer 4 []) (Character 1 1 () []))) (Integer 4 []) (IntegerConstant 3 (Integer 4 []))) ()) (= (Var 5 l) (ListConstant [(IntegerConstant 1 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])) (IntegerConstant 4 (Integer 4 []))] (List (Integer 4 []))) ()) (= (Var 5 a) (ListLen (Var 5 l) (Integer 4 []) ()) ()) (ListAppend (Var 5 l) (IntegerConstant 5 (Integer 4 []))) (= (Var 5 a) (ListLen (Var 5 l) (Integer 4 []) ()) ())] () Public .false. .false.), test_ord_chr: (Function (SymbolTable 3 {a: (Variable 3 a [] Local () () Default (Integer 4 []) Source Public Required .false.), s: (Variable 3 s [] Local () () Default (Character 1 -2 () []) Source Public Required .false.)}) test_ord_chr (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 3 a) (StringOrd (StringConstant "5" (Character 1 1 () [])) (Integer 4 []) (IntegerConstant 53 (Integer 4 []))) ()) (= (Var 3 s) (StringChr (IntegerConstant 43 (Integer 4 [])) (Character 1 1 () []) (StringConstant "+" (Character 1 1 () []))) ())] () Public .false. .false.), test_str: (Function (SymbolTable 7 {s: (Variable 7 s [] Local () () Default (Character 1 -2 () []) Source Public Required .false.)}) test_str (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 7 s) (StringConstant "" (Character 1 0 () [])) ()) (= (Var 7 s) (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToCharacter (Character 1 -2 () []) (StringConstant "5" (Character 1 1 () []))) ()) (= (Var 7 s) (Cast (IntegerUnaryMinus (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4 (Integer 4 []))) IntegerToCharacter (Character 1 -2 () []) (StringConstant "-4" (Character 1 2 () []))) ()) (= (Var 7 s) (Cast (RealConstant 5.600000 (Real 8 [])) RealToCharacter (Character 1 -2 () []) (StringConstant "5.6" (Character 1 3 () []))) ()) (= (Var 7 s) (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToCharacter (Character 1 -2 () []) (StringConstant "True" (Character 1 4 () []))) ()) (= (Var 7 s) (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToCharacter (Character 1 -2 () []) (StringConstant "False" (Character 1 5 () []))) ()) (= (Var 7 s) (StringConstant "5346" (Character 1 4 () [])) ())] () Public .false. .false.)}) []) diff --git a/tests/reference/asr-elemental_01-b58df26.json b/tests/reference/asr-elemental_01-b58df26.json index 91ede853c1..e29451c72d 100644 --- a/tests/reference/asr-elemental_01-b58df26.json +++ b/tests/reference/asr-elemental_01-b58df26.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-elemental_01-b58df26.stdout", - "stdout_hash": "928bcc2a1e1441e3d7b6feb4496f1b9991038c7917ee7d7318da7d1e", + "stdout_hash": "589440794bbf6334ab1b15f08535a5724c6c4b00d2587f4b30f98d32", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-elemental_01-b58df26.stdout b/tests/reference/asr-elemental_01-b58df26.stdout index 49d9ece9d0..ad74c10d72 100644 --- a/tests/reference/asr-elemental_01-b58df26.stdout +++ b/tests/reference/asr-elemental_01-b58df26.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 213 {_lpython_main_program: (Function (SymbolTable 212 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [elemental_sin elemental_cos elemental_trig_identity elemental_sum elemental_mul] [] [(SubroutineCall 213 elemental_sin () [] ()) (SubroutineCall 213 elemental_cos () [] ()) (SubroutineCall 213 elemental_trig_identity () [] ()) (SubroutineCall 213 elemental_sum () [] ()) (SubroutineCall 213 elemental_mul () [] ())] () Public .false. .false.), cos: (ExternalSymbol 213 cos 3 cos numpy [] cos Public), elemental_cos: (Function (SymbolTable 186 {array2d: (Variable 186 array2d [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 [])))]) Source Public Required .false.), cos2d: (Variable 186 cos2d [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 [])))]) Source Public Required .false.), cos@__lpython_overloaded_0__cos: (ExternalSymbol 186 cos@__lpython_overloaded_0__cos 3 __lpython_overloaded_0__cos numpy [] __lpython_overloaded_0__cos Public), i: (Variable 186 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 186 j [] Local () () Default (Integer 4 []) Source Public Required .false.)}) elemental_cos (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [cos@__lpython_overloaded_0__cos verify2d] [] [(DoLoop ((Var 186 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 256 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 255 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 186 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 64 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 63 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 186 array2d) [(() (Var 186 i) ()) (() (Var 186 j) ())] (Real 8 []) RowMajor ()) (Cast (IntegerBinOp (Var 186 i) Add (Var 186 j) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) ())])]) (= (Var 186 cos2d) (RealBinOp (FunctionCall 186 cos@__lpython_overloaded_0__cos 213 cos [((Var 186 array2d))] (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 [])))]) () ()) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 [])))]) ()) ()) (SubroutineCall 213 verify2d () [((Var 186 array2d)) ((Var 186 cos2d)) ((IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 64 (Integer 4 [])))] ())] () Public .false. .false.), elemental_mul: (Function (SymbolTable 184 {array_a: (Variable 184 array_a [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) Source Public Required .false.), array_b: (Variable 184 array_b [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) Source Public Required .false.), array_c: (Variable 184 array_c [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) Source Public Required .false.), i: (Variable 184 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 184 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 184 k [] Local () () Default (Integer 4 []) Source Public Required .false.)}) elemental_mul (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [verify1d_mul] [] [(DoLoop ((Var 184 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 100 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 99 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 184 array_a) [(() (Var 184 i) ())] (Real 8 []) RowMajor ()) (Cast (Var 184 i) IntegerToReal (Real 8 []) ()) ())]) (DoLoop ((Var 184 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 100 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 99 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 184 array_b) [(() (Var 184 j) ())] (Real 8 []) RowMajor ()) (Cast (IntegerBinOp (Var 184 j) Add (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) ())]) (= (Var 184 array_c) (RealBinOp (RealBinOp (RealBinOp (Var 184 array_a) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) Mul (RealConstant 5.000000 (Real 8 [])) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) Mul (RealBinOp (Var 184 array_b) Pow (RealConstant 3.000000 (Real 8 [])) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) ()) (SubroutineCall 213 verify1d_mul () [((Var 184 array_a)) ((Var 184 array_b)) ((Var 184 array_c)) ((IntegerConstant 100 (Integer 4 [])))] ())] () Public .false. .false.), elemental_sin: (Function (SymbolTable 185 {array1d: (Variable 185 array1d [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 [])))]) Source Public Required .false.), arraynd: (Variable 185 arraynd [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) Source Public Required .false.), i: (Variable 185 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 185 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 185 k [] Local () () Default (Integer 4 []) Source Public Required .false.), sin1d: (Variable 185 sin1d [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 [])))]) Source Public Required .false.), sin@__lpython_overloaded_0__sin: (ExternalSymbol 185 sin@__lpython_overloaded_0__sin 3 __lpython_overloaded_0__sin numpy [] __lpython_overloaded_0__sin Public), sin@__lpython_overloaded_1__sin: (ExternalSymbol 185 sin@__lpython_overloaded_1__sin 3 __lpython_overloaded_1__sin numpy [] __lpython_overloaded_1__sin Public), sinnd: (Variable 185 sinnd [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) Source Public Required .false.)}) elemental_sin (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [sin@__lpython_overloaded_1__sin sin@__lpython_overloaded_1__sin verify1d sin@__lpython_overloaded_0__sin verifynd] [] [(DoLoop ((Var 185 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 256 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 255 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 185 array1d) [(() (Var 185 i) ())] (Real 4 []) RowMajor ()) (Cast (Var 185 i) IntegerToReal (Real 4 []) ()) ())]) (= (Var 185 sin1d) (FunctionCall 185 sin@__lpython_overloaded_1__sin 213 sin [((FunctionCall 185 sin@__lpython_overloaded_1__sin 213 sin [((Var 185 array1d))] (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 [])))]) () ()))] (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 [])))]) () ()) ()) (SubroutineCall 213 verify1d () [((Var 185 array1d)) ((Var 185 sin1d)) ((IntegerConstant 256 (Integer 4 [])))] ()) (DoLoop ((Var 185 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 256 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 255 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 185 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 64 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 63 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 185 k) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 185 arraynd) [(() (Var 185 i) ()) (() (Var 185 j) ()) (() (Var 185 k) ())] (Real 8 []) RowMajor ()) (Cast (IntegerBinOp (IntegerBinOp (Var 185 i) Add (Var 185 j) (Integer 4 []) ()) Add (Var 185 k) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) ())])])]) (= (Var 185 sinnd) (RealBinOp (FunctionCall 185 sin@__lpython_overloaded_0__sin 213 sin [((Var 185 arraynd))] (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) () ()) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) ()) ()) (SubroutineCall 213 verifynd () [((Var 185 arraynd)) ((Var 185 sinnd)) ((IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 16 (Integer 4 [])))] ())] () Public .false. .false.), elemental_sum: (Function (SymbolTable 183 {array_a: (Variable 183 array_a [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) Source Public Required .false.), array_b: (Variable 183 array_b [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) Source Public Required .false.), array_c: (Variable 183 array_c [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) Source Public Required .false.), i: (Variable 183 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 183 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 183 k [] Local () () Default (Integer 4 []) Source Public Required .false.)}) elemental_sum (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [verify1d_sum] [] [(DoLoop ((Var 183 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 100 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 99 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 183 array_a) [(() (Var 183 i) ())] (Real 8 []) RowMajor ()) (Cast (Var 183 i) IntegerToReal (Real 8 []) ()) ())]) (DoLoop ((Var 183 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 100 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 99 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 183 array_b) [(() (Var 183 j) ())] (Real 8 []) RowMajor ()) (Cast (IntegerBinOp (Var 183 j) Add (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) ())]) (= (Var 183 array_c) (RealBinOp (RealBinOp (Var 183 array_a) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) Add (RealBinOp (RealConstant 5.000000 (Real 8 [])) Mul (RealBinOp (Var 183 array_b) Pow (RealConstant 3.000000 (Real 8 [])) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) ()) (SubroutineCall 213 verify1d_sum () [((Var 183 array_a)) ((Var 183 array_b)) ((Var 183 array_c)) ((IntegerConstant 100 (Integer 4 [])))] ())] () Public .false. .false.), elemental_trig_identity: (Function (SymbolTable 187 {arraynd: (Variable 187 arraynd [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 32 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 8 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) Source Public Required .false.), block: (Block (SymbolTable 210 {abs: (ExternalSymbol 210 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_1__abs: (ExternalSymbol 210 abs@__lpython_overloaded_1__abs 79 __lpython_overloaded_1__abs lpython_builtin [] __lpython_overloaded_1__abs Public)}) block [(Assert (RealCompare (FunctionCall 210 abs@__lpython_overloaded_1__abs 210 abs [((RealBinOp (ArrayItem (Var 187 observed1d) [(() (Var 187 i) ())] (Real 4 []) RowMajor ()) Sub (Cast (RealConstant 1.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()))] (Real 4 []) () ()) LtE (Var 187 eps) (Logical 4 []) ()) ())]), cos@__lpython_overloaded_1__cos: (ExternalSymbol 187 cos@__lpython_overloaded_1__cos 3 __lpython_overloaded_1__cos numpy [] __lpython_overloaded_1__cos Public), eps: (Variable 187 eps [] Local () () Default (Real 4 []) Source Public Required .false.), i: (Variable 187 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 187 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 187 k [] Local () () Default (Integer 4 []) Source Public Required .false.), l: (Variable 187 l [] Local () () Default (Integer 4 []) Source Public Required .false.), newshape: (Variable 187 newshape [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), observed: (Variable 187 observed [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 32 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 8 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) Source Public Required .false.), observed1d: (Variable 187 observed1d [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 65536 (Integer 4 [])))]) Source Public Required .false.), sin@__lpython_overloaded_1__sin: (ExternalSymbol 187 sin@__lpython_overloaded_1__sin 3 __lpython_overloaded_1__sin numpy [] __lpython_overloaded_1__sin Public)}) elemental_trig_identity (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_1__abs sin@__lpython_overloaded_1__sin cos@__lpython_overloaded_1__cos abs@__lpython_overloaded_1__abs] [] [(= (Var 187 eps) (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) ()) (DoLoop ((Var 187 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 64 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 63 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 187 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 32 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 31 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 187 k) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 8 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 7 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 187 l) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 4 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 3 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 187 arraynd) [(() (Var 187 i) ()) (() (Var 187 j) ()) (() (Var 187 k) ()) (() (Var 187 l) ())] (Real 4 []) RowMajor ()) (Cast (IntegerBinOp (IntegerBinOp (IntegerBinOp (Var 187 i) Add (Var 187 j) (Integer 4 []) ()) Add (Var 187 k) (Integer 4 []) ()) Add (Var 187 l) (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ())])])])]) (= (Var 187 observed) (RealBinOp (RealBinOp (FunctionCall 187 sin@__lpython_overloaded_1__sin 213 sin [((Var 187 arraynd))] (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 32 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 8 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) () ()) Pow (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 32 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 8 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) ()) Add (RealBinOp (FunctionCall 187 cos@__lpython_overloaded_1__cos 213 cos [((Var 187 arraynd))] (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 32 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 8 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) () ()) Pow (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 32 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 8 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) ()) (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 32 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 8 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) ()) ()) (= (ArrayItem (Var 187 newshape) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 65536 (Integer 4 [])) ()) (= (Var 187 observed1d) (ArrayReshape (Var 187 observed) (Var 187 newshape) (Real 4 [(() ())]) ()) ()) (DoLoop ((Var 187 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 65536 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 65535 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 187 block)])] () Public .false. .false.), sin: (ExternalSymbol 213 sin 3 sin numpy [] sin Public), verify1d: (Function (SymbolTable 178 {array: (Variable 178 array [] InOut () () Default (Real 4 [(() ())]) Source Public Required .false.), block: (Block (SymbolTable 188 {abs: (ExternalSymbol 188 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_1__abs: (ExternalSymbol 188 abs@__lpython_overloaded_1__abs 79 __lpython_overloaded_1__abs lpython_builtin [] __lpython_overloaded_1__abs Public), sin@__lpython_overloaded_1__sin: (ExternalSymbol 188 sin@__lpython_overloaded_1__sin 3 __lpython_overloaded_1__sin numpy [] __lpython_overloaded_1__sin Public)}) block [(Assert (RealCompare (FunctionCall 188 abs@__lpython_overloaded_1__abs 188 abs [((RealBinOp (FunctionCall 188 sin@__lpython_overloaded_1__sin 213 sin [((FunctionCall 188 sin@__lpython_overloaded_1__sin 213 sin [((ArrayItem (Var 178 array) [(() (Var 178 i) ())] (Real 4 []) RowMajor ()))] (Real 4 []) () ()))] (Real 4 []) () ()) Sub (ArrayItem (Var 178 result) [(() (Var 178 i) ())] (Real 4 []) RowMajor ()) (Real 4 []) ()))] (Real 4 []) () ()) LtE (Var 178 eps) (Logical 4 []) ()) ())]), eps: (Variable 178 eps [] Local () () Default (Real 4 []) Source Public Required .false.), i: (Variable 178 i [] Local () () Default (Integer 4 []) Source Public Required .false.), result: (Variable 178 result [] InOut () () Default (Real 4 [(() ())]) Source Public Required .false.), size: (Variable 178 size [] In () () Default (Integer 4 []) Source Public Required .false.)}) verify1d (FunctionType [(Real 4 [(() ())]) (Real 4 [(() ())]) (Integer 4 [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_1__abs sin@__lpython_overloaded_1__sin sin@__lpython_overloaded_1__sin abs@__lpython_overloaded_1__abs sin@__lpython_overloaded_1__sin sin@__lpython_overloaded_1__sin] [(Var 178 array) (Var 178 result) (Var 178 size)] [(= (Var 178 eps) (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) ()) (DoLoop ((Var 178 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 178 size) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 178 block)])] () Public .false. .false.), verify1d_mul: (Function (SymbolTable 182 {array_a: (Variable 182 array_a [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.), array_b: (Variable 182 array_b [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.), block: (Block (SymbolTable 195 {abs: (ExternalSymbol 195 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 195 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public)}) block [(Assert (RealCompare (FunctionCall 195 abs@__lpython_overloaded_0__abs 195 abs [((RealBinOp (RealBinOp (RealBinOp (RealBinOp (ArrayItem (Var 182 array_a) [(() (Var 182 i) ())] (Real 8 []) RowMajor ()) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()) Mul (RealConstant 5.000000 (Real 8 [])) (Real 8 []) ()) Mul (RealBinOp (ArrayItem (Var 182 array_b) [(() (Var 182 i) ())] (Real 8 []) RowMajor ()) Pow (RealConstant 3.000000 (Real 8 [])) (Real 8 []) ()) (Real 8 []) ()) Sub (ArrayItem (Var 182 result) [(() (Var 182 i) ())] (Real 8 []) RowMajor ()) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 182 eps) (Logical 4 []) ()) ())]), eps: (Variable 182 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 182 i [] Local () () Default (Integer 4 []) Source Public Required .false.), result: (Variable 182 result [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.), size: (Variable 182 size [] In () () Default (Integer 4 []) Source Public Required .false.)}) verify1d_mul (FunctionType [(Real 8 [(() ())]) (Real 8 [(() ())]) (Real 8 [(() ())]) (Integer 4 [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs] [(Var 182 array_a) (Var 182 array_b) (Var 182 result) (Var 182 size)] [(= (Var 182 eps) (RealConstant 0.000000 (Real 8 [])) ()) (DoLoop ((Var 182 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 182 size) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 182 block)])] () Public .false. .false.), verify1d_sum: (Function (SymbolTable 181 {array_a: (Variable 181 array_a [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.), array_b: (Variable 181 array_b [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.), block: (Block (SymbolTable 194 {abs: (ExternalSymbol 194 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 194 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public)}) block [(Assert (RealCompare (FunctionCall 194 abs@__lpython_overloaded_0__abs 194 abs [((RealBinOp (RealBinOp (RealBinOp (ArrayItem (Var 181 array_a) [(() (Var 181 i) ())] (Real 8 []) RowMajor ()) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()) Add (RealBinOp (RealConstant 5.000000 (Real 8 [])) Mul (RealBinOp (ArrayItem (Var 181 array_b) [(() (Var 181 i) ())] (Real 8 []) RowMajor ()) Pow (RealConstant 3.000000 (Real 8 [])) (Real 8 []) ()) (Real 8 []) ()) (Real 8 []) ()) Sub (ArrayItem (Var 181 result) [(() (Var 181 i) ())] (Real 8 []) RowMajor ()) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 181 eps) (Logical 4 []) ()) ())]), eps: (Variable 181 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 181 i [] Local () () Default (Integer 4 []) Source Public Required .false.), result: (Variable 181 result [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.), size: (Variable 181 size [] In () () Default (Integer 4 []) Source Public Required .false.)}) verify1d_sum (FunctionType [(Real 8 [(() ())]) (Real 8 [(() ())]) (Real 8 [(() ())]) (Integer 4 [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs] [(Var 181 array_a) (Var 181 array_b) (Var 181 result) (Var 181 size)] [(= (Var 181 eps) (RealConstant 0.000000 (Real 8 [])) ()) (DoLoop ((Var 181 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 181 size) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 181 block)])] () Public .false. .false.), verify2d: (Function (SymbolTable 180 {array: (Variable 180 array [] InOut () () Default (Real 8 [(() ()) (() ())]) Source Public Required .false.), block: (Block (SymbolTable 192 {block: (Block (SymbolTable 193 {abs: (ExternalSymbol 193 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 193 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), cos@__lpython_overloaded_0__cos: (ExternalSymbol 193 cos@__lpython_overloaded_0__cos 3 __lpython_overloaded_0__cos numpy [] __lpython_overloaded_0__cos Public)}) block [(Assert (RealCompare (FunctionCall 193 abs@__lpython_overloaded_0__abs 193 abs [((RealBinOp (RealBinOp (FunctionCall 193 cos@__lpython_overloaded_0__cos 213 cos [((ArrayItem (Var 180 array) [(() (Var 180 i) ()) (() (Var 180 j) ())] (Real 8 []) RowMajor ()))] (Real 8 []) () ()) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()) Sub (ArrayItem (Var 180 result) [(() (Var 180 i) ()) (() (Var 180 j) ())] (Real 8 []) RowMajor ()) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 180 eps) (Logical 4 []) ()) ())])}) block [(DoLoop ((Var 180 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 180 size2) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 192 block)])]), eps: (Variable 180 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 180 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 180 j [] Local () () Default (Integer 4 []) Source Public Required .false.), result: (Variable 180 result [] InOut () () Default (Real 8 [(() ()) (() ())]) Source Public Required .false.), size1: (Variable 180 size1 [] In () () Default (Integer 4 []) Source Public Required .false.), size2: (Variable 180 size2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) verify2d (FunctionType [(Real 8 [(() ()) (() ())]) (Real 8 [(() ()) (() ())]) (Integer 4 []) (Integer 4 [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs cos@__lpython_overloaded_0__cos abs@__lpython_overloaded_0__abs cos@__lpython_overloaded_0__cos abs@__lpython_overloaded_0__abs cos@__lpython_overloaded_0__cos] [(Var 180 array) (Var 180 result) (Var 180 size1) (Var 180 size2)] [(= (Var 180 eps) (RealConstant 0.000000 (Real 8 [])) ()) (DoLoop ((Var 180 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 180 size1) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 180 block)])] () Public .false. .false.), verifynd: (Function (SymbolTable 179 {array: (Variable 179 array [] InOut () () Default (Real 8 [(() ()) (() ()) (() ())]) Source Public Required .false.), block: (Block (SymbolTable 189 {block: (Block (SymbolTable 190 {block: (Block (SymbolTable 191 {abs: (ExternalSymbol 191 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 191 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), sin@__lpython_overloaded_0__sin: (ExternalSymbol 191 sin@__lpython_overloaded_0__sin 3 __lpython_overloaded_0__sin numpy [] __lpython_overloaded_0__sin Public)}) block [(Assert (RealCompare (FunctionCall 191 abs@__lpython_overloaded_0__abs 191 abs [((RealBinOp (RealBinOp (FunctionCall 191 sin@__lpython_overloaded_0__sin 213 sin [((ArrayItem (Var 179 array) [(() (Var 179 i) ()) (() (Var 179 j) ()) (() (Var 179 k) ())] (Real 8 []) RowMajor ()))] (Real 8 []) () ()) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()) Sub (ArrayItem (Var 179 result) [(() (Var 179 i) ()) (() (Var 179 j) ()) (() (Var 179 k) ())] (Real 8 []) RowMajor ()) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 179 eps) (Logical 4 []) ()) ())])}) block [(DoLoop ((Var 179 k) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 179 size3) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 190 block)])])}) block [(DoLoop ((Var 179 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 179 size2) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 189 block)])]), eps: (Variable 179 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 179 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 179 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 179 k [] Local () () Default (Integer 4 []) Source Public Required .false.), result: (Variable 179 result [] InOut () () Default (Real 8 [(() ()) (() ()) (() ())]) Source Public Required .false.), size1: (Variable 179 size1 [] In () () Default (Integer 4 []) Source Public Required .false.), size2: (Variable 179 size2 [] In () () Default (Integer 4 []) Source Public Required .false.), size3: (Variable 179 size3 [] In () () Default (Integer 4 []) Source Public Required .false.)}) verifynd (FunctionType [(Real 8 [(() ()) (() ()) (() ())]) (Real 8 [(() ()) (() ()) (() ())]) (Integer 4 []) (Integer 4 []) (Integer 4 [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs sin@__lpython_overloaded_0__sin abs@__lpython_overloaded_0__abs sin@__lpython_overloaded_0__sin abs@__lpython_overloaded_0__abs sin@__lpython_overloaded_0__sin abs@__lpython_overloaded_0__abs sin@__lpython_overloaded_0__sin] [(Var 179 array) (Var 179 result) (Var 179 size1) (Var 179 size2) (Var 179 size3)] [(= (Var 179 eps) (RealConstant 0.000000 (Real 8 [])) ()) (DoLoop ((Var 179 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 179 size1) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 179 block)])] () Public .false. .false.)}) _global_symbols [numpy lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 211 {_lpython_main_program: (ExternalSymbol 211 _lpython_main_program 213 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 211 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) ()) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_2___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [x] Local (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [x] Local (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_0___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_0___mod 79 __lpython_overloaded_0___mod lpython_builtin [] __lpython_overloaded_0___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_0___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_0___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) RealToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) () Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 215 {_lpython_main_program: (Function (SymbolTable 214 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [elemental_sin elemental_cos elemental_trig_identity elemental_sum elemental_mul] [] [(SubroutineCall 215 elemental_sin () [] ()) (SubroutineCall 215 elemental_cos () [] ()) (SubroutineCall 215 elemental_trig_identity () [] ()) (SubroutineCall 215 elemental_sum () [] ()) (SubroutineCall 215 elemental_mul () [] ())] () Public .false. .false.), cos: (ExternalSymbol 215 cos 3 cos numpy [] cos Public), elemental_cos: (Function (SymbolTable 188 {array2d: (Variable 188 array2d [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 [])))]) Source Public Required .false.), cos2d: (Variable 188 cos2d [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 [])))]) Source Public Required .false.), cos@__lpython_overloaded_0__cos: (ExternalSymbol 188 cos@__lpython_overloaded_0__cos 3 __lpython_overloaded_0__cos numpy [] __lpython_overloaded_0__cos Public), i: (Variable 188 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 188 j [] Local () () Default (Integer 4 []) Source Public Required .false.)}) elemental_cos (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [cos@__lpython_overloaded_0__cos verify2d] [] [(DoLoop ((Var 188 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 256 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 255 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 188 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 64 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 63 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 188 array2d) [(() (Var 188 i) ()) (() (Var 188 j) ())] (Real 8 []) RowMajor ()) (Cast (IntegerBinOp (Var 188 i) Add (Var 188 j) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) ())])]) (= (Var 188 cos2d) (RealBinOp (FunctionCall 188 cos@__lpython_overloaded_0__cos 215 cos [((Var 188 array2d))] (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 [])))]) () ()) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 [])))]) ()) ()) (SubroutineCall 215 verify2d () [((Var 188 array2d)) ((Var 188 cos2d)) ((IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 64 (Integer 4 [])))] ())] () Public .false. .false.), elemental_mul: (Function (SymbolTable 186 {array_a: (Variable 186 array_a [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) Source Public Required .false.), array_b: (Variable 186 array_b [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) Source Public Required .false.), array_c: (Variable 186 array_c [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) Source Public Required .false.), i: (Variable 186 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 186 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 186 k [] Local () () Default (Integer 4 []) Source Public Required .false.)}) elemental_mul (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [verify1d_mul] [] [(DoLoop ((Var 186 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 100 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 99 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 186 array_a) [(() (Var 186 i) ())] (Real 8 []) RowMajor ()) (Cast (Var 186 i) IntegerToReal (Real 8 []) ()) ())]) (DoLoop ((Var 186 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 100 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 99 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 186 array_b) [(() (Var 186 j) ())] (Real 8 []) RowMajor ()) (Cast (IntegerBinOp (Var 186 j) Add (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) ())]) (= (Var 186 array_c) (RealBinOp (RealBinOp (RealBinOp (Var 186 array_a) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) Mul (RealConstant 5.000000 (Real 8 [])) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) Mul (RealBinOp (Var 186 array_b) Pow (RealConstant 3.000000 (Real 8 [])) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) ()) (SubroutineCall 215 verify1d_mul () [((Var 186 array_a)) ((Var 186 array_b)) ((Var 186 array_c)) ((IntegerConstant 100 (Integer 4 [])))] ())] () Public .false. .false.), elemental_sin: (Function (SymbolTable 187 {array1d: (Variable 187 array1d [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 [])))]) Source Public Required .false.), arraynd: (Variable 187 arraynd [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) Source Public Required .false.), i: (Variable 187 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 187 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 187 k [] Local () () Default (Integer 4 []) Source Public Required .false.), sin1d: (Variable 187 sin1d [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 [])))]) Source Public Required .false.), sin@__lpython_overloaded_0__sin: (ExternalSymbol 187 sin@__lpython_overloaded_0__sin 3 __lpython_overloaded_0__sin numpy [] __lpython_overloaded_0__sin Public), sin@__lpython_overloaded_1__sin: (ExternalSymbol 187 sin@__lpython_overloaded_1__sin 3 __lpython_overloaded_1__sin numpy [] __lpython_overloaded_1__sin Public), sinnd: (Variable 187 sinnd [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) Source Public Required .false.)}) elemental_sin (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [sin@__lpython_overloaded_1__sin sin@__lpython_overloaded_1__sin verify1d sin@__lpython_overloaded_0__sin verifynd] [] [(DoLoop ((Var 187 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 256 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 255 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 187 array1d) [(() (Var 187 i) ())] (Real 4 []) RowMajor ()) (Cast (Var 187 i) IntegerToReal (Real 4 []) ()) ())]) (= (Var 187 sin1d) (FunctionCall 187 sin@__lpython_overloaded_1__sin 215 sin [((FunctionCall 187 sin@__lpython_overloaded_1__sin 215 sin [((Var 187 array1d))] (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 [])))]) () ()))] (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 [])))]) () ()) ()) (SubroutineCall 215 verify1d () [((Var 187 array1d)) ((Var 187 sin1d)) ((IntegerConstant 256 (Integer 4 [])))] ()) (DoLoop ((Var 187 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 256 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 255 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 187 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 64 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 63 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 187 k) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 187 arraynd) [(() (Var 187 i) ()) (() (Var 187 j) ()) (() (Var 187 k) ())] (Real 8 []) RowMajor ()) (Cast (IntegerBinOp (IntegerBinOp (Var 187 i) Add (Var 187 j) (Integer 4 []) ()) Add (Var 187 k) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) ())])])]) (= (Var 187 sinnd) (RealBinOp (FunctionCall 187 sin@__lpython_overloaded_0__sin 215 sin [((Var 187 arraynd))] (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) () ()) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) ()) ()) (SubroutineCall 215 verifynd () [((Var 187 arraynd)) ((Var 187 sinnd)) ((IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 16 (Integer 4 [])))] ())] () Public .false. .false.), elemental_sum: (Function (SymbolTable 185 {array_a: (Variable 185 array_a [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) Source Public Required .false.), array_b: (Variable 185 array_b [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) Source Public Required .false.), array_c: (Variable 185 array_c [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) Source Public Required .false.), i: (Variable 185 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 185 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 185 k [] Local () () Default (Integer 4 []) Source Public Required .false.)}) elemental_sum (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [verify1d_sum] [] [(DoLoop ((Var 185 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 100 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 99 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 185 array_a) [(() (Var 185 i) ())] (Real 8 []) RowMajor ()) (Cast (Var 185 i) IntegerToReal (Real 8 []) ()) ())]) (DoLoop ((Var 185 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 100 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 99 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 185 array_b) [(() (Var 185 j) ())] (Real 8 []) RowMajor ()) (Cast (IntegerBinOp (Var 185 j) Add (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) ())]) (= (Var 185 array_c) (RealBinOp (RealBinOp (Var 185 array_a) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) Add (RealBinOp (RealConstant 5.000000 (Real 8 [])) Mul (RealBinOp (Var 185 array_b) Pow (RealConstant 3.000000 (Real 8 [])) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) ()) (SubroutineCall 215 verify1d_sum () [((Var 185 array_a)) ((Var 185 array_b)) ((Var 185 array_c)) ((IntegerConstant 100 (Integer 4 [])))] ())] () Public .false. .false.), elemental_trig_identity: (Function (SymbolTable 189 {arraynd: (Variable 189 arraynd [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 32 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 8 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) Source Public Required .false.), block: (Block (SymbolTable 212 {abs: (ExternalSymbol 212 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_1__abs: (ExternalSymbol 212 abs@__lpython_overloaded_1__abs 79 __lpython_overloaded_1__abs lpython_builtin [] __lpython_overloaded_1__abs Public)}) block [(Assert (RealCompare (FunctionCall 212 abs@__lpython_overloaded_1__abs 212 abs [((RealBinOp (ArrayItem (Var 189 observed1d) [(() (Var 189 i) ())] (Real 4 []) RowMajor ()) Sub (Cast (RealConstant 1.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()))] (Real 4 []) () ()) LtE (Var 189 eps) (Logical 4 []) ()) ())]), cos@__lpython_overloaded_1__cos: (ExternalSymbol 189 cos@__lpython_overloaded_1__cos 3 __lpython_overloaded_1__cos numpy [] __lpython_overloaded_1__cos Public), eps: (Variable 189 eps [] Local () () Default (Real 4 []) Source Public Required .false.), i: (Variable 189 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 189 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 189 k [] Local () () Default (Integer 4 []) Source Public Required .false.), l: (Variable 189 l [] Local () () Default (Integer 4 []) Source Public Required .false.), newshape: (Variable 189 newshape [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), observed: (Variable 189 observed [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 32 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 8 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) Source Public Required .false.), observed1d: (Variable 189 observed1d [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 65536 (Integer 4 [])))]) Source Public Required .false.), sin@__lpython_overloaded_1__sin: (ExternalSymbol 189 sin@__lpython_overloaded_1__sin 3 __lpython_overloaded_1__sin numpy [] __lpython_overloaded_1__sin Public)}) elemental_trig_identity (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_1__abs sin@__lpython_overloaded_1__sin cos@__lpython_overloaded_1__cos abs@__lpython_overloaded_1__abs] [] [(= (Var 189 eps) (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) ()) (DoLoop ((Var 189 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 64 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 63 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 189 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 32 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 31 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 189 k) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 8 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 7 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 189 l) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 4 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 3 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 189 arraynd) [(() (Var 189 i) ()) (() (Var 189 j) ()) (() (Var 189 k) ()) (() (Var 189 l) ())] (Real 4 []) RowMajor ()) (Cast (IntegerBinOp (IntegerBinOp (IntegerBinOp (Var 189 i) Add (Var 189 j) (Integer 4 []) ()) Add (Var 189 k) (Integer 4 []) ()) Add (Var 189 l) (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ())])])])]) (= (Var 189 observed) (RealBinOp (RealBinOp (FunctionCall 189 sin@__lpython_overloaded_1__sin 215 sin [((Var 189 arraynd))] (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 32 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 8 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) () ()) Pow (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 32 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 8 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) ()) Add (RealBinOp (FunctionCall 189 cos@__lpython_overloaded_1__cos 215 cos [((Var 189 arraynd))] (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 32 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 8 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) () ()) Pow (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 32 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 8 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) ()) (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 32 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 8 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) ()) ()) (= (ArrayItem (Var 189 newshape) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 65536 (Integer 4 [])) ()) (= (Var 189 observed1d) (ArrayReshape (Var 189 observed) (Var 189 newshape) (Real 4 [(() ())]) ()) ()) (DoLoop ((Var 189 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 65536 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 65535 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 189 block)])] () Public .false. .false.), sin: (ExternalSymbol 215 sin 3 sin numpy [] sin Public), verify1d: (Function (SymbolTable 180 {array: (Variable 180 array [] InOut () () Default (Real 4 [(() ())]) Source Public Required .false.), block: (Block (SymbolTable 190 {abs: (ExternalSymbol 190 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_1__abs: (ExternalSymbol 190 abs@__lpython_overloaded_1__abs 79 __lpython_overloaded_1__abs lpython_builtin [] __lpython_overloaded_1__abs Public), sin@__lpython_overloaded_1__sin: (ExternalSymbol 190 sin@__lpython_overloaded_1__sin 3 __lpython_overloaded_1__sin numpy [] __lpython_overloaded_1__sin Public)}) block [(Assert (RealCompare (FunctionCall 190 abs@__lpython_overloaded_1__abs 190 abs [((RealBinOp (FunctionCall 190 sin@__lpython_overloaded_1__sin 215 sin [((FunctionCall 190 sin@__lpython_overloaded_1__sin 215 sin [((ArrayItem (Var 180 array) [(() (Var 180 i) ())] (Real 4 []) RowMajor ()))] (Real 4 []) () ()))] (Real 4 []) () ()) Sub (ArrayItem (Var 180 result) [(() (Var 180 i) ())] (Real 4 []) RowMajor ()) (Real 4 []) ()))] (Real 4 []) () ()) LtE (Var 180 eps) (Logical 4 []) ()) ())]), eps: (Variable 180 eps [] Local () () Default (Real 4 []) Source Public Required .false.), i: (Variable 180 i [] Local () () Default (Integer 4 []) Source Public Required .false.), result: (Variable 180 result [] InOut () () Default (Real 4 [(() ())]) Source Public Required .false.), size: (Variable 180 size [] In () () Default (Integer 4 []) Source Public Required .false.)}) verify1d (FunctionType [(Real 4 [(() ())]) (Real 4 [(() ())]) (Integer 4 [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_1__abs sin@__lpython_overloaded_1__sin sin@__lpython_overloaded_1__sin abs@__lpython_overloaded_1__abs sin@__lpython_overloaded_1__sin sin@__lpython_overloaded_1__sin] [(Var 180 array) (Var 180 result) (Var 180 size)] [(= (Var 180 eps) (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) ()) (DoLoop ((Var 180 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 180 size) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 180 block)])] () Public .false. .false.), verify1d_mul: (Function (SymbolTable 184 {array_a: (Variable 184 array_a [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.), array_b: (Variable 184 array_b [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.), block: (Block (SymbolTable 197 {abs: (ExternalSymbol 197 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 197 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public)}) block [(Assert (RealCompare (FunctionCall 197 abs@__lpython_overloaded_0__abs 197 abs [((RealBinOp (RealBinOp (RealBinOp (RealBinOp (ArrayItem (Var 184 array_a) [(() (Var 184 i) ())] (Real 8 []) RowMajor ()) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()) Mul (RealConstant 5.000000 (Real 8 [])) (Real 8 []) ()) Mul (RealBinOp (ArrayItem (Var 184 array_b) [(() (Var 184 i) ())] (Real 8 []) RowMajor ()) Pow (RealConstant 3.000000 (Real 8 [])) (Real 8 []) ()) (Real 8 []) ()) Sub (ArrayItem (Var 184 result) [(() (Var 184 i) ())] (Real 8 []) RowMajor ()) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 184 eps) (Logical 4 []) ()) ())]), eps: (Variable 184 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 184 i [] Local () () Default (Integer 4 []) Source Public Required .false.), result: (Variable 184 result [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.), size: (Variable 184 size [] In () () Default (Integer 4 []) Source Public Required .false.)}) verify1d_mul (FunctionType [(Real 8 [(() ())]) (Real 8 [(() ())]) (Real 8 [(() ())]) (Integer 4 [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs] [(Var 184 array_a) (Var 184 array_b) (Var 184 result) (Var 184 size)] [(= (Var 184 eps) (RealConstant 0.000000 (Real 8 [])) ()) (DoLoop ((Var 184 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 184 size) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 184 block)])] () Public .false. .false.), verify1d_sum: (Function (SymbolTable 183 {array_a: (Variable 183 array_a [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.), array_b: (Variable 183 array_b [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.), block: (Block (SymbolTable 196 {abs: (ExternalSymbol 196 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 196 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public)}) block [(Assert (RealCompare (FunctionCall 196 abs@__lpython_overloaded_0__abs 196 abs [((RealBinOp (RealBinOp (RealBinOp (ArrayItem (Var 183 array_a) [(() (Var 183 i) ())] (Real 8 []) RowMajor ()) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()) Add (RealBinOp (RealConstant 5.000000 (Real 8 [])) Mul (RealBinOp (ArrayItem (Var 183 array_b) [(() (Var 183 i) ())] (Real 8 []) RowMajor ()) Pow (RealConstant 3.000000 (Real 8 [])) (Real 8 []) ()) (Real 8 []) ()) (Real 8 []) ()) Sub (ArrayItem (Var 183 result) [(() (Var 183 i) ())] (Real 8 []) RowMajor ()) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 183 eps) (Logical 4 []) ()) ())]), eps: (Variable 183 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 183 i [] Local () () Default (Integer 4 []) Source Public Required .false.), result: (Variable 183 result [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.), size: (Variable 183 size [] In () () Default (Integer 4 []) Source Public Required .false.)}) verify1d_sum (FunctionType [(Real 8 [(() ())]) (Real 8 [(() ())]) (Real 8 [(() ())]) (Integer 4 [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs] [(Var 183 array_a) (Var 183 array_b) (Var 183 result) (Var 183 size)] [(= (Var 183 eps) (RealConstant 0.000000 (Real 8 [])) ()) (DoLoop ((Var 183 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 183 size) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 183 block)])] () Public .false. .false.), verify2d: (Function (SymbolTable 182 {array: (Variable 182 array [] InOut () () Default (Real 8 [(() ()) (() ())]) Source Public Required .false.), block: (Block (SymbolTable 194 {block: (Block (SymbolTable 195 {abs: (ExternalSymbol 195 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 195 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), cos@__lpython_overloaded_0__cos: (ExternalSymbol 195 cos@__lpython_overloaded_0__cos 3 __lpython_overloaded_0__cos numpy [] __lpython_overloaded_0__cos Public)}) block [(Assert (RealCompare (FunctionCall 195 abs@__lpython_overloaded_0__abs 195 abs [((RealBinOp (RealBinOp (FunctionCall 195 cos@__lpython_overloaded_0__cos 215 cos [((ArrayItem (Var 182 array) [(() (Var 182 i) ()) (() (Var 182 j) ())] (Real 8 []) RowMajor ()))] (Real 8 []) () ()) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()) Sub (ArrayItem (Var 182 result) [(() (Var 182 i) ()) (() (Var 182 j) ())] (Real 8 []) RowMajor ()) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 182 eps) (Logical 4 []) ()) ())])}) block [(DoLoop ((Var 182 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 182 size2) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 194 block)])]), eps: (Variable 182 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 182 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 182 j [] Local () () Default (Integer 4 []) Source Public Required .false.), result: (Variable 182 result [] InOut () () Default (Real 8 [(() ()) (() ())]) Source Public Required .false.), size1: (Variable 182 size1 [] In () () Default (Integer 4 []) Source Public Required .false.), size2: (Variable 182 size2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) verify2d (FunctionType [(Real 8 [(() ()) (() ())]) (Real 8 [(() ()) (() ())]) (Integer 4 []) (Integer 4 [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs cos@__lpython_overloaded_0__cos abs@__lpython_overloaded_0__abs cos@__lpython_overloaded_0__cos abs@__lpython_overloaded_0__abs cos@__lpython_overloaded_0__cos] [(Var 182 array) (Var 182 result) (Var 182 size1) (Var 182 size2)] [(= (Var 182 eps) (RealConstant 0.000000 (Real 8 [])) ()) (DoLoop ((Var 182 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 182 size1) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 182 block)])] () Public .false. .false.), verifynd: (Function (SymbolTable 181 {array: (Variable 181 array [] InOut () () Default (Real 8 [(() ()) (() ()) (() ())]) Source Public Required .false.), block: (Block (SymbolTable 191 {block: (Block (SymbolTable 192 {block: (Block (SymbolTable 193 {abs: (ExternalSymbol 193 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 193 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), sin@__lpython_overloaded_0__sin: (ExternalSymbol 193 sin@__lpython_overloaded_0__sin 3 __lpython_overloaded_0__sin numpy [] __lpython_overloaded_0__sin Public)}) block [(Assert (RealCompare (FunctionCall 193 abs@__lpython_overloaded_0__abs 193 abs [((RealBinOp (RealBinOp (FunctionCall 193 sin@__lpython_overloaded_0__sin 215 sin [((ArrayItem (Var 181 array) [(() (Var 181 i) ()) (() (Var 181 j) ()) (() (Var 181 k) ())] (Real 8 []) RowMajor ()))] (Real 8 []) () ()) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()) Sub (ArrayItem (Var 181 result) [(() (Var 181 i) ()) (() (Var 181 j) ()) (() (Var 181 k) ())] (Real 8 []) RowMajor ()) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 181 eps) (Logical 4 []) ()) ())])}) block [(DoLoop ((Var 181 k) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 181 size3) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 192 block)])])}) block [(DoLoop ((Var 181 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 181 size2) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 191 block)])]), eps: (Variable 181 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 181 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 181 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 181 k [] Local () () Default (Integer 4 []) Source Public Required .false.), result: (Variable 181 result [] InOut () () Default (Real 8 [(() ()) (() ()) (() ())]) Source Public Required .false.), size1: (Variable 181 size1 [] In () () Default (Integer 4 []) Source Public Required .false.), size2: (Variable 181 size2 [] In () () Default (Integer 4 []) Source Public Required .false.), size3: (Variable 181 size3 [] In () () Default (Integer 4 []) Source Public Required .false.)}) verifynd (FunctionType [(Real 8 [(() ()) (() ()) (() ())]) (Real 8 [(() ()) (() ()) (() ())]) (Integer 4 []) (Integer 4 []) (Integer 4 [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs sin@__lpython_overloaded_0__sin abs@__lpython_overloaded_0__abs sin@__lpython_overloaded_0__sin abs@__lpython_overloaded_0__abs sin@__lpython_overloaded_0__sin abs@__lpython_overloaded_0__abs sin@__lpython_overloaded_0__sin] [(Var 181 array) (Var 181 result) (Var 181 size1) (Var 181 size2) (Var 181 size3)] [(= (Var 181 eps) (RealConstant 0.000000 (Real 8 [])) ()) (DoLoop ((Var 181 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 181 size1) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 181 block)])] () Public .false. .false.)}) _global_symbols [numpy lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 213 {_lpython_main_program: (ExternalSymbol 213 _lpython_main_program 215 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 213 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) ()) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_2___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [x] Local (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [x] Local (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_0___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_0___mod 79 __lpython_overloaded_0___mod lpython_builtin [] __lpython_overloaded_0___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_0___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_0___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) RealToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) () Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) diff --git a/tests/reference/asr-expr10-efcbb1b.json b/tests/reference/asr-expr10-efcbb1b.json index 3757275f5e..260a8f8f43 100644 --- a/tests/reference/asr-expr10-efcbb1b.json +++ b/tests/reference/asr-expr10-efcbb1b.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr10-efcbb1b.stdout", - "stdout_hash": "bc5bf5bb688e452fcf8c6043222f35801973c50589b38c061ced785b", + "stdout_hash": "323281cfbf4a16714ccd92c740521a4325bc6375ff6d9ca9e6c0f25d", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr10-efcbb1b.stdout b/tests/reference/asr-expr10-efcbb1b.stdout index d0b600b57f..1eb599790f 100644 --- a/tests/reference/asr-expr10-efcbb1b.stdout +++ b/tests/reference/asr-expr10-efcbb1b.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 103 {}) main_program [] []), test_UnaryOp: (Function (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Integer 4 []) Source Public Required .false.), b: (Variable 2 b [] Local () () Default (Logical 4 []) Source Public Required .false.), b1: (Variable 2 b1 [] Local () () Default (Logical 4 []) Source Public Required .false.), b2: (Variable 2 b2 [] Local () () Default (Logical 4 []) Source Public Required .false.), b3: (Variable 2 b3 [] Local () () Default (Logical 4 []) Source Public Required .false.), c: (Variable 2 c [] Local () () Default (Complex 4 []) Source Public Required .false.), complex: (ExternalSymbol 2 complex 4 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_13__complex: (ExternalSymbol 2 complex@__lpython_overloaded_13__complex 4 __lpython_overloaded_13__complex lpython_builtin [] __lpython_overloaded_13__complex Public), complex@__lpython_overloaded_9__complex: (ExternalSymbol 2 complex@__lpython_overloaded_9__complex 4 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public), f: (Variable 2 f [] Local () () Default (Real 4 []) Source Public Required .false.)}) test_UnaryOp (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_13__complex] [] [(= (Var 2 a) (IntegerConstant 4 (Integer 4 [])) ()) (= (Var 2 a) (IntegerUnaryMinus (IntegerConstant 500 (Integer 4 [])) (Integer 4 []) (IntegerConstant -500 (Integer 4 []))) ()) (= (Var 2 a) (IntegerBitNot (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -6 (Integer 4 []))) ()) (= (Var 2 b) (LogicalNot (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 2 b) (LogicalNot (Cast (IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))) IntegerToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 2 b) (LogicalNot (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 f) (RealConstant 1.000000 (Real 4 [])) ()) (= (Var 2 f) (RealUnaryMinus (Cast (RealConstant 183745.534000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 183745.534000 (Real 4 []))) (Real 4 []) (RealConstant -183745.534000 (Real 4 []))) ()) (= (Var 2 b1) (LogicalConstant .true. (Logical 4 [])) ()) (= (Var 2 b2) (LogicalNot (LogicalConstant .false. (Logical 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 b3) (LogicalNot (Var 2 b2) (Logical 4 []) ()) ()) (= (Var 2 a) (IntegerConstant 1 (Integer 4 [])) ()) (= (Var 2 a) (IntegerUnaryMinus (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToInteger (Integer 4 []) (IntegerConstant 0 (Integer 4 []))) (Integer 4 []) (IntegerConstant 0 (Integer 4 []))) ()) (= (Var 2 a) (IntegerBitNot (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) (IntegerConstant -2 (Integer 4 []))) (Integer 4 []) (IntegerConstant -2 (Integer 4 []))) ()) (= (Var 2 c) (ComplexConstant 1.000000 2.000000 (Complex 4 [])) ()) (= (Var 2 c) (ComplexUnaryMinus (Cast (FunctionCall 2 complex@__lpython_overloaded_13__complex 2 complex [((IntegerConstant 3 (Integer 4 []))) ((RealConstant 65.000000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 3.000000 65.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 3.000000 65.000000 (Complex 4 []))) (Complex 4 []) (ComplexConstant -3.000000 -65.000000 (Complex 4 []))) ()) (= (Var 2 b1) (LogicalConstant .false. (Logical 4 [])) ()) (= (Var 2 b2) (LogicalConstant .true. (Logical 4 [])) ())] () Public .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 105 {}) main_program [] []), test_UnaryOp: (Function (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Integer 4 []) Source Public Required .false.), b: (Variable 2 b [] Local () () Default (Logical 4 []) Source Public Required .false.), b1: (Variable 2 b1 [] Local () () Default (Logical 4 []) Source Public Required .false.), b2: (Variable 2 b2 [] Local () () Default (Logical 4 []) Source Public Required .false.), b3: (Variable 2 b3 [] Local () () Default (Logical 4 []) Source Public Required .false.), c: (Variable 2 c [] Local () () Default (Complex 4 []) Source Public Required .false.), complex: (ExternalSymbol 2 complex 4 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_13__complex: (ExternalSymbol 2 complex@__lpython_overloaded_13__complex 4 __lpython_overloaded_13__complex lpython_builtin [] __lpython_overloaded_13__complex Public), complex@__lpython_overloaded_9__complex: (ExternalSymbol 2 complex@__lpython_overloaded_9__complex 4 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public), f: (Variable 2 f [] Local () () Default (Real 4 []) Source Public Required .false.)}) test_UnaryOp (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_13__complex] [] [(= (Var 2 a) (IntegerConstant 4 (Integer 4 [])) ()) (= (Var 2 a) (IntegerUnaryMinus (IntegerConstant 500 (Integer 4 [])) (Integer 4 []) (IntegerConstant -500 (Integer 4 []))) ()) (= (Var 2 a) (IntegerBitNot (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -6 (Integer 4 []))) ()) (= (Var 2 b) (LogicalNot (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 2 b) (LogicalNot (Cast (IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))) IntegerToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 2 b) (LogicalNot (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 f) (RealConstant 1.000000 (Real 4 [])) ()) (= (Var 2 f) (RealUnaryMinus (Cast (RealConstant 183745.534000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 183745.534000 (Real 4 []))) (Real 4 []) (RealConstant -183745.534000 (Real 4 []))) ()) (= (Var 2 b1) (LogicalConstant .true. (Logical 4 [])) ()) (= (Var 2 b2) (LogicalNot (LogicalConstant .false. (Logical 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 b3) (LogicalNot (Var 2 b2) (Logical 4 []) ()) ()) (= (Var 2 a) (IntegerConstant 1 (Integer 4 [])) ()) (= (Var 2 a) (IntegerUnaryMinus (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToInteger (Integer 4 []) (IntegerConstant 0 (Integer 4 []))) (Integer 4 []) (IntegerConstant 0 (Integer 4 []))) ()) (= (Var 2 a) (IntegerBitNot (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) (IntegerConstant -2 (Integer 4 []))) (Integer 4 []) (IntegerConstant -2 (Integer 4 []))) ()) (= (Var 2 c) (ComplexConstant 1.000000 2.000000 (Complex 4 [])) ()) (= (Var 2 c) (ComplexUnaryMinus (Cast (FunctionCall 2 complex@__lpython_overloaded_13__complex 2 complex [((IntegerConstant 3 (Integer 4 []))) ((RealConstant 65.000000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 3.000000 65.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 3.000000 65.000000 (Complex 4 []))) (Complex 4 []) (ComplexConstant -3.000000 -65.000000 (Complex 4 []))) ()) (= (Var 2 b1) (LogicalConstant .false. (Logical 4 [])) ()) (= (Var 2 b2) (LogicalConstant .true. (Logical 4 [])) ())] () Public .false. .false.)}) []) diff --git a/tests/reference/asr-expr13-81bdb5a.json b/tests/reference/asr-expr13-81bdb5a.json index 06507825e3..aacd6ce2af 100644 --- a/tests/reference/asr-expr13-81bdb5a.json +++ b/tests/reference/asr-expr13-81bdb5a.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr13-81bdb5a.stdout", - "stdout_hash": "025590e8bf5acdbe00dadd1f77b7c6cf708bc8cb085bac8176fa50d5", + "stdout_hash": "e72ca3468901f79878030d9e7e3a3417ee11db0a09a7f5d3d69b2039", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr13-81bdb5a.stdout b/tests/reference/asr-expr13-81bdb5a.stdout index 80ba012773..6e999f3ea2 100644 --- a/tests/reference/asr-expr13-81bdb5a.stdout +++ b/tests/reference/asr-expr13-81bdb5a.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 103 {}) main_program [] []), test_Compare: (Function (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Logical 4 []) Source Public Required .false.), complex: (ExternalSymbol 2 complex 4 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_5__complex: (ExternalSymbol 2 complex@__lpython_overloaded_5__complex 4 __lpython_overloaded_5__complex lpython_builtin [] __lpython_overloaded_5__complex Public), complex@__lpython_overloaded_9__complex: (ExternalSymbol 2 complex@__lpython_overloaded_9__complex 4 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public)}) test_Compare (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_5__complex complex@__lpython_overloaded_9__complex] [] [(= (Var 2 a) (IntegerCompare (IntegerConstant 5 (Integer 4 [])) Gt (IntegerConstant 4 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (IntegerCompare (IntegerConstant 5 (Integer 4 [])) LtE (IntegerConstant 4 (Integer 4 [])) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 2 a) (IntegerCompare (IntegerConstant 5 (Integer 4 [])) Lt (IntegerConstant 4 (Integer 4 [])) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 2 a) (RealCompare (RealConstant 5.600000 (Real 8 [])) GtE (RealConstant 5.599990 (Real 8 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (RealCompare (RealConstant 3.300000 (Real 8 [])) Eq (RealConstant 3.300000 (Real 8 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (RealCompare (RealConstant 3.300000 (Real 8 [])) NotEq (RealConstant 3.400000 (Real 8 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (ComplexCompare (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 4 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 [])) ()) Eq (FunctionCall 2 complex@__lpython_overloaded_5__complex 2 complex [((RealConstant 3.000000 (Real 8 []))) ((RealConstant 4.000000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 [])) ()) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (StringCompare (StringConstant "abc" (Character 1 3 () [])) Gt (StringConstant "abd" (Character 1 3 () [])) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 2 a) (StringCompare (StringConstant "" (Character 1 0 () [])) Lt (StringConstant "s" (Character 1 1 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (StringCompare (StringConstant "-abs" (Character 1 4 () [])) GtE (StringConstant "abs" (Character 1 3 () [])) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 2 a) (StringCompare (StringConstant "abcd" (Character 1 4 () [])) LtE (StringConstant "abcde" (Character 1 5 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (StringCompare (StringConstant "abc" (Character 1 3 () [])) Eq (StringConstant "abc" (Character 1 3 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (StringCompare (StringConstant "abc" (Character 1 3 () [])) NotEq (StringConstant "abd" (Character 1 3 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (StringCompare (StringConstant "" (Character 1 0 () [])) Eq (StringConstant "+" (Character 1 1 () [])) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 2 a) (LogicalCompare (LogicalConstant .true. (Logical 4 [])) Gt (LogicalConstant .false. (Logical 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (LogicalCompare (LogicalConstant .true. (Logical 4 [])) Eq (LogicalConstant .true. (Logical 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (LogicalCompare (LogicalConstant .false. (Logical 4 [])) NotEq (LogicalConstant .true. (Logical 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (LogicalCompare (LogicalConstant .false. (Logical 4 [])) GtE (LogicalConstant .true. (Logical 4 [])) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ())] () Public .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 105 {}) main_program [] []), test_Compare: (Function (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Logical 4 []) Source Public Required .false.), complex: (ExternalSymbol 2 complex 4 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_5__complex: (ExternalSymbol 2 complex@__lpython_overloaded_5__complex 4 __lpython_overloaded_5__complex lpython_builtin [] __lpython_overloaded_5__complex Public), complex@__lpython_overloaded_9__complex: (ExternalSymbol 2 complex@__lpython_overloaded_9__complex 4 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public)}) test_Compare (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_5__complex complex@__lpython_overloaded_9__complex] [] [(= (Var 2 a) (IntegerCompare (IntegerConstant 5 (Integer 4 [])) Gt (IntegerConstant 4 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (IntegerCompare (IntegerConstant 5 (Integer 4 [])) LtE (IntegerConstant 4 (Integer 4 [])) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 2 a) (IntegerCompare (IntegerConstant 5 (Integer 4 [])) Lt (IntegerConstant 4 (Integer 4 [])) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 2 a) (RealCompare (RealConstant 5.600000 (Real 8 [])) GtE (RealConstant 5.599990 (Real 8 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (RealCompare (RealConstant 3.300000 (Real 8 [])) Eq (RealConstant 3.300000 (Real 8 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (RealCompare (RealConstant 3.300000 (Real 8 [])) NotEq (RealConstant 3.400000 (Real 8 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (ComplexCompare (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 4 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 [])) ()) Eq (FunctionCall 2 complex@__lpython_overloaded_5__complex 2 complex [((RealConstant 3.000000 (Real 8 []))) ((RealConstant 4.000000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 [])) ()) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (StringCompare (StringConstant "abc" (Character 1 3 () [])) Gt (StringConstant "abd" (Character 1 3 () [])) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 2 a) (StringCompare (StringConstant "" (Character 1 0 () [])) Lt (StringConstant "s" (Character 1 1 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (StringCompare (StringConstant "-abs" (Character 1 4 () [])) GtE (StringConstant "abs" (Character 1 3 () [])) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 2 a) (StringCompare (StringConstant "abcd" (Character 1 4 () [])) LtE (StringConstant "abcde" (Character 1 5 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (StringCompare (StringConstant "abc" (Character 1 3 () [])) Eq (StringConstant "abc" (Character 1 3 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (StringCompare (StringConstant "abc" (Character 1 3 () [])) NotEq (StringConstant "abd" (Character 1 3 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (StringCompare (StringConstant "" (Character 1 0 () [])) Eq (StringConstant "+" (Character 1 1 () [])) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 2 a) (LogicalCompare (LogicalConstant .true. (Logical 4 [])) Gt (LogicalConstant .false. (Logical 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (LogicalCompare (LogicalConstant .true. (Logical 4 [])) Eq (LogicalConstant .true. (Logical 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (LogicalCompare (LogicalConstant .false. (Logical 4 [])) NotEq (LogicalConstant .true. (Logical 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (LogicalCompare (LogicalConstant .false. (Logical 4 [])) GtE (LogicalConstant .true. (Logical 4 [])) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ())] () Public .false. .false.)}) []) diff --git a/tests/reference/asr-expr7-480ba2f.json b/tests/reference/asr-expr7-480ba2f.json index cc1d0003e4..353069bc6d 100644 --- a/tests/reference/asr-expr7-480ba2f.json +++ b/tests/reference/asr-expr7-480ba2f.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr7-480ba2f.stdout", - "stdout_hash": "26fc3b9cdc1b45704207b9cf8a0463177f7dc75460979220fbbe3951", + "stdout_hash": "eebc9a59edb74e5f9a777611c882396d75632c8c4e3f4b6cad6ea587", "stderr": "asr-expr7-480ba2f.stderr", "stderr_hash": "6e9790ac88db1a9ead8f64a91ba8a6605de67167037908a74b77be0c", "returncode": 0 diff --git a/tests/reference/asr-expr7-480ba2f.stdout b/tests/reference/asr-expr7-480ba2f.stdout index e38b0ff239..d3b786d8dd 100644 --- a/tests/reference/asr-expr7-480ba2f.stdout +++ b/tests/reference/asr-expr7-480ba2f.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 107 {_lpython_main_program: (Function (SymbolTable 106 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [main0] [] [(SubroutineCall 107 main0 () [] ())] () Public .false. .false.), main0: (Function (SymbolTable 4 {c: (Variable 4 c [] Local () () Default (Integer 4 []) Source Public Required .false.)}) main0 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_pow test_pow_1] [] [(SubroutineCall 107 test_pow () [] ()) (= (Var 4 c) (FunctionCall 107 test_pow_1 () [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 [])))] (Integer 4 []) () ()) ())] () Public .false. .false.), test_pow: (Function (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Integer 4 []) Source Public Required .false.), pow: (ExternalSymbol 2 pow 6 pow lpython_builtin [] pow Private), pow@__lpython_overloaded_0__pow: (ExternalSymbol 2 pow@__lpython_overloaded_0__pow 6 __lpython_overloaded_0__pow lpython_builtin [] __lpython_overloaded_0__pow Public)}) test_pow (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [pow@__lpython_overloaded_0__pow] [] [(= (Var 2 a) (Cast (FunctionCall 2 pow@__lpython_overloaded_0__pow 2 pow [((IntegerConstant 2 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 [])))] (Real 8 []) (RealConstant 4.000000 (Real 8 [])) ()) RealToInteger (Integer 4 []) (IntegerConstant 4 (Integer 4 []))) ())] () Public .false. .false.), test_pow_1: (Function (SymbolTable 3 {_lpython_return_variable: (Variable 3 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), a: (Variable 3 a [] In () () Default (Integer 4 []) Source Public Required .false.), b: (Variable 3 b [] In () () Default (Integer 4 []) Source Public Required .false.), pow: (ExternalSymbol 3 pow 6 pow lpython_builtin [] pow Private), pow@__lpython_overloaded_0__pow: (ExternalSymbol 3 pow@__lpython_overloaded_0__pow 6 __lpython_overloaded_0__pow lpython_builtin [] __lpython_overloaded_0__pow Public), res: (Variable 3 res [] Local () () Default (Integer 4 []) Source Public Required .false.)}) test_pow_1 (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [pow@__lpython_overloaded_0__pow] [(Var 3 a) (Var 3 b)] [(= (Var 3 res) (Cast (FunctionCall 3 pow@__lpython_overloaded_0__pow 3 pow [((Var 3 a)) ((Var 3 b))] (Real 8 []) () ()) RealToInteger (Integer 4 []) ()) ()) (= (Var 3 _lpython_return_variable) (Var 3 res) ()) (Return)] (Var 3 _lpython_return_variable) Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 105 {_lpython_main_program: (ExternalSymbol 105 _lpython_main_program 107 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 105 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 109 {_lpython_main_program: (Function (SymbolTable 108 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [main0] [] [(SubroutineCall 109 main0 () [] ())] () Public .false. .false.), main0: (Function (SymbolTable 4 {c: (Variable 4 c [] Local () () Default (Integer 4 []) Source Public Required .false.)}) main0 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_pow test_pow_1] [] [(SubroutineCall 109 test_pow () [] ()) (= (Var 4 c) (FunctionCall 109 test_pow_1 () [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 [])))] (Integer 4 []) () ()) ())] () Public .false. .false.), test_pow: (Function (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Integer 4 []) Source Public Required .false.), pow: (ExternalSymbol 2 pow 6 pow lpython_builtin [] pow Private), pow@__lpython_overloaded_0__pow: (ExternalSymbol 2 pow@__lpython_overloaded_0__pow 6 __lpython_overloaded_0__pow lpython_builtin [] __lpython_overloaded_0__pow Public)}) test_pow (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [pow@__lpython_overloaded_0__pow] [] [(= (Var 2 a) (Cast (FunctionCall 2 pow@__lpython_overloaded_0__pow 2 pow [((IntegerConstant 2 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 [])))] (Real 8 []) (RealConstant 4.000000 (Real 8 [])) ()) RealToInteger (Integer 4 []) (IntegerConstant 4 (Integer 4 []))) ())] () Public .false. .false.), test_pow_1: (Function (SymbolTable 3 {_lpython_return_variable: (Variable 3 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), a: (Variable 3 a [] In () () Default (Integer 4 []) Source Public Required .false.), b: (Variable 3 b [] In () () Default (Integer 4 []) Source Public Required .false.), pow: (ExternalSymbol 3 pow 6 pow lpython_builtin [] pow Private), pow@__lpython_overloaded_0__pow: (ExternalSymbol 3 pow@__lpython_overloaded_0__pow 6 __lpython_overloaded_0__pow lpython_builtin [] __lpython_overloaded_0__pow Public), res: (Variable 3 res [] Local () () Default (Integer 4 []) Source Public Required .false.)}) test_pow_1 (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [pow@__lpython_overloaded_0__pow] [(Var 3 a) (Var 3 b)] [(= (Var 3 res) (Cast (FunctionCall 3 pow@__lpython_overloaded_0__pow 3 pow [((Var 3 a)) ((Var 3 b))] (Real 8 []) () ()) RealToInteger (Integer 4 []) ()) ()) (= (Var 3 _lpython_return_variable) (Var 3 res) ()) (Return)] (Var 3 _lpython_return_variable) Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 107 {_lpython_main_program: (ExternalSymbol 107 _lpython_main_program 109 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 107 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-expr8-6beda60.json b/tests/reference/asr-expr8-6beda60.json index b273963c0e..9f2957e196 100644 --- a/tests/reference/asr-expr8-6beda60.json +++ b/tests/reference/asr-expr8-6beda60.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr8-6beda60.stdout", - "stdout_hash": "2c7e31e74bb4695f27abc1aaa7843455e185dabd40ff790532da8edf", + "stdout_hash": "02f27149ca1138b7c202c6d8399302ae9f98b0232275da07db9ea5f7", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr8-6beda60.stdout b/tests/reference/asr-expr8-6beda60.stdout index 2f74583fb1..af28e0faa4 100644 --- a/tests/reference/asr-expr8-6beda60.stdout +++ b/tests/reference/asr-expr8-6beda60.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 103 {}) main_program [] []), test_binop: (Function (SymbolTable 2 {_lpython_floordiv: (ExternalSymbol 2 _lpython_floordiv 4 _lpython_floordiv lpython_builtin [] _lpython_floordiv Private), _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv: (ExternalSymbol 2 _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv 4 __lpython_overloaded_6___lpython_floordiv lpython_builtin [] __lpython_overloaded_6___lpython_floordiv Public), b1: (Variable 2 b1 [] Local () () Default (Logical 4 []) Source Public Required .false.), b2: (Variable 2 b2 [] Local () () Default (Logical 4 []) Source Public Required .false.), x: (Variable 2 x [] Local () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 2 x2 [] Local () () Default (Real 4 []) Source Public Required .false.)}) test_binop (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [_lpython_floordiv@__lpython_overloaded_6___lpython_floordiv] [] [(= (Var 2 x) (IntegerBinOp (IntegerConstant 2 (Integer 4 [])) Pow (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) (IntegerConstant 8 (Integer 4 []))) ()) (= (Var 2 x2) (Cast (RealBinOp (RealConstant 2.000000 (Real 8 [])) Pow (RealConstant 3.500000 (Real 8 [])) (Real 8 []) (RealConstant 11.313708 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 11.313708 (Real 4 []))) ()) (= (Var 2 x) (IntegerBinOp (IntegerConstant 54 (Integer 4 [])) Sub (IntegerConstant 100 (Integer 4 [])) (Integer 4 []) (IntegerConstant -46 (Integer 4 []))) ()) (= (Var 2 x2) (Cast (RealBinOp (RealBinOp (RealConstant 3.454000 (Real 8 [])) Sub (RealConstant 765.430000 (Real 8 [])) (Real 8 []) (RealConstant -761.976000 (Real 8 []))) Add (RealConstant 534.600000 (Real 8 [])) (Real 8 []) (RealConstant -227.376000 (Real 8 []))) RealToReal (Real 4 []) (RealConstant -227.376000 (Real 4 []))) ()) (= (Var 2 x2) (Cast (RealBinOp (RealConstant 5346.565000 (Real 8 [])) Mul (RealConstant 3.450000 (Real 8 [])) (Real 8 []) (RealConstant 18445.649250 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 18445.649250 (Real 4 []))) ()) (= (Var 2 x2) (Cast (RealBinOp (RealConstant 5346.565000 (Real 8 [])) Pow (RealConstant 3.450000 (Real 8 [])) (Real 8 []) (RealConstant 7275422789925.217773 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 7275422789925.217773 (Real 4 []))) ()) (= (Var 2 x) (IntegerBinOp (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Add (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (= (Var 2 x) (IntegerBinOp (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Sub (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (= (Var 2 x) (IntegerBinOp (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Mul (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (= (Var 2 x) (IntegerBinOp (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Pow (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (= (Var 2 b1) (LogicalConstant .true. (Logical 4 [])) ()) (= (Var 2 b2) (LogicalConstant .false. (Logical 4 [])) ()) (= (Var 2 x) (Cast (FunctionCall 2 _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv 2 _lpython_floordiv [((Var 2 b1)) ((Var 2 b1))] (Logical 4 []) () ()) LogicalToInteger (Integer 4 []) ()) ()) (= (Var 2 x) (IntegerBinOp (Cast (Var 2 b1) LogicalToInteger (Integer 4 []) ()) Pow (Cast (Var 2 b2) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ())] () Public .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 105 {}) main_program [] []), test_binop: (Function (SymbolTable 2 {_lpython_floordiv: (ExternalSymbol 2 _lpython_floordiv 4 _lpython_floordiv lpython_builtin [] _lpython_floordiv Private), _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv: (ExternalSymbol 2 _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv 4 __lpython_overloaded_6___lpython_floordiv lpython_builtin [] __lpython_overloaded_6___lpython_floordiv Public), b1: (Variable 2 b1 [] Local () () Default (Logical 4 []) Source Public Required .false.), b2: (Variable 2 b2 [] Local () () Default (Logical 4 []) Source Public Required .false.), x: (Variable 2 x [] Local () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 2 x2 [] Local () () Default (Real 4 []) Source Public Required .false.)}) test_binop (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [_lpython_floordiv@__lpython_overloaded_6___lpython_floordiv] [] [(= (Var 2 x) (IntegerBinOp (IntegerConstant 2 (Integer 4 [])) Pow (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) (IntegerConstant 8 (Integer 4 []))) ()) (= (Var 2 x2) (Cast (RealBinOp (RealConstant 2.000000 (Real 8 [])) Pow (RealConstant 3.500000 (Real 8 [])) (Real 8 []) (RealConstant 11.313708 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 11.313708 (Real 4 []))) ()) (= (Var 2 x) (IntegerBinOp (IntegerConstant 54 (Integer 4 [])) Sub (IntegerConstant 100 (Integer 4 [])) (Integer 4 []) (IntegerConstant -46 (Integer 4 []))) ()) (= (Var 2 x2) (Cast (RealBinOp (RealBinOp (RealConstant 3.454000 (Real 8 [])) Sub (RealConstant 765.430000 (Real 8 [])) (Real 8 []) (RealConstant -761.976000 (Real 8 []))) Add (RealConstant 534.600000 (Real 8 [])) (Real 8 []) (RealConstant -227.376000 (Real 8 []))) RealToReal (Real 4 []) (RealConstant -227.376000 (Real 4 []))) ()) (= (Var 2 x2) (Cast (RealBinOp (RealConstant 5346.565000 (Real 8 [])) Mul (RealConstant 3.450000 (Real 8 [])) (Real 8 []) (RealConstant 18445.649250 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 18445.649250 (Real 4 []))) ()) (= (Var 2 x2) (Cast (RealBinOp (RealConstant 5346.565000 (Real 8 [])) Pow (RealConstant 3.450000 (Real 8 [])) (Real 8 []) (RealConstant 7275422789925.217773 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 7275422789925.217773 (Real 4 []))) ()) (= (Var 2 x) (IntegerBinOp (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Add (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (= (Var 2 x) (IntegerBinOp (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Sub (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (= (Var 2 x) (IntegerBinOp (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Mul (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (= (Var 2 x) (IntegerBinOp (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Pow (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (= (Var 2 b1) (LogicalConstant .true. (Logical 4 [])) ()) (= (Var 2 b2) (LogicalConstant .false. (Logical 4 [])) ()) (= (Var 2 x) (Cast (FunctionCall 2 _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv 2 _lpython_floordiv [((Var 2 b1)) ((Var 2 b1))] (Logical 4 []) () ()) LogicalToInteger (Integer 4 []) ()) ()) (= (Var 2 x) (IntegerBinOp (Cast (Var 2 b1) LogicalToInteger (Integer 4 []) ()) Pow (Cast (Var 2 b2) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ())] () Public .false. .false.)}) []) diff --git a/tests/reference/asr-expr_05-3a37324.json b/tests/reference/asr-expr_05-3a37324.json index d598d63ee8..90fd309f98 100644 --- a/tests/reference/asr-expr_05-3a37324.json +++ b/tests/reference/asr-expr_05-3a37324.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr_05-3a37324.stdout", - "stdout_hash": "0df5c423381d79138381d8ea8a63fb79e926a5b6a99632ee98eea41e", + "stdout_hash": "b547f399c48f92668d81edb5d4a9370cbec5de66d8b34ea17e9d990a", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr_05-3a37324.stdout b/tests/reference/asr-expr_05-3a37324.stdout index 7c3a69517a..2ed9b8da77 100644 --- a/tests/reference/asr-expr_05-3a37324.stdout +++ b/tests/reference/asr-expr_05-3a37324.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 107 {_lpython_main_program: (Function (SymbolTable 106 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [main0] [] [(SubroutineCall 107 main0 () [] ())] () Public .false. .false.), main0: (Function (SymbolTable 4 {_mod: (ExternalSymbol 4 _mod 6 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_0___mod: (ExternalSymbol 4 _mod@__lpython_overloaded_0___mod 6 __lpython_overloaded_0___mod lpython_builtin [] __lpython_overloaded_0___mod Public), _mod@__lpython_overloaded_3___mod: (ExternalSymbol 4 _mod@__lpython_overloaded_3___mod 6 __lpython_overloaded_3___mod lpython_builtin [] __lpython_overloaded_3___mod Public), a: (Variable 4 a [] Local () () Default (Integer 4 []) Source Public Required .false.), abs: (ExternalSymbol 4 abs 6 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 4 abs@__lpython_overloaded_0__abs 6 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), b: (Variable 4 b [] Local () () Default (Integer 4 []) Source Public Required .false.), eps: (Variable 4 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 4 i [] Local () () Default (Integer 8 []) Source Public Required .false.), i1: (Variable 4 i1 [] Local (IntegerConstant 10 (Integer 4 [])) () Default (Integer 4 []) Source Public Required .false.), i2: (Variable 4 i2 [] Local (IntegerConstant 4 (Integer 4 [])) () Default (Integer 4 []) Source Public Required .false.), i3: (Variable 4 i3 [] Local (IntegerConstant 432534534 (Integer 4 [])) () Default (Integer 4 []) Source Public Required .false.), i4: (Variable 4 i4 [] Local (IntegerUnaryMinus (IntegerConstant 4325 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4325 (Integer 4 []))) () Default (Integer 4 []) Source Public Required .false.)}) main0 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_multiply test_mod test_mod test_mod _mod@__lpython_overloaded_0___mod test_mod _mod@__lpython_overloaded_0___mod _mod@__lpython_overloaded_0___mod _mod@__lpython_overloaded_0___mod _mod@__lpython_overloaded_0___mod abs@__lpython_overloaded_0__abs _mod@__lpython_overloaded_3___mod abs@__lpython_overloaded_0__abs _mod@__lpython_overloaded_3___mod] [] [(= (Var 4 a) (IntegerConstant 10 (Integer 4 [])) ()) (= (Var 4 b) (IntegerUnaryMinus (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5 (Integer 4 []))) ()) (= (Var 4 eps) (RealConstant 0.000000 (Real 8 [])) ()) (Assert (IntegerCompare (FunctionCall 107 test_multiply () [((Var 4 a)) ((Var 4 b))] (Integer 4 []) () ()) Eq (IntegerUnaryMinus (IntegerConstant 50 (Integer 4 [])) (Integer 4 []) (IntegerConstant -50 (Integer 4 []))) (Logical 4 []) ()) ()) (= (Var 4 i) (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) ()) (= (Var 4 i) (IntegerBinOp (Var 4 i) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) ()) (Integer 8 []) ()) ()) (Assert (IntegerCompare (Var 4 i) Eq (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 2 (Integer 8 []))) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerConstant 2 (Integer 4 [])) ()) (= (Var 4 b) (IntegerConstant 5 (Integer 4 [])) ()) (Assert (IntegerCompare (FunctionCall 107 test_mod () [((Var 4 a)) ((Var 4 b))] (Integer 4 []) () ()) Eq (IntegerConstant 2 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 107 test_mod () [((IntegerConstant 23 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 [])))] (Integer 4 []) () ()) Eq (IntegerConstant 2 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerConstant 123282374 (Integer 4 [])) ()) (= (Var 4 b) (IntegerConstant 32771 (Integer 4 [])) ()) (Assert (IntegerCompare (FunctionCall 107 test_mod () [((Var 4 a)) ((Var 4 b))] (Integer 4 []) () ()) Eq (IntegerConstant 30643 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerUnaryMinus (IntegerConstant 5345 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5345 (Integer 4 []))) ()) (= (Var 4 b) (IntegerUnaryMinus (IntegerConstant 534 (Integer 4 [])) (Integer 4 []) (IntegerConstant -534 (Integer 4 []))) ()) (Assert (IntegerCompare (FunctionCall 4 _mod@__lpython_overloaded_0___mod 4 _mod [((Var 4 a)) ((Var 4 b))] (Integer 4 []) () ()) Eq (IntegerUnaryMinus (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5 (Integer 4 []))) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerUnaryMinus (IntegerConstant 123282374 (Integer 4 [])) (Integer 4 []) (IntegerConstant -123282374 (Integer 4 []))) ()) (= (Var 4 b) (IntegerConstant 32771 (Integer 4 [])) ()) (Assert (IntegerCompare (FunctionCall 107 test_mod () [((Var 4 a)) ((Var 4 b))] (Integer 4 []) () ()) Eq (IntegerConstant 2128 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerConstant 10 (Integer 4 [])) BitOr (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) (IntegerConstant 14 (Integer 4 []))) Eq (IntegerConstant 14 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerUnaryMinus (IntegerConstant 105346 (Integer 4 [])) (Integer 4 []) (IntegerConstant -105346 (Integer 4 []))) BitOr (IntegerUnaryMinus (IntegerConstant 32771 (Integer 4 [])) (Integer 4 []) (IntegerConstant -32771 (Integer 4 []))) (Integer 4 []) (IntegerConstant -32769 (Integer 4 []))) Eq (IntegerUnaryMinus (IntegerConstant 32769 (Integer 4 [])) (Integer 4 []) (IntegerConstant -32769 (Integer 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerConstant 10 (Integer 4 [])) BitAnd (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) (IntegerConstant 0 (Integer 4 []))) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerUnaryMinus (IntegerConstant 105346 (Integer 4 [])) (Integer 4 []) (IntegerConstant -105346 (Integer 4 []))) BitAnd (IntegerUnaryMinus (IntegerConstant 32771 (Integer 4 [])) (Integer 4 []) (IntegerConstant -32771 (Integer 4 []))) (Integer 4 []) (IntegerConstant -105348 (Integer 4 []))) Eq (IntegerUnaryMinus (IntegerConstant 105348 (Integer 4 [])) (Integer 4 []) (IntegerConstant -105348 (Integer 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerConstant 10 (Integer 4 [])) BitXor (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) (IntegerConstant 14 (Integer 4 []))) Eq (IntegerConstant 14 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerUnaryMinus (IntegerConstant 105346 (Integer 4 [])) (Integer 4 []) (IntegerConstant -105346 (Integer 4 []))) BitXor (IntegerUnaryMinus (IntegerConstant 32771 (Integer 4 [])) (Integer 4 []) (IntegerConstant -32771 (Integer 4 []))) (Integer 4 []) (IntegerConstant 72579 (Integer 4 []))) Eq (IntegerConstant 72579 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerConstant 10 (Integer 4 [])) BitRShift (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 5 (Integer 4 []))) Eq (IntegerConstant 5 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerConstant 5 (Integer 4 [])) BitLShift (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 10 (Integer 4 []))) Eq (IntegerConstant 10 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 4 i1) (IntegerConstant 10 (Integer 4 [])) ()) (= (Var 4 i2) (IntegerConstant 4 (Integer 4 [])) ()) (Assert (IntegerCompare (IntegerBinOp (Var 4 i1) BitLShift (Var 4 i2) (Integer 4 []) ()) Eq (IntegerConstant 160 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (Var 4 i1) BitRShift (Var 4 i2) (Integer 4 []) ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (Var 4 i1) BitAnd (Var 4 i2) (Integer 4 []) ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (Var 4 i1) BitOr (Var 4 i2) (Integer 4 []) ()) Eq (IntegerConstant 14 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (Var 4 i1) BitXor (Var 4 i2) (Integer 4 []) ()) Eq (IntegerConstant 14 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerUnaryMinus (Var 4 i1) (Integer 4 []) ()) BitXor (IntegerUnaryMinus (Var 4 i2) (Integer 4 []) ()) (Integer 4 []) ()) Eq (IntegerConstant 10 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 i3) (IntegerConstant 432534534 (Integer 4 [])) ()) (= (Var 4 i4) (IntegerUnaryMinus (IntegerConstant 4325 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4325 (Integer 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (Var 4 i3) BitOr (Var 4 i4) (Integer 4 []) ()) Eq (IntegerUnaryMinus (IntegerConstant 225 (Integer 4 [])) (Integer 4 []) (IntegerConstant -225 (Integer 4 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (Var 4 i4) BitRShift (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) ()) Eq (IntegerUnaryMinus (IntegerConstant 541 (Integer 4 [])) (Integer 4 []) (IntegerConstant -541 (Integer 4 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerUnaryMinus (Var 4 i3) (Integer 4 []) ()) BitAnd (Var 4 i4) (Integer 4 []) ()) Eq (IntegerUnaryMinus (IntegerConstant 432534758 (Integer 4 [])) (Integer 4 []) (IntegerConstant -432534758 (Integer 4 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerUnaryMinus (Var 4 i3) (Integer 4 []) ()) BitXor (Var 4 i4) (Integer 4 []) ()) Eq (IntegerConstant 432530657 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerConstant 10 (Integer 4 [])) ()) (= (Var 4 a) (IntegerBinOp (Var 4 a) BitOr (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 4 a) Eq (IntegerConstant 14 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerBinOp (Var 4 a) BitXor (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 4 a) Eq (IntegerConstant 13 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 b) (IntegerConstant 10 (Integer 4 [])) ()) (= (Var 4 a) (FunctionCall 4 _mod@__lpython_overloaded_0___mod 4 _mod [((Var 4 a)) ((Var 4 b))] (Integer 4 []) () ()) ()) (Assert (IntegerCompare (Var 4 a) Eq (IntegerConstant 3 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 b) (IntegerConstant 4 (Integer 4 [])) ()) (= (Var 4 a) (IntegerBinOp (Var 4 a) BitLShift (Var 4 b) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 4 a) Eq (IntegerConstant 48 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerBinOp (Var 4 a) BitRShift (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 4 a) Eq (IntegerConstant 24 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerBinOp (Var 4 a) BitAnd (Var 4 b) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 4 a) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 b) (IntegerBinOp (Var 4 b) Pow (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 4 b) Eq (IntegerConstant 256 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 4 _mod@__lpython_overloaded_0___mod 4 _mod [((IntegerUnaryMinus (IntegerConstant 8 (Integer 4 [])) (Integer 4 []) (IntegerConstant -8 (Integer 4 [])))) ((IntegerConstant 3 (Integer 4 [])))] (Integer 4 []) (IntegerConstant 1 (Integer 4 [])) ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 4 _mod@__lpython_overloaded_0___mod 4 _mod [((IntegerConstant 8 (Integer 4 []))) ((IntegerUnaryMinus (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) (IntegerConstant -3 (Integer 4 []))))] (Integer 4 []) (IntegerConstant -1 (Integer 4 [])) ()) Eq (IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 4 _mod@__lpython_overloaded_0___mod 4 _mod [((IntegerUnaryMinus (IntegerConstant 8 (Integer 4 [])) (Integer 4 []) (IntegerConstant -8 (Integer 4 [])))) ((IntegerUnaryMinus (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) (IntegerConstant -3 (Integer 4 []))))] (Integer 4 []) (IntegerConstant -2 (Integer 4 [])) ()) Eq (IntegerUnaryMinus (IntegerConstant 2 (Integer 4 [])) (Integer 4 []) (IntegerConstant -2 (Integer 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (FunctionCall 4 _mod@__lpython_overloaded_3___mod 4 _mod [((RealConstant 11.000000 (Real 8 []))) ((RealUnaryMinus (RealConstant 3.000000 (Real 8 [])) (Real 8 []) (RealConstant -3.000000 (Real 8 []))))] (Real 8 []) (RealConstant -1.000000 (Real 8 [])) ()) Sub (RealUnaryMinus (RealConstant 1.000000 (Real 8 [])) (Real 8 []) (RealConstant -1.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 4 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (FunctionCall 4 _mod@__lpython_overloaded_3___mod 4 _mod [((RealUnaryMinus (RealConstant 11.000000 (Real 8 [])) (Real 8 []) (RealConstant -11.000000 (Real 8 [])))) ((RealConstant 3.000000 (Real 8 [])))] (Real 8 []) (RealConstant 1.000000 (Real 8 [])) ()) Sub (RealConstant 1.000000 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 4 eps) (Logical 4 []) ()) ())] () Public .false. .false.), test_mod: (Function (SymbolTable 3 {_lpython_return_variable: (Variable 3 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 3 _mod 6 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_0___mod: (ExternalSymbol 3 _mod@__lpython_overloaded_0___mod 6 __lpython_overloaded_0___mod lpython_builtin [] __lpython_overloaded_0___mod Public), a: (Variable 3 a [] In () () Default (Integer 4 []) Source Public Required .false.), b: (Variable 3 b [] In () () Default (Integer 4 []) Source Public Required .false.)}) test_mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_0___mod] [(Var 3 a) (Var 3 b)] [(= (Var 3 _lpython_return_variable) (FunctionCall 3 _mod@__lpython_overloaded_0___mod 3 _mod [((Var 3 a)) ((Var 3 b))] (Integer 4 []) () ()) ()) (Return)] (Var 3 _lpython_return_variable) Public .false. .false.), test_multiply: (Function (SymbolTable 2 {_lpython_return_variable: (Variable 2 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), a: (Variable 2 a [] In () () Default (Integer 4 []) Source Public Required .false.), b: (Variable 2 b [] In () () Default (Integer 4 []) Source Public Required .false.)}) test_multiply (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 2 a) (Var 2 b)] [(= (Var 2 _lpython_return_variable) (IntegerBinOp (Var 2 a) Mul (Var 2 b) (Integer 4 []) ()) ()) (Return)] (Var 2 _lpython_return_variable) Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 105 {_lpython_main_program: (ExternalSymbol 105 _lpython_main_program 107 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 105 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 109 {_lpython_main_program: (Function (SymbolTable 108 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [main0] [] [(SubroutineCall 109 main0 () [] ())] () Public .false. .false.), main0: (Function (SymbolTable 4 {_mod: (ExternalSymbol 4 _mod 6 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_0___mod: (ExternalSymbol 4 _mod@__lpython_overloaded_0___mod 6 __lpython_overloaded_0___mod lpython_builtin [] __lpython_overloaded_0___mod Public), _mod@__lpython_overloaded_3___mod: (ExternalSymbol 4 _mod@__lpython_overloaded_3___mod 6 __lpython_overloaded_3___mod lpython_builtin [] __lpython_overloaded_3___mod Public), a: (Variable 4 a [] Local () () Default (Integer 4 []) Source Public Required .false.), abs: (ExternalSymbol 4 abs 6 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 4 abs@__lpython_overloaded_0__abs 6 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), b: (Variable 4 b [] Local () () Default (Integer 4 []) Source Public Required .false.), eps: (Variable 4 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 4 i [] Local () () Default (Integer 8 []) Source Public Required .false.), i1: (Variable 4 i1 [] Local (IntegerConstant 10 (Integer 4 [])) () Default (Integer 4 []) Source Public Required .false.), i2: (Variable 4 i2 [] Local (IntegerConstant 4 (Integer 4 [])) () Default (Integer 4 []) Source Public Required .false.), i3: (Variable 4 i3 [] Local (IntegerConstant 432534534 (Integer 4 [])) () Default (Integer 4 []) Source Public Required .false.), i4: (Variable 4 i4 [] Local (IntegerUnaryMinus (IntegerConstant 4325 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4325 (Integer 4 []))) () Default (Integer 4 []) Source Public Required .false.)}) main0 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_multiply test_mod test_mod test_mod _mod@__lpython_overloaded_0___mod test_mod _mod@__lpython_overloaded_0___mod _mod@__lpython_overloaded_0___mod _mod@__lpython_overloaded_0___mod _mod@__lpython_overloaded_0___mod abs@__lpython_overloaded_0__abs _mod@__lpython_overloaded_3___mod abs@__lpython_overloaded_0__abs _mod@__lpython_overloaded_3___mod] [] [(= (Var 4 a) (IntegerConstant 10 (Integer 4 [])) ()) (= (Var 4 b) (IntegerUnaryMinus (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5 (Integer 4 []))) ()) (= (Var 4 eps) (RealConstant 0.000000 (Real 8 [])) ()) (Assert (IntegerCompare (FunctionCall 109 test_multiply () [((Var 4 a)) ((Var 4 b))] (Integer 4 []) () ()) Eq (IntegerUnaryMinus (IntegerConstant 50 (Integer 4 [])) (Integer 4 []) (IntegerConstant -50 (Integer 4 []))) (Logical 4 []) ()) ()) (= (Var 4 i) (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) ()) (= (Var 4 i) (IntegerBinOp (Var 4 i) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) ()) (Integer 8 []) ()) ()) (Assert (IntegerCompare (Var 4 i) Eq (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 2 (Integer 8 []))) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerConstant 2 (Integer 4 [])) ()) (= (Var 4 b) (IntegerConstant 5 (Integer 4 [])) ()) (Assert (IntegerCompare (FunctionCall 109 test_mod () [((Var 4 a)) ((Var 4 b))] (Integer 4 []) () ()) Eq (IntegerConstant 2 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 109 test_mod () [((IntegerConstant 23 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 [])))] (Integer 4 []) () ()) Eq (IntegerConstant 2 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerConstant 123282374 (Integer 4 [])) ()) (= (Var 4 b) (IntegerConstant 32771 (Integer 4 [])) ()) (Assert (IntegerCompare (FunctionCall 109 test_mod () [((Var 4 a)) ((Var 4 b))] (Integer 4 []) () ()) Eq (IntegerConstant 30643 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerUnaryMinus (IntegerConstant 5345 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5345 (Integer 4 []))) ()) (= (Var 4 b) (IntegerUnaryMinus (IntegerConstant 534 (Integer 4 [])) (Integer 4 []) (IntegerConstant -534 (Integer 4 []))) ()) (Assert (IntegerCompare (FunctionCall 4 _mod@__lpython_overloaded_0___mod 4 _mod [((Var 4 a)) ((Var 4 b))] (Integer 4 []) () ()) Eq (IntegerUnaryMinus (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5 (Integer 4 []))) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerUnaryMinus (IntegerConstant 123282374 (Integer 4 [])) (Integer 4 []) (IntegerConstant -123282374 (Integer 4 []))) ()) (= (Var 4 b) (IntegerConstant 32771 (Integer 4 [])) ()) (Assert (IntegerCompare (FunctionCall 109 test_mod () [((Var 4 a)) ((Var 4 b))] (Integer 4 []) () ()) Eq (IntegerConstant 2128 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerConstant 10 (Integer 4 [])) BitOr (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) (IntegerConstant 14 (Integer 4 []))) Eq (IntegerConstant 14 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerUnaryMinus (IntegerConstant 105346 (Integer 4 [])) (Integer 4 []) (IntegerConstant -105346 (Integer 4 []))) BitOr (IntegerUnaryMinus (IntegerConstant 32771 (Integer 4 [])) (Integer 4 []) (IntegerConstant -32771 (Integer 4 []))) (Integer 4 []) (IntegerConstant -32769 (Integer 4 []))) Eq (IntegerUnaryMinus (IntegerConstant 32769 (Integer 4 [])) (Integer 4 []) (IntegerConstant -32769 (Integer 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerConstant 10 (Integer 4 [])) BitAnd (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) (IntegerConstant 0 (Integer 4 []))) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerUnaryMinus (IntegerConstant 105346 (Integer 4 [])) (Integer 4 []) (IntegerConstant -105346 (Integer 4 []))) BitAnd (IntegerUnaryMinus (IntegerConstant 32771 (Integer 4 [])) (Integer 4 []) (IntegerConstant -32771 (Integer 4 []))) (Integer 4 []) (IntegerConstant -105348 (Integer 4 []))) Eq (IntegerUnaryMinus (IntegerConstant 105348 (Integer 4 [])) (Integer 4 []) (IntegerConstant -105348 (Integer 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerConstant 10 (Integer 4 [])) BitXor (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) (IntegerConstant 14 (Integer 4 []))) Eq (IntegerConstant 14 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerUnaryMinus (IntegerConstant 105346 (Integer 4 [])) (Integer 4 []) (IntegerConstant -105346 (Integer 4 []))) BitXor (IntegerUnaryMinus (IntegerConstant 32771 (Integer 4 [])) (Integer 4 []) (IntegerConstant -32771 (Integer 4 []))) (Integer 4 []) (IntegerConstant 72579 (Integer 4 []))) Eq (IntegerConstant 72579 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerConstant 10 (Integer 4 [])) BitRShift (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 5 (Integer 4 []))) Eq (IntegerConstant 5 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerConstant 5 (Integer 4 [])) BitLShift (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 10 (Integer 4 []))) Eq (IntegerConstant 10 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 4 i1) (IntegerConstant 10 (Integer 4 [])) ()) (= (Var 4 i2) (IntegerConstant 4 (Integer 4 [])) ()) (Assert (IntegerCompare (IntegerBinOp (Var 4 i1) BitLShift (Var 4 i2) (Integer 4 []) ()) Eq (IntegerConstant 160 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (Var 4 i1) BitRShift (Var 4 i2) (Integer 4 []) ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (Var 4 i1) BitAnd (Var 4 i2) (Integer 4 []) ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (Var 4 i1) BitOr (Var 4 i2) (Integer 4 []) ()) Eq (IntegerConstant 14 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (Var 4 i1) BitXor (Var 4 i2) (Integer 4 []) ()) Eq (IntegerConstant 14 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerUnaryMinus (Var 4 i1) (Integer 4 []) ()) BitXor (IntegerUnaryMinus (Var 4 i2) (Integer 4 []) ()) (Integer 4 []) ()) Eq (IntegerConstant 10 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 i3) (IntegerConstant 432534534 (Integer 4 [])) ()) (= (Var 4 i4) (IntegerUnaryMinus (IntegerConstant 4325 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4325 (Integer 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (Var 4 i3) BitOr (Var 4 i4) (Integer 4 []) ()) Eq (IntegerUnaryMinus (IntegerConstant 225 (Integer 4 [])) (Integer 4 []) (IntegerConstant -225 (Integer 4 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (Var 4 i4) BitRShift (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) ()) Eq (IntegerUnaryMinus (IntegerConstant 541 (Integer 4 [])) (Integer 4 []) (IntegerConstant -541 (Integer 4 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerUnaryMinus (Var 4 i3) (Integer 4 []) ()) BitAnd (Var 4 i4) (Integer 4 []) ()) Eq (IntegerUnaryMinus (IntegerConstant 432534758 (Integer 4 [])) (Integer 4 []) (IntegerConstant -432534758 (Integer 4 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerUnaryMinus (Var 4 i3) (Integer 4 []) ()) BitXor (Var 4 i4) (Integer 4 []) ()) Eq (IntegerConstant 432530657 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerConstant 10 (Integer 4 [])) ()) (= (Var 4 a) (IntegerBinOp (Var 4 a) BitOr (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 4 a) Eq (IntegerConstant 14 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerBinOp (Var 4 a) BitXor (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 4 a) Eq (IntegerConstant 13 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 b) (IntegerConstant 10 (Integer 4 [])) ()) (= (Var 4 a) (FunctionCall 4 _mod@__lpython_overloaded_0___mod 4 _mod [((Var 4 a)) ((Var 4 b))] (Integer 4 []) () ()) ()) (Assert (IntegerCompare (Var 4 a) Eq (IntegerConstant 3 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 b) (IntegerConstant 4 (Integer 4 [])) ()) (= (Var 4 a) (IntegerBinOp (Var 4 a) BitLShift (Var 4 b) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 4 a) Eq (IntegerConstant 48 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerBinOp (Var 4 a) BitRShift (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 4 a) Eq (IntegerConstant 24 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerBinOp (Var 4 a) BitAnd (Var 4 b) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 4 a) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 b) (IntegerBinOp (Var 4 b) Pow (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 4 b) Eq (IntegerConstant 256 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 4 _mod@__lpython_overloaded_0___mod 4 _mod [((IntegerUnaryMinus (IntegerConstant 8 (Integer 4 [])) (Integer 4 []) (IntegerConstant -8 (Integer 4 [])))) ((IntegerConstant 3 (Integer 4 [])))] (Integer 4 []) (IntegerConstant 1 (Integer 4 [])) ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 4 _mod@__lpython_overloaded_0___mod 4 _mod [((IntegerConstant 8 (Integer 4 []))) ((IntegerUnaryMinus (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) (IntegerConstant -3 (Integer 4 []))))] (Integer 4 []) (IntegerConstant -1 (Integer 4 [])) ()) Eq (IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 4 _mod@__lpython_overloaded_0___mod 4 _mod [((IntegerUnaryMinus (IntegerConstant 8 (Integer 4 [])) (Integer 4 []) (IntegerConstant -8 (Integer 4 [])))) ((IntegerUnaryMinus (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) (IntegerConstant -3 (Integer 4 []))))] (Integer 4 []) (IntegerConstant -2 (Integer 4 [])) ()) Eq (IntegerUnaryMinus (IntegerConstant 2 (Integer 4 [])) (Integer 4 []) (IntegerConstant -2 (Integer 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (FunctionCall 4 _mod@__lpython_overloaded_3___mod 4 _mod [((RealConstant 11.000000 (Real 8 []))) ((RealUnaryMinus (RealConstant 3.000000 (Real 8 [])) (Real 8 []) (RealConstant -3.000000 (Real 8 []))))] (Real 8 []) (RealConstant -1.000000 (Real 8 [])) ()) Sub (RealUnaryMinus (RealConstant 1.000000 (Real 8 [])) (Real 8 []) (RealConstant -1.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 4 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (FunctionCall 4 _mod@__lpython_overloaded_3___mod 4 _mod [((RealUnaryMinus (RealConstant 11.000000 (Real 8 [])) (Real 8 []) (RealConstant -11.000000 (Real 8 [])))) ((RealConstant 3.000000 (Real 8 [])))] (Real 8 []) (RealConstant 1.000000 (Real 8 [])) ()) Sub (RealConstant 1.000000 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 4 eps) (Logical 4 []) ()) ())] () Public .false. .false.), test_mod: (Function (SymbolTable 3 {_lpython_return_variable: (Variable 3 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 3 _mod 6 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_0___mod: (ExternalSymbol 3 _mod@__lpython_overloaded_0___mod 6 __lpython_overloaded_0___mod lpython_builtin [] __lpython_overloaded_0___mod Public), a: (Variable 3 a [] In () () Default (Integer 4 []) Source Public Required .false.), b: (Variable 3 b [] In () () Default (Integer 4 []) Source Public Required .false.)}) test_mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_0___mod] [(Var 3 a) (Var 3 b)] [(= (Var 3 _lpython_return_variable) (FunctionCall 3 _mod@__lpython_overloaded_0___mod 3 _mod [((Var 3 a)) ((Var 3 b))] (Integer 4 []) () ()) ()) (Return)] (Var 3 _lpython_return_variable) Public .false. .false.), test_multiply: (Function (SymbolTable 2 {_lpython_return_variable: (Variable 2 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), a: (Variable 2 a [] In () () Default (Integer 4 []) Source Public Required .false.), b: (Variable 2 b [] In () () Default (Integer 4 []) Source Public Required .false.)}) test_multiply (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 2 a) (Var 2 b)] [(= (Var 2 _lpython_return_variable) (IntegerBinOp (Var 2 a) Mul (Var 2 b) (Integer 4 []) ()) ()) (Return)] (Var 2 _lpython_return_variable) Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 107 {_lpython_main_program: (ExternalSymbol 107 _lpython_main_program 109 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 107 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-expr_09-f3e89c8.json b/tests/reference/asr-expr_09-f3e89c8.json index 095c3bd6c1..d70509aca8 100644 --- a/tests/reference/asr-expr_09-f3e89c8.json +++ b/tests/reference/asr-expr_09-f3e89c8.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr_09-f3e89c8.stdout", - "stdout_hash": "05a23de686e4755854fc4b174f4d1bfcd5263dff6793433129b76fd8", + "stdout_hash": "e1a1660a594ca4c3c61d70755ca457791fe86e4b8ef1230b02f1cadd", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr_09-f3e89c8.stdout b/tests/reference/asr-expr_09-f3e89c8.stdout index 30f079ec4c..16cbdecd8d 100644 --- a/tests/reference/asr-expr_09-f3e89c8.stdout +++ b/tests/reference/asr-expr_09-f3e89c8.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 109 {_lpython_main_program: (Function (SymbolTable 108 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_multiple_assign_1 test_issue_928 main0] [] [(SubroutineCall 109 test_multiple_assign_1 () [] ()) (SubroutineCall 109 test_issue_928 () [] ()) (SubroutineCall 109 main0 () [] ())] () Public .false. .false.), main0: (Function (SymbolTable 2 {i1: (Variable 2 i1 [] Local (IntegerConstant 10 (Integer 4 [])) () Default (Integer 4 []) Source Public Required .false.), i2: (Variable 2 i2 [] Local (IntegerConstant 4 (Integer 4 [])) () Default (Integer 4 []) Source Public Required .false.)}) main0 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 2 i1) (IntegerConstant 10 (Integer 4 [])) ()) (= (Var 2 i2) (IntegerConstant 4 (Integer 4 [])) ()) (= (Var 2 i1) (IntegerConstant 3 (Integer 4 [])) ()) (= (Var 2 i2) (IntegerConstant 5 (Integer 4 [])) ()) (Print () [(IntegerBinOp (IntegerUnaryMinus (Var 2 i1) (Integer 4 []) ()) BitXor (IntegerUnaryMinus (Var 2 i2) (Integer 4 []) ()) (Integer 4 []) ())] () ()) (Assert (IntegerCompare (IntegerBinOp (IntegerUnaryMinus (Var 2 i1) (Integer 4 []) ()) BitXor (IntegerUnaryMinus (Var 2 i2) (Integer 4 []) ()) (Integer 4 []) ()) Eq (IntegerConstant 6 (Integer 4 [])) (Logical 4 []) ()) ())] () Public .false. .false.), test_issue_928: (Function (SymbolTable 4 {a: (Variable 4 a [] Local () () Default (Integer 4 []) Source Public Required .false.), b: (Variable 4 b [] Local () () Default (Integer 4 []) Source Public Required .false.), c: (Variable 4 c [] Local () () Default (Tuple [(Integer 4 []) (Integer 4 [])]) Source Public Required .false.)}) test_issue_928 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (TupleConstant [(Var 4 a) (Var 4 b)] (Tuple [(Integer 4 []) (Integer 4 [])])) (TupleConstant [(IntegerConstant 2 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 [])])) ()) (= (Var 4 c) (TupleConstant [(IntegerConstant 2 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 [])])) ()) (Assert (IntegerCompare (Var 4 a) Eq (IntegerConstant 2 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (Var 4 b) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (LogicalBinOp (IntegerCompare (TupleItem (Var 4 c) (IntegerConstant 0 (Integer 4 [])) (Integer 4 []) ()) Eq (Var 4 a) (Logical 4 []) ()) And (IntegerCompare (TupleItem (Var 4 c) (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) Eq (Var 4 b) (Logical 4 []) ()) (Logical 4 []) ()) ())] () Public .false. .false.), test_multiple_assign_1: (Function (SymbolTable 3 {a: (Variable 3 a [] Local () () Default (Integer 4 []) Source Public Required .false.), abs: (ExternalSymbol 3 abs 6 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 3 abs@__lpython_overloaded_0__abs 6 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), b: (Variable 3 b [] Local () () Default (Integer 4 []) Source Public Required .false.), c: (Variable 3 c [] Local () () Default (Integer 4 []) Source Public Required .false.), d: (Variable 3 d [] Local () () Default (Real 8 []) Source Public Required .false.), e: (Variable 3 e [] Local () () Default (Real 8 []) Source Public Required .false.), g: (Variable 3 g [] Local () () Default (Integer 4 []) Source Public Required .false.), i: (Variable 3 i [] Local () () Default (List (Real 8 [])) Source Public Required .false.), j: (Variable 3 j [] Local () () Default (List (Real 8 [])) Source Public Required .false.), k: (Variable 3 k [] Local () () Default (List (Real 8 [])) Source Public Required .false.), x: (Variable 3 x [] Local () () Default (Real 8 []) Source Public Required .false.), y: (Variable 3 y [] Local () () Default (Real 8 []) Source Public Required .false.)}) test_multiple_assign_1 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs] [] [(= (Var 3 g) (IntegerConstant 5 (Integer 4 [])) ()) (= (Var 3 d) (RealBinOp (Cast (Var 3 g) IntegerToReal (Real 8 []) ()) Add (RealConstant 1.000000 (Real 8 [])) (Real 8 []) ()) ()) (= (Var 3 e) (RealBinOp (Cast (Var 3 g) IntegerToReal (Real 8 []) ()) Add (RealConstant 1.000000 (Real 8 [])) (Real 8 []) ()) ()) (= (Var 3 a) (IntegerConstant 10 (Integer 4 [])) ()) (= (Var 3 b) (IntegerConstant 10 (Integer 4 [])) ()) (= (Var 3 c) (IntegerConstant 10 (Integer 4 [])) ()) (Assert (IntegerCompare (Var 3 a) Eq (Var 3 b) (Logical 4 []) ()) ()) (Assert (IntegerCompare (Var 3 b) Eq (Var 3 c) (Logical 4 []) ()) ()) (Assert (IntegerCompare (Var 3 a) Eq (IntegerConstant 10 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 3 x) (RealConstant 23.000000 (Real 8 [])) ()) (= (Var 3 y) (RealConstant 23.000000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (Var 3 x) Sub (RealConstant 23.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000001 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (Var 3 y) Sub (RealConstant 23.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (Var 3 e) Sub (RealConstant 6.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000001 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (Var 3 d) Sub (RealConstant 6.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 3 k) (ListConstant [] (List (Real 8 []))) ()) (= (Var 3 g) (IntegerConstant 0 (Integer 4 [])) ()) (DoLoop ((Var 3 g) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 10 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(ListAppend (Var 3 k) (RealBinOp (RealBinOp (Cast (Var 3 g) IntegerToReal (Real 8 []) ()) Mul (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()) Add (RealConstant 5.000000 (Real 8 [])) (Real 8 []) ()))]) (= (Var 3 i) (Var 3 k) ()) (= (Var 3 j) (Var 3 k) ()) (DoLoop ((Var 3 g) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 10 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ListItem (Var 3 i) (Var 3 g) (Real 8 []) ()) Sub (ListItem (Var 3 j) (Var 3 g) (Real 8 []) ()) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ListItem (Var 3 i) (Var 3 g) (Real 8 []) ()) Sub (ListItem (Var 3 k) (Var 3 g) (Real 8 []) ()) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (RealBinOp (RealBinOp (Cast (Var 3 g) IntegerToReal (Real 8 []) ()) Mul (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()) Add (RealConstant 5.000000 (Real 8 [])) (Real 8 []) ()) Sub (ListItem (Var 3 k) (Var 3 g) (Real 8 []) ()) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ())])] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 107 {_lpython_main_program: (ExternalSymbol 107 _lpython_main_program 109 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 107 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 111 {_lpython_main_program: (Function (SymbolTable 110 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_multiple_assign_1 test_issue_928 main0] [] [(SubroutineCall 111 test_multiple_assign_1 () [] ()) (SubroutineCall 111 test_issue_928 () [] ()) (SubroutineCall 111 main0 () [] ())] () Public .false. .false.), main0: (Function (SymbolTable 2 {i1: (Variable 2 i1 [] Local (IntegerConstant 10 (Integer 4 [])) () Default (Integer 4 []) Source Public Required .false.), i2: (Variable 2 i2 [] Local (IntegerConstant 4 (Integer 4 [])) () Default (Integer 4 []) Source Public Required .false.)}) main0 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 2 i1) (IntegerConstant 10 (Integer 4 [])) ()) (= (Var 2 i2) (IntegerConstant 4 (Integer 4 [])) ()) (= (Var 2 i1) (IntegerConstant 3 (Integer 4 [])) ()) (= (Var 2 i2) (IntegerConstant 5 (Integer 4 [])) ()) (Print () [(IntegerBinOp (IntegerUnaryMinus (Var 2 i1) (Integer 4 []) ()) BitXor (IntegerUnaryMinus (Var 2 i2) (Integer 4 []) ()) (Integer 4 []) ())] () ()) (Assert (IntegerCompare (IntegerBinOp (IntegerUnaryMinus (Var 2 i1) (Integer 4 []) ()) BitXor (IntegerUnaryMinus (Var 2 i2) (Integer 4 []) ()) (Integer 4 []) ()) Eq (IntegerConstant 6 (Integer 4 [])) (Logical 4 []) ()) ())] () Public .false. .false.), test_issue_928: (Function (SymbolTable 4 {a: (Variable 4 a [] Local () () Default (Integer 4 []) Source Public Required .false.), b: (Variable 4 b [] Local () () Default (Integer 4 []) Source Public Required .false.), c: (Variable 4 c [] Local () () Default (Tuple [(Integer 4 []) (Integer 4 [])]) Source Public Required .false.)}) test_issue_928 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (TupleConstant [(Var 4 a) (Var 4 b)] (Tuple [(Integer 4 []) (Integer 4 [])])) (TupleConstant [(IntegerConstant 2 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 [])])) ()) (= (Var 4 c) (TupleConstant [(IntegerConstant 2 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 [])])) ()) (Assert (IntegerCompare (Var 4 a) Eq (IntegerConstant 2 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (Var 4 b) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (LogicalBinOp (IntegerCompare (TupleItem (Var 4 c) (IntegerConstant 0 (Integer 4 [])) (Integer 4 []) ()) Eq (Var 4 a) (Logical 4 []) ()) And (IntegerCompare (TupleItem (Var 4 c) (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) Eq (Var 4 b) (Logical 4 []) ()) (Logical 4 []) ()) ())] () Public .false. .false.), test_multiple_assign_1: (Function (SymbolTable 3 {a: (Variable 3 a [] Local () () Default (Integer 4 []) Source Public Required .false.), abs: (ExternalSymbol 3 abs 6 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 3 abs@__lpython_overloaded_0__abs 6 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), b: (Variable 3 b [] Local () () Default (Integer 4 []) Source Public Required .false.), c: (Variable 3 c [] Local () () Default (Integer 4 []) Source Public Required .false.), d: (Variable 3 d [] Local () () Default (Real 8 []) Source Public Required .false.), e: (Variable 3 e [] Local () () Default (Real 8 []) Source Public Required .false.), g: (Variable 3 g [] Local () () Default (Integer 4 []) Source Public Required .false.), i: (Variable 3 i [] Local () () Default (List (Real 8 [])) Source Public Required .false.), j: (Variable 3 j [] Local () () Default (List (Real 8 [])) Source Public Required .false.), k: (Variable 3 k [] Local () () Default (List (Real 8 [])) Source Public Required .false.), x: (Variable 3 x [] Local () () Default (Real 8 []) Source Public Required .false.), y: (Variable 3 y [] Local () () Default (Real 8 []) Source Public Required .false.)}) test_multiple_assign_1 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs] [] [(= (Var 3 g) (IntegerConstant 5 (Integer 4 [])) ()) (= (Var 3 d) (RealBinOp (Cast (Var 3 g) IntegerToReal (Real 8 []) ()) Add (RealConstant 1.000000 (Real 8 [])) (Real 8 []) ()) ()) (= (Var 3 e) (RealBinOp (Cast (Var 3 g) IntegerToReal (Real 8 []) ()) Add (RealConstant 1.000000 (Real 8 [])) (Real 8 []) ()) ()) (= (Var 3 a) (IntegerConstant 10 (Integer 4 [])) ()) (= (Var 3 b) (IntegerConstant 10 (Integer 4 [])) ()) (= (Var 3 c) (IntegerConstant 10 (Integer 4 [])) ()) (Assert (IntegerCompare (Var 3 a) Eq (Var 3 b) (Logical 4 []) ()) ()) (Assert (IntegerCompare (Var 3 b) Eq (Var 3 c) (Logical 4 []) ()) ()) (Assert (IntegerCompare (Var 3 a) Eq (IntegerConstant 10 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 3 x) (RealConstant 23.000000 (Real 8 [])) ()) (= (Var 3 y) (RealConstant 23.000000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (Var 3 x) Sub (RealConstant 23.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000001 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (Var 3 y) Sub (RealConstant 23.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (Var 3 e) Sub (RealConstant 6.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000001 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (Var 3 d) Sub (RealConstant 6.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 3 k) (ListConstant [] (List (Real 8 []))) ()) (= (Var 3 g) (IntegerConstant 0 (Integer 4 [])) ()) (DoLoop ((Var 3 g) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 10 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(ListAppend (Var 3 k) (RealBinOp (RealBinOp (Cast (Var 3 g) IntegerToReal (Real 8 []) ()) Mul (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()) Add (RealConstant 5.000000 (Real 8 [])) (Real 8 []) ()))]) (= (Var 3 i) (Var 3 k) ()) (= (Var 3 j) (Var 3 k) ()) (DoLoop ((Var 3 g) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 10 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ListItem (Var 3 i) (Var 3 g) (Real 8 []) ()) Sub (ListItem (Var 3 j) (Var 3 g) (Real 8 []) ()) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ListItem (Var 3 i) (Var 3 g) (Real 8 []) ()) Sub (ListItem (Var 3 k) (Var 3 g) (Real 8 []) ()) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (RealBinOp (RealBinOp (Cast (Var 3 g) IntegerToReal (Real 8 []) ()) Mul (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()) Add (RealConstant 5.000000 (Real 8 [])) (Real 8 []) ()) Sub (ListItem (Var 3 k) (Var 3 g) (Real 8 []) ()) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ())])] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 109 {_lpython_main_program: (ExternalSymbol 109 _lpython_main_program 111 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 109 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-expr_14-f2bd343.json b/tests/reference/asr-expr_14-f2bd343.json index 66e1c46b47..86878a529b 100644 --- a/tests/reference/asr-expr_14-f2bd343.json +++ b/tests/reference/asr-expr_14-f2bd343.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr_14-f2bd343.stdout", - "stdout_hash": "fda46522c6a5f49c78db2a8216523b38f1f2f09282b4d899c4cfca90", + "stdout_hash": "361e1a7f692256724f195e48bcdef4ca8e4aa7301247cc295e75b8b9", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr_14-f2bd343.stdout b/tests/reference/asr-expr_14-f2bd343.stdout index 5928b9cc5f..3bed7fe92f 100644 --- a/tests/reference/asr-expr_14-f2bd343.stdout +++ b/tests/reference/asr-expr_14-f2bd343.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 105 {_lpython_main_program: (Function (SymbolTable 104 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_divide] [] [(SubroutineCall 105 test_divide () [] ())] () Public .false. .false.), test_divide: (Function (SymbolTable 2 {a1: (Variable 2 a1 [] Local () () Default (Integer 4 []) Source Public Required .false.), a2: (Variable 2 a2 [] Local () () Default (Integer 4 []) Source Public Required .false.), a3: (Variable 2 a3 [] Local () () Default (Real 8 []) Source Public Required .false.), abs: (ExternalSymbol 2 abs 4 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 2 abs@__lpython_overloaded_0__abs 4 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), abs@__lpython_overloaded_1__abs: (ExternalSymbol 2 abs@__lpython_overloaded_1__abs 4 __lpython_overloaded_1__abs lpython_builtin [] __lpython_overloaded_1__abs Public), abs@__lpython_overloaded_7__abs: (ExternalSymbol 2 abs@__lpython_overloaded_7__abs 4 __lpython_overloaded_7__abs lpython_builtin [] __lpython_overloaded_7__abs Public), abs@__lpython_overloaded_8__abs: (ExternalSymbol 2 abs@__lpython_overloaded_8__abs 4 __lpython_overloaded_8__abs lpython_builtin [] __lpython_overloaded_8__abs Public), b1: (Variable 2 b1 [] Local () () Default (Integer 8 []) Source Public Required .false.), b2: (Variable 2 b2 [] Local () () Default (Integer 8 []) Source Public Required .false.), b3: (Variable 2 b3 [] Local () () Default (Real 8 []) Source Public Required .false.), c1: (Variable 2 c1 [] Local () () Default (Real 4 []) Source Public Required .false.), c2: (Variable 2 c2 [] Local () () Default (Real 4 []) Source Public Required .false.), c3: (Variable 2 c3 [] Local () () Default (Real 4 []) Source Public Required .false.), d1: (Variable 2 d1 [] Local () () Default (Real 8 []) Source Public Required .false.), d2: (Variable 2 d2 [] Local () () Default (Real 8 []) Source Public Required .false.), d3: (Variable 2 d3 [] Local () () Default (Real 8 []) Source Public Required .false.), e1: (Variable 2 e1 [] Local () () Default (Complex 4 []) Source Public Required .false.), e2: (Variable 2 e2 [] Local () () Default (Complex 4 []) Source Public Required .false.), e3: (Variable 2 e3 [] Local () () Default (Complex 4 []) Source Public Required .false.), f1: (Variable 2 f1 [] Local () () Default (Complex 8 []) Source Public Required .false.), f2: (Variable 2 f2 [] Local () () Default (Complex 8 []) Source Public Required .false.), f3: (Variable 2 f3 [] Local () () Default (Complex 8 []) Source Public Required .false.)}) test_divide (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_1__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_7__abs abs@__lpython_overloaded_8__abs] [] [(= (Var 2 a1) (IntegerConstant 1 (Integer 4 [])) ()) (= (Var 2 a2) (IntegerConstant 9 (Integer 4 [])) ()) (= (Var 2 a3) (RealBinOp (Cast (Var 2 a2) IntegerToReal (Real 8 []) ()) Div (Cast (Var 2 a1) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (Var 2 a3) Sub (RealConstant 9.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 2 b1) (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 2 (Integer 8 []))) ()) (= (Var 2 b2) (Cast (IntegerConstant 10 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 10 (Integer 8 []))) ()) (= (Var 2 b3) (RealBinOp (Cast (Var 2 b2) IntegerToReal (Real 8 []) ()) Div (Cast (Var 2 b1) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (Var 2 b3) Sub (RealConstant 5.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 2 c1) (Cast (RealConstant 3.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.000000 (Real 4 []))) ()) (= (Var 2 c2) (Cast (RealConstant 11.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 11.000000 (Real 4 []))) ()) (= (Var 2 c3) (RealBinOp (Var 2 c2) Div (Var 2 c1) (Real 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_1__abs 2 abs [((RealBinOp (Var 2 c3) Sub (Cast (RealConstant 3.666666 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.666666 (Real 4 []))) (Real 4 []) ()))] (Real 4 []) () ()) LtE (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) (Logical 4 []) ()) ()) (= (Var 2 d1) (RealConstant 4.000000 (Real 8 [])) ()) (= (Var 2 d2) (RealConstant 12.000000 (Real 8 [])) ()) (= (Var 2 d3) (RealBinOp (Var 2 d2) Div (Var 2 d1) (Real 8 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (Var 2 d3) Sub (RealConstant 3.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 2 e1) (ComplexBinOp (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToComplex (Complex 4 []) (ComplexConstant 5.000000 0.000000 (Complex 4 []))) Add (Cast (ComplexConstant 0.000000 6.000000 (Complex 8 [])) ComplexToComplex (Complex 4 []) (ComplexConstant 0.000000 6.000000 (Complex 4 []))) (Complex 4 []) (ComplexConstant 5.000000 6.000000 (Complex 4 []))) ()) (= (Var 2 e2) (ComplexBinOp (Cast (IntegerConstant 13 (Integer 4 [])) IntegerToComplex (Complex 4 []) (ComplexConstant 13.000000 0.000000 (Complex 4 []))) Add (Cast (ComplexConstant 0.000000 14.000000 (Complex 8 [])) ComplexToComplex (Complex 4 []) (ComplexConstant 0.000000 14.000000 (Complex 4 []))) (Complex 4 []) (ComplexConstant 13.000000 14.000000 (Complex 4 []))) ()) (= (Var 2 e3) (ComplexBinOp (Var 2 e2) Div (Var 2 e1) (Complex 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_7__abs 2 abs [((ComplexBinOp (ComplexBinOp (Var 2 e3) Sub (Cast (RealConstant 2.442623 (Real 8 [])) RealToComplex (Complex 4 []) (ComplexConstant 2.442623 0.000000 (Complex 4 []))) (Complex 4 []) ()) Add (Cast (ComplexConstant 0.000000 0.131148 (Complex 8 [])) ComplexToComplex (Complex 4 []) (ComplexConstant 0.000000 0.131148 (Complex 4 []))) (Complex 4 []) ()))] (Real 4 []) () ()) LtE (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) (Logical 4 []) ()) ()) (= (Var 2 f1) (ComplexBinOp (Cast (IntegerConstant 7 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 7.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 8.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 7.000000 8.000000 (Complex 8 []))) ()) (= (Var 2 f2) (ComplexBinOp (Cast (IntegerConstant 15 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 15.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 16.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 15.000000 16.000000 (Complex 8 []))) ()) (= (Var 2 f3) (ComplexBinOp (Var 2 f2) Div (Var 2 f1) (Complex 8 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_8__abs 2 abs [((ComplexBinOp (ComplexBinOp (Var 2 f3) Sub (Cast (RealConstant 2.061947 (Real 8 [])) RealToComplex (Complex 8 []) (ComplexConstant 2.061947 0.000000 (Complex 8 []))) (Complex 8 []) ()) Add (ComplexConstant 0.000000 0.070796 (Complex 8 [])) (Complex 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000001 (Real 8 [])) (Logical 4 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 103 {_lpython_main_program: (ExternalSymbol 103 _lpython_main_program 105 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 103 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 107 {_lpython_main_program: (Function (SymbolTable 106 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_divide] [] [(SubroutineCall 107 test_divide () [] ())] () Public .false. .false.), test_divide: (Function (SymbolTable 2 {a1: (Variable 2 a1 [] Local () () Default (Integer 4 []) Source Public Required .false.), a2: (Variable 2 a2 [] Local () () Default (Integer 4 []) Source Public Required .false.), a3: (Variable 2 a3 [] Local () () Default (Real 8 []) Source Public Required .false.), abs: (ExternalSymbol 2 abs 4 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 2 abs@__lpython_overloaded_0__abs 4 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), abs@__lpython_overloaded_1__abs: (ExternalSymbol 2 abs@__lpython_overloaded_1__abs 4 __lpython_overloaded_1__abs lpython_builtin [] __lpython_overloaded_1__abs Public), abs@__lpython_overloaded_7__abs: (ExternalSymbol 2 abs@__lpython_overloaded_7__abs 4 __lpython_overloaded_7__abs lpython_builtin [] __lpython_overloaded_7__abs Public), abs@__lpython_overloaded_8__abs: (ExternalSymbol 2 abs@__lpython_overloaded_8__abs 4 __lpython_overloaded_8__abs lpython_builtin [] __lpython_overloaded_8__abs Public), b1: (Variable 2 b1 [] Local () () Default (Integer 8 []) Source Public Required .false.), b2: (Variable 2 b2 [] Local () () Default (Integer 8 []) Source Public Required .false.), b3: (Variable 2 b3 [] Local () () Default (Real 8 []) Source Public Required .false.), c1: (Variable 2 c1 [] Local () () Default (Real 4 []) Source Public Required .false.), c2: (Variable 2 c2 [] Local () () Default (Real 4 []) Source Public Required .false.), c3: (Variable 2 c3 [] Local () () Default (Real 4 []) Source Public Required .false.), d1: (Variable 2 d1 [] Local () () Default (Real 8 []) Source Public Required .false.), d2: (Variable 2 d2 [] Local () () Default (Real 8 []) Source Public Required .false.), d3: (Variable 2 d3 [] Local () () Default (Real 8 []) Source Public Required .false.), e1: (Variable 2 e1 [] Local () () Default (Complex 4 []) Source Public Required .false.), e2: (Variable 2 e2 [] Local () () Default (Complex 4 []) Source Public Required .false.), e3: (Variable 2 e3 [] Local () () Default (Complex 4 []) Source Public Required .false.), f1: (Variable 2 f1 [] Local () () Default (Complex 8 []) Source Public Required .false.), f2: (Variable 2 f2 [] Local () () Default (Complex 8 []) Source Public Required .false.), f3: (Variable 2 f3 [] Local () () Default (Complex 8 []) Source Public Required .false.)}) test_divide (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_1__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_7__abs abs@__lpython_overloaded_8__abs] [] [(= (Var 2 a1) (IntegerConstant 1 (Integer 4 [])) ()) (= (Var 2 a2) (IntegerConstant 9 (Integer 4 [])) ()) (= (Var 2 a3) (RealBinOp (Cast (Var 2 a2) IntegerToReal (Real 8 []) ()) Div (Cast (Var 2 a1) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (Var 2 a3) Sub (RealConstant 9.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 2 b1) (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 2 (Integer 8 []))) ()) (= (Var 2 b2) (Cast (IntegerConstant 10 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 10 (Integer 8 []))) ()) (= (Var 2 b3) (RealBinOp (Cast (Var 2 b2) IntegerToReal (Real 8 []) ()) Div (Cast (Var 2 b1) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (Var 2 b3) Sub (RealConstant 5.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 2 c1) (Cast (RealConstant 3.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.000000 (Real 4 []))) ()) (= (Var 2 c2) (Cast (RealConstant 11.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 11.000000 (Real 4 []))) ()) (= (Var 2 c3) (RealBinOp (Var 2 c2) Div (Var 2 c1) (Real 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_1__abs 2 abs [((RealBinOp (Var 2 c3) Sub (Cast (RealConstant 3.666666 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.666666 (Real 4 []))) (Real 4 []) ()))] (Real 4 []) () ()) LtE (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) (Logical 4 []) ()) ()) (= (Var 2 d1) (RealConstant 4.000000 (Real 8 [])) ()) (= (Var 2 d2) (RealConstant 12.000000 (Real 8 [])) ()) (= (Var 2 d3) (RealBinOp (Var 2 d2) Div (Var 2 d1) (Real 8 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (Var 2 d3) Sub (RealConstant 3.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 2 e1) (ComplexBinOp (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToComplex (Complex 4 []) (ComplexConstant 5.000000 0.000000 (Complex 4 []))) Add (Cast (ComplexConstant 0.000000 6.000000 (Complex 8 [])) ComplexToComplex (Complex 4 []) (ComplexConstant 0.000000 6.000000 (Complex 4 []))) (Complex 4 []) (ComplexConstant 5.000000 6.000000 (Complex 4 []))) ()) (= (Var 2 e2) (ComplexBinOp (Cast (IntegerConstant 13 (Integer 4 [])) IntegerToComplex (Complex 4 []) (ComplexConstant 13.000000 0.000000 (Complex 4 []))) Add (Cast (ComplexConstant 0.000000 14.000000 (Complex 8 [])) ComplexToComplex (Complex 4 []) (ComplexConstant 0.000000 14.000000 (Complex 4 []))) (Complex 4 []) (ComplexConstant 13.000000 14.000000 (Complex 4 []))) ()) (= (Var 2 e3) (ComplexBinOp (Var 2 e2) Div (Var 2 e1) (Complex 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_7__abs 2 abs [((ComplexBinOp (ComplexBinOp (Var 2 e3) Sub (Cast (RealConstant 2.442623 (Real 8 [])) RealToComplex (Complex 4 []) (ComplexConstant 2.442623 0.000000 (Complex 4 []))) (Complex 4 []) ()) Add (Cast (ComplexConstant 0.000000 0.131148 (Complex 8 [])) ComplexToComplex (Complex 4 []) (ComplexConstant 0.000000 0.131148 (Complex 4 []))) (Complex 4 []) ()))] (Real 4 []) () ()) LtE (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) (Logical 4 []) ()) ()) (= (Var 2 f1) (ComplexBinOp (Cast (IntegerConstant 7 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 7.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 8.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 7.000000 8.000000 (Complex 8 []))) ()) (= (Var 2 f2) (ComplexBinOp (Cast (IntegerConstant 15 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 15.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 16.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 15.000000 16.000000 (Complex 8 []))) ()) (= (Var 2 f3) (ComplexBinOp (Var 2 f2) Div (Var 2 f1) (Complex 8 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_8__abs 2 abs [((ComplexBinOp (ComplexBinOp (Var 2 f3) Sub (Cast (RealConstant 2.061947 (Real 8 [])) RealToComplex (Complex 8 []) (ComplexConstant 2.061947 0.000000 (Complex 8 []))) (Complex 8 []) ()) Add (ComplexConstant 0.000000 0.070796 (Complex 8 [])) (Complex 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000001 (Real 8 [])) (Logical 4 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 105 {_lpython_main_program: (ExternalSymbol 105 _lpython_main_program 107 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 105 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-generics_array_01-682b1b2.json b/tests/reference/asr-generics_array_01-682b1b2.json index 675ea44ea6..c0fddccb32 100644 --- a/tests/reference/asr-generics_array_01-682b1b2.json +++ b/tests/reference/asr-generics_array_01-682b1b2.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-generics_array_01-682b1b2.stdout", - "stdout_hash": "119ed59c71bf89b0a384e5c74119738c338dd15b9e03b8af935a0b3f", + "stdout_hash": "e85fe267634cf3cf7d863893a4435135291f212755037c1245ff4f5c", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-generics_array_01-682b1b2.stdout b/tests/reference/asr-generics_array_01-682b1b2.stdout index c8294f11c8..d70f44b002 100644 --- a/tests/reference/asr-generics_array_01-682b1b2.stdout +++ b/tests/reference/asr-generics_array_01-682b1b2.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 183 {T: (Variable 183 T [] Local () () Default (TypeParameter T []) Source Public Required .false.), __asr_generic_f_0: (Function (SymbolTable 180 {_lpython_return_variable: (Variable 180 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), i: (Variable 180 i [] In () () Default (Integer 4 []) Source Public Required .false.), lst: (Variable 180 lst [] InOut () () Default (Integer 4 [(() ())]) Source Public Required .false.)}) __asr_generic_f_0 (FunctionType [(Integer 4 [(() ())]) (Integer 4 [])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 180 lst) (Var 180 i)] [(= (ArrayItem (Var 180 lst) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (Var 180 i) ()) (= (Var 180 _lpython_return_variable) (ArrayItem (Var 180 lst) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) ()) (Return)] (Var 180 _lpython_return_variable) Public .false. .false.), _lpython_main_program: (Function (SymbolTable 182 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [use_array] [] [(SubroutineCall 183 use_array () [] ())] () Public .false. .false.), f: (Function (SymbolTable 178 {_lpython_return_variable: (Variable 178 _lpython_return_variable [] ReturnVar () () Default (TypeParameter T []) Source Public Required .false.), i: (Variable 178 i [] In () () Default (TypeParameter T []) Source Public Required .false.), lst: (Variable 178 lst [] InOut () () Default (TypeParameter T [(() ())]) Source Public Required .false.)}) f (FunctionType [(TypeParameter T [(() ())]) (TypeParameter T [])] (TypeParameter T []) Source Implementation () .false. .false. .false. .false. .false. [(TypeParameter T [])] [] .false.) [] [(Var 178 lst) (Var 178 i)] [(= (ArrayItem (Var 178 lst) [(() (IntegerConstant 0 (Integer 4 [])) ())] (TypeParameter T []) RowMajor ()) (Var 178 i) ()) (= (Var 178 _lpython_return_variable) (ArrayItem (Var 178 lst) [(() (IntegerConstant 0 (Integer 4 [])) ())] (TypeParameter T []) RowMajor ()) ()) (Return)] (Var 178 _lpython_return_variable) Public .false. .false.), use_array: (Function (SymbolTable 179 {array: (Variable 179 array [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), x: (Variable 179 x [] Local () () Default (Integer 4 []) Source Public Required .false.)}) use_array (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [__asr_generic_f_0] [] [(= (Var 179 x) (IntegerConstant 69 (Integer 4 [])) ()) (Print () [(FunctionCall 183 __asr_generic_f_0 () [((Var 179 array)) ((Var 179 x))] (Integer 4 []) () ())] () ())] () Public .false. .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 181 {_lpython_main_program: (ExternalSymbol 181 _lpython_main_program 183 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 181 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) ()) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_2___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [x] Local (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [x] Local (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_0___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_0___mod 79 __lpython_overloaded_0___mod lpython_builtin [] __lpython_overloaded_0___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_0___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_0___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) RealToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) () Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 185 {T: (Variable 185 T [] Local () () Default (TypeParameter T []) Source Public Required .false.), __asr_generic_f_0: (Function (SymbolTable 182 {_lpython_return_variable: (Variable 182 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), i: (Variable 182 i [] In () () Default (Integer 4 []) Source Public Required .false.), lst: (Variable 182 lst [] InOut () () Default (Integer 4 [(() ())]) Source Public Required .false.)}) __asr_generic_f_0 (FunctionType [(Integer 4 [(() ())]) (Integer 4 [])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 182 lst) (Var 182 i)] [(= (ArrayItem (Var 182 lst) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (Var 182 i) ()) (= (Var 182 _lpython_return_variable) (ArrayItem (Var 182 lst) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) ()) (Return)] (Var 182 _lpython_return_variable) Public .false. .false.), _lpython_main_program: (Function (SymbolTable 184 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [use_array] [] [(SubroutineCall 185 use_array () [] ())] () Public .false. .false.), f: (Function (SymbolTable 180 {_lpython_return_variable: (Variable 180 _lpython_return_variable [] ReturnVar () () Default (TypeParameter T []) Source Public Required .false.), i: (Variable 180 i [] In () () Default (TypeParameter T []) Source Public Required .false.), lst: (Variable 180 lst [] InOut () () Default (TypeParameter T [(() ())]) Source Public Required .false.)}) f (FunctionType [(TypeParameter T [(() ())]) (TypeParameter T [])] (TypeParameter T []) Source Implementation () .false. .false. .false. .false. .false. [(TypeParameter T [])] [] .false.) [] [(Var 180 lst) (Var 180 i)] [(= (ArrayItem (Var 180 lst) [(() (IntegerConstant 0 (Integer 4 [])) ())] (TypeParameter T []) RowMajor ()) (Var 180 i) ()) (= (Var 180 _lpython_return_variable) (ArrayItem (Var 180 lst) [(() (IntegerConstant 0 (Integer 4 [])) ())] (TypeParameter T []) RowMajor ()) ()) (Return)] (Var 180 _lpython_return_variable) Public .false. .false.), use_array: (Function (SymbolTable 181 {array: (Variable 181 array [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), x: (Variable 181 x [] Local () () Default (Integer 4 []) Source Public Required .false.)}) use_array (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [__asr_generic_f_0] [] [(= (Var 181 x) (IntegerConstant 69 (Integer 4 [])) ()) (Print () [(FunctionCall 185 __asr_generic_f_0 () [((Var 181 array)) ((Var 181 x))] (Integer 4 []) () ())] () ())] () Public .false. .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 183 {_lpython_main_program: (ExternalSymbol 183 _lpython_main_program 185 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 183 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) ()) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_2___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [x] Local (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [x] Local (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_0___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_0___mod 79 __lpython_overloaded_0___mod lpython_builtin [] __lpython_overloaded_0___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_0___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_0___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) RealToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) () Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) diff --git a/tests/reference/asr-generics_array_02-22c8dc1.json b/tests/reference/asr-generics_array_02-22c8dc1.json index d9d60f5b11..84794ad3d7 100644 --- a/tests/reference/asr-generics_array_02-22c8dc1.json +++ b/tests/reference/asr-generics_array_02-22c8dc1.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-generics_array_02-22c8dc1.stdout", - "stdout_hash": "160811662ebba6f2b7265d5d7da6934c4c8cb52afc1ba695724df90e", + "stdout_hash": "e6a02a53748fdef89e345b642c82bac44ef4a63be90f60d437c6807c", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-generics_array_02-22c8dc1.stdout b/tests/reference/asr-generics_array_02-22c8dc1.stdout index a1674e74b0..c5ac3b442f 100644 --- a/tests/reference/asr-generics_array_02-22c8dc1.stdout +++ b/tests/reference/asr-generics_array_02-22c8dc1.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 188 {T: (Variable 188 T [] Local () () Default (TypeParameter T []) Source Public Required .false.), __asr_generic_g_0: (Function (SymbolTable 184 {a: (Variable 184 a [n] InOut () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 184 n))]) Source Public Required .false.), b: (Variable 184 b [n] InOut () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 184 n))]) Source Public Required .false.), i: (Variable 184 i [] Local () () Default (Integer 4 []) Source Public Required .false.), n: (Variable 184 n [] In () () Default (Integer 4 []) Source Public Required .false.), r: (Variable 184 r [n] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 184 n))]) Source Public Required .false.)}) __asr_generic_g_0 (FunctionType [(Integer 4 []) (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 184 n))]) (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 184 n))])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [add_integer] [(Var 184 n) (Var 184 a) (Var 184 b)] [(DoLoop ((Var 184 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 184 n) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 184 r) [(() (Var 184 i) ())] (Integer 4 []) RowMajor ()) (FunctionCall 188 add_integer () [((ArrayItem (Var 184 a) [(() (Var 184 i) ())] (Integer 4 []) RowMajor ())) ((ArrayItem (Var 184 b) [(() (Var 184 i) ())] (Integer 4 []) RowMajor ()))] (Integer 4 []) () ()) ())]) (Print () [(ArrayItem (Var 184 r) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ())] () ())] () Public .false. .false.), __asr_generic_g_1: (Function (SymbolTable 185 {a: (Variable 185 a [n] InOut () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 185 n))]) Source Public Required .false.), b: (Variable 185 b [n] InOut () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 185 n))]) Source Public Required .false.), i: (Variable 185 i [] Local () () Default (Integer 4 []) Source Public Required .false.), n: (Variable 185 n [] In () () Default (Integer 4 []) Source Public Required .false.), r: (Variable 185 r [n] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 185 n))]) Source Public Required .false.)}) __asr_generic_g_1 (FunctionType [(Integer 4 []) (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 185 n))]) (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 185 n))])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [add_float] [(Var 185 n) (Var 185 a) (Var 185 b)] [(DoLoop ((Var 185 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 185 n) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 185 r) [(() (Var 185 i) ())] (Real 4 []) RowMajor ()) (FunctionCall 188 add_float () [((ArrayItem (Var 185 a) [(() (Var 185 i) ())] (Real 4 []) RowMajor ())) ((ArrayItem (Var 185 b) [(() (Var 185 i) ())] (Real 4 []) RowMajor ()))] (Real 4 []) () ()) ())]) (Print () [(ArrayItem (Var 185 r) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Real 4 []) RowMajor ())] () ())] () Public .false. .false.), _lpython_main_program: (Function (SymbolTable 187 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [main] [] [(SubroutineCall 188 main () [] ())] () Public .false. .false.), add: (Function (SymbolTable 178 {_lpython_return_variable: (Variable 178 _lpython_return_variable [] ReturnVar () () Default (TypeParameter T []) Source Public Required .false.), x: (Variable 178 x [] In () () Default (TypeParameter T []) Source Public Required .false.), y: (Variable 178 y [] In () () Default (TypeParameter T []) Source Public Required .false.)}) add (FunctionType [(TypeParameter T []) (TypeParameter T [])] (TypeParameter T []) Source Implementation () .false. .false. .false. .false. .false. [(TypeParameter T [])] [] .true.) [] [(Var 178 x) (Var 178 y)] [] (Var 178 _lpython_return_variable) Public .false. .false.), add_float: (Function (SymbolTable 180 {_lpython_return_variable: (Variable 180 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 180 x [] In () () Default (Real 4 []) Source Public Required .false.), y: (Variable 180 y [] In () () Default (Real 4 []) Source Public Required .false.)}) add_float (FunctionType [(Real 4 []) (Real 4 [])] (Real 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 180 x) (Var 180 y)] [(= (Var 180 _lpython_return_variable) (RealBinOp (Var 180 x) Add (Var 180 y) (Real 4 []) ()) ()) (Return)] (Var 180 _lpython_return_variable) Public .false. .false.), add_integer: (Function (SymbolTable 179 {_lpython_return_variable: (Variable 179 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), x: (Variable 179 x [] In () () Default (Integer 4 []) Source Public Required .false.), y: (Variable 179 y [] In () () Default (Integer 4 []) Source Public Required .false.)}) add_integer (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 179 x) (Var 179 y)] [(= (Var 179 _lpython_return_variable) (IntegerBinOp (Var 179 x) Add (Var 179 y) (Integer 4 []) ()) ()) (Return)] (Var 179 _lpython_return_variable) Public .false. .false.), g: (Function (SymbolTable 181 {a: (Variable 181 a [n] InOut () () Default (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 181 n))]) Source Public Required .false.), b: (Variable 181 b [n] InOut () () Default (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 181 n))]) Source Public Required .false.), i: (Variable 181 i [] Local () () Default (Integer 4 []) Source Public Required .false.), n: (Variable 181 n [] In () () Default (Integer 4 []) Source Public Required .false.), r: (Variable 181 r [n] Local () () Default (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 181 n))]) Source Public Required .false.)}) g (FunctionType [(Integer 4 []) (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 181 n))]) (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 181 n))])] () Source Implementation () .false. .false. .false. .false. .false. [(TypeParameter T [])] [188 add] .false.) [add] [(Var 181 n) (Var 181 a) (Var 181 b)] [(DoLoop ((Var 181 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 181 n) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 181 r) [(() (Var 181 i) ())] (TypeParameter T []) RowMajor ()) (FunctionCall 188 add () [((ArrayItem (Var 181 a) [(() (Var 181 i) ())] (TypeParameter T []) RowMajor ())) ((ArrayItem (Var 181 b) [(() (Var 181 i) ())] (TypeParameter T []) RowMajor ()))] (TypeParameter T []) () ()) ())]) (Print () [(ArrayItem (Var 181 r) [(() (IntegerConstant 0 (Integer 4 [])) ())] (TypeParameter T []) RowMajor ())] () ())] () Public .false. .false.), main: (Function (SymbolTable 182 {a_float: (Variable 182 a_float [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), a_int: (Variable 182 a_int [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), b_float: (Variable 182 b_float [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), b_int: (Variable 182 b_int [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.)}) main (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [__asr_generic_g_0 __asr_generic_g_1] [] [(= (ArrayItem (Var 182 a_int) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 400 (Integer 4 [])) ()) (= (ArrayItem (Var 182 b_int) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 20 (Integer 4 [])) ()) (SubroutineCall 188 __asr_generic_g_0 () [((IntegerConstant 1 (Integer 4 []))) ((Var 182 a_int)) ((Var 182 b_int))] ()) (= (ArrayItem (Var 182 a_float) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Real 4 []) RowMajor ()) (Cast (RealConstant 400.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 400.000000 (Real 4 []))) ()) (= (ArrayItem (Var 182 b_float) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Real 4 []) RowMajor ()) (Cast (RealConstant 20.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 20.000000 (Real 4 []))) ()) (SubroutineCall 188 __asr_generic_g_1 () [((IntegerConstant 1 (Integer 4 []))) ((Var 182 a_float)) ((Var 182 b_float))] ())] () Public .false. .false.), n: (Variable 188 n [] Local () () Default (Integer 4 []) Source Public Required .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 186 {_lpython_main_program: (ExternalSymbol 186 _lpython_main_program 188 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 186 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) ()) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_2___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [x] Local (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [x] Local (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_0___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_0___mod 79 __lpython_overloaded_0___mod lpython_builtin [] __lpython_overloaded_0___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_0___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_0___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) RealToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) () Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 190 {T: (Variable 190 T [] Local () () Default (TypeParameter T []) Source Public Required .false.), __asr_generic_g_0: (Function (SymbolTable 186 {a: (Variable 186 a [n] InOut () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 186 n))]) Source Public Required .false.), b: (Variable 186 b [n] InOut () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 186 n))]) Source Public Required .false.), i: (Variable 186 i [] Local () () Default (Integer 4 []) Source Public Required .false.), n: (Variable 186 n [] In () () Default (Integer 4 []) Source Public Required .false.), r: (Variable 186 r [n] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 186 n))]) Source Public Required .false.)}) __asr_generic_g_0 (FunctionType [(Integer 4 []) (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 186 n))]) (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 186 n))])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [add_integer] [(Var 186 n) (Var 186 a) (Var 186 b)] [(DoLoop ((Var 186 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 186 n) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 186 r) [(() (Var 186 i) ())] (Integer 4 []) RowMajor ()) (FunctionCall 190 add_integer () [((ArrayItem (Var 186 a) [(() (Var 186 i) ())] (Integer 4 []) RowMajor ())) ((ArrayItem (Var 186 b) [(() (Var 186 i) ())] (Integer 4 []) RowMajor ()))] (Integer 4 []) () ()) ())]) (Print () [(ArrayItem (Var 186 r) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ())] () ())] () Public .false. .false.), __asr_generic_g_1: (Function (SymbolTable 187 {a: (Variable 187 a [n] InOut () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 187 n))]) Source Public Required .false.), b: (Variable 187 b [n] InOut () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 187 n))]) Source Public Required .false.), i: (Variable 187 i [] Local () () Default (Integer 4 []) Source Public Required .false.), n: (Variable 187 n [] In () () Default (Integer 4 []) Source Public Required .false.), r: (Variable 187 r [n] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 187 n))]) Source Public Required .false.)}) __asr_generic_g_1 (FunctionType [(Integer 4 []) (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 187 n))]) (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 187 n))])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [add_float] [(Var 187 n) (Var 187 a) (Var 187 b)] [(DoLoop ((Var 187 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 187 n) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 187 r) [(() (Var 187 i) ())] (Real 4 []) RowMajor ()) (FunctionCall 190 add_float () [((ArrayItem (Var 187 a) [(() (Var 187 i) ())] (Real 4 []) RowMajor ())) ((ArrayItem (Var 187 b) [(() (Var 187 i) ())] (Real 4 []) RowMajor ()))] (Real 4 []) () ()) ())]) (Print () [(ArrayItem (Var 187 r) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Real 4 []) RowMajor ())] () ())] () Public .false. .false.), _lpython_main_program: (Function (SymbolTable 189 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [main] [] [(SubroutineCall 190 main () [] ())] () Public .false. .false.), add: (Function (SymbolTable 180 {_lpython_return_variable: (Variable 180 _lpython_return_variable [] ReturnVar () () Default (TypeParameter T []) Source Public Required .false.), x: (Variable 180 x [] In () () Default (TypeParameter T []) Source Public Required .false.), y: (Variable 180 y [] In () () Default (TypeParameter T []) Source Public Required .false.)}) add (FunctionType [(TypeParameter T []) (TypeParameter T [])] (TypeParameter T []) Source Implementation () .false. .false. .false. .false. .false. [(TypeParameter T [])] [] .true.) [] [(Var 180 x) (Var 180 y)] [] (Var 180 _lpython_return_variable) Public .false. .false.), add_float: (Function (SymbolTable 182 {_lpython_return_variable: (Variable 182 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 182 x [] In () () Default (Real 4 []) Source Public Required .false.), y: (Variable 182 y [] In () () Default (Real 4 []) Source Public Required .false.)}) add_float (FunctionType [(Real 4 []) (Real 4 [])] (Real 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 182 x) (Var 182 y)] [(= (Var 182 _lpython_return_variable) (RealBinOp (Var 182 x) Add (Var 182 y) (Real 4 []) ()) ()) (Return)] (Var 182 _lpython_return_variable) Public .false. .false.), add_integer: (Function (SymbolTable 181 {_lpython_return_variable: (Variable 181 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), x: (Variable 181 x [] In () () Default (Integer 4 []) Source Public Required .false.), y: (Variable 181 y [] In () () Default (Integer 4 []) Source Public Required .false.)}) add_integer (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 181 x) (Var 181 y)] [(= (Var 181 _lpython_return_variable) (IntegerBinOp (Var 181 x) Add (Var 181 y) (Integer 4 []) ()) ()) (Return)] (Var 181 _lpython_return_variable) Public .false. .false.), g: (Function (SymbolTable 183 {a: (Variable 183 a [n] InOut () () Default (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 183 n))]) Source Public Required .false.), b: (Variable 183 b [n] InOut () () Default (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 183 n))]) Source Public Required .false.), i: (Variable 183 i [] Local () () Default (Integer 4 []) Source Public Required .false.), n: (Variable 183 n [] In () () Default (Integer 4 []) Source Public Required .false.), r: (Variable 183 r [n] Local () () Default (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 183 n))]) Source Public Required .false.)}) g (FunctionType [(Integer 4 []) (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 183 n))]) (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 183 n))])] () Source Implementation () .false. .false. .false. .false. .false. [(TypeParameter T [])] [190 add] .false.) [add] [(Var 183 n) (Var 183 a) (Var 183 b)] [(DoLoop ((Var 183 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 183 n) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 183 r) [(() (Var 183 i) ())] (TypeParameter T []) RowMajor ()) (FunctionCall 190 add () [((ArrayItem (Var 183 a) [(() (Var 183 i) ())] (TypeParameter T []) RowMajor ())) ((ArrayItem (Var 183 b) [(() (Var 183 i) ())] (TypeParameter T []) RowMajor ()))] (TypeParameter T []) () ()) ())]) (Print () [(ArrayItem (Var 183 r) [(() (IntegerConstant 0 (Integer 4 [])) ())] (TypeParameter T []) RowMajor ())] () ())] () Public .false. .false.), main: (Function (SymbolTable 184 {a_float: (Variable 184 a_float [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), a_int: (Variable 184 a_int [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), b_float: (Variable 184 b_float [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), b_int: (Variable 184 b_int [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.)}) main (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [__asr_generic_g_0 __asr_generic_g_1] [] [(= (ArrayItem (Var 184 a_int) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 400 (Integer 4 [])) ()) (= (ArrayItem (Var 184 b_int) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 20 (Integer 4 [])) ()) (SubroutineCall 190 __asr_generic_g_0 () [((IntegerConstant 1 (Integer 4 []))) ((Var 184 a_int)) ((Var 184 b_int))] ()) (= (ArrayItem (Var 184 a_float) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Real 4 []) RowMajor ()) (Cast (RealConstant 400.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 400.000000 (Real 4 []))) ()) (= (ArrayItem (Var 184 b_float) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Real 4 []) RowMajor ()) (Cast (RealConstant 20.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 20.000000 (Real 4 []))) ()) (SubroutineCall 190 __asr_generic_g_1 () [((IntegerConstant 1 (Integer 4 []))) ((Var 184 a_float)) ((Var 184 b_float))] ())] () Public .false. .false.), n: (Variable 190 n [] Local () () Default (Integer 4 []) Source Public Required .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 188 {_lpython_main_program: (ExternalSymbol 188 _lpython_main_program 190 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 188 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) ()) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_2___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [x] Local (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [x] Local (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_0___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_0___mod 79 __lpython_overloaded_0___mod lpython_builtin [] __lpython_overloaded_0___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_0___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_0___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) RealToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) () Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) diff --git a/tests/reference/asr-generics_array_03-fb3706c.json b/tests/reference/asr-generics_array_03-fb3706c.json index 661cbe6dca..95e7568737 100644 --- a/tests/reference/asr-generics_array_03-fb3706c.json +++ b/tests/reference/asr-generics_array_03-fb3706c.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-generics_array_03-fb3706c.stdout", - "stdout_hash": "1d1321bbdcc7c17a812872e2dbce351393f27efe1b463a95a01af70c", + "stdout_hash": "fa8c6b7cc9933aa8623103e1f7c6eb17b08873ee5c0f99e96a7e5e0c", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-generics_array_03-fb3706c.stdout b/tests/reference/asr-generics_array_03-fb3706c.stdout index 09f7452d27..604f8c0d23 100644 --- a/tests/reference/asr-generics_array_03-fb3706c.stdout +++ b/tests/reference/asr-generics_array_03-fb3706c.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 189 {T: (Variable 189 T [] Local () () Default (TypeParameter T []) Source Public Required .false.), __asr_generic_g_0: (Function (SymbolTable 185 {_lpython_return_variable: (Variable 185 _lpython_return_variable [n m] ReturnVar () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 185 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 185 m))]) Source Public Required .false.), a: (Variable 185 a [n m] InOut () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 185 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 185 m))]) Source Public Required .false.), b: (Variable 185 b [n m] InOut () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 185 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 185 m))]) Source Public Required .false.), i: (Variable 185 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 185 j [] Local () () Default (Integer 4 []) Source Public Required .false.), m: (Variable 185 m [] In () () Default (Integer 4 []) Source Public Required .false.), n: (Variable 185 n [] In () () Default (Integer 4 []) Source Public Required .false.), r: (Variable 185 r [n m] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 185 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 185 m))]) Source Public Required .false.)}) __asr_generic_g_0 (FunctionType [(Integer 4 []) (Integer 4 []) (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 185 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 185 m))]) (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 185 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 185 m))])] (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 185 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 185 m))]) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [add_integer] [(Var 185 n) (Var 185 m) (Var 185 a) (Var 185 b)] [(DoLoop ((Var 185 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 185 n) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 185 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 185 m) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 185 r) [(() (Var 185 i) ()) (() (Var 185 j) ())] (Integer 4 []) RowMajor ()) (FunctionCall 189 add_integer () [((ArrayItem (Var 185 a) [(() (Var 185 i) ()) (() (Var 185 j) ())] (Integer 4 []) RowMajor ())) ((ArrayItem (Var 185 b) [(() (Var 185 i) ()) (() (Var 185 j) ())] (Integer 4 []) RowMajor ()))] (Integer 4 []) () ()) ())])]) (Print () [(ArrayItem (Var 185 r) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ())] () ())] (Var 185 _lpython_return_variable) Public .false. .false.), __asr_generic_g_1: (Function (SymbolTable 186 {_lpython_return_variable: (Variable 186 _lpython_return_variable [n m] ReturnVar () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 186 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 186 m))]) Source Public Required .false.), a: (Variable 186 a [n m] InOut () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 186 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 186 m))]) Source Public Required .false.), b: (Variable 186 b [n m] InOut () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 186 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 186 m))]) Source Public Required .false.), i: (Variable 186 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 186 j [] Local () () Default (Integer 4 []) Source Public Required .false.), m: (Variable 186 m [] In () () Default (Integer 4 []) Source Public Required .false.), n: (Variable 186 n [] In () () Default (Integer 4 []) Source Public Required .false.), r: (Variable 186 r [n m] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 186 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 186 m))]) Source Public Required .false.)}) __asr_generic_g_1 (FunctionType [(Integer 4 []) (Integer 4 []) (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 186 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 186 m))]) (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 186 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 186 m))])] (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 186 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 186 m))]) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [add_float] [(Var 186 n) (Var 186 m) (Var 186 a) (Var 186 b)] [(DoLoop ((Var 186 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 186 n) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 186 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 186 m) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 186 r) [(() (Var 186 i) ()) (() (Var 186 j) ())] (Real 4 []) RowMajor ()) (FunctionCall 189 add_float () [((ArrayItem (Var 186 a) [(() (Var 186 i) ()) (() (Var 186 j) ())] (Real 4 []) RowMajor ())) ((ArrayItem (Var 186 b) [(() (Var 186 i) ()) (() (Var 186 j) ())] (Real 4 []) RowMajor ()))] (Real 4 []) () ()) ())])]) (Print () [(ArrayItem (Var 186 r) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (Real 4 []) RowMajor ())] () ())] (Var 186 _lpython_return_variable) Public .false. .false.), _lpython_main_program: (Function (SymbolTable 188 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [main] [] [(SubroutineCall 189 main () [] ())] () Public .false. .false.), add: (Function (SymbolTable 178 {_lpython_return_variable: (Variable 178 _lpython_return_variable [] ReturnVar () () Default (TypeParameter T []) Source Public Required .false.), x: (Variable 178 x [] In () () Default (TypeParameter T []) Source Public Required .false.), y: (Variable 178 y [] In () () Default (TypeParameter T []) Source Public Required .false.)}) add (FunctionType [(TypeParameter T []) (TypeParameter T [])] (TypeParameter T []) Source Implementation () .false. .false. .false. .false. .false. [(TypeParameter T [])] [] .true.) [] [(Var 178 x) (Var 178 y)] [] (Var 178 _lpython_return_variable) Public .false. .false.), add_float: (Function (SymbolTable 180 {_lpython_return_variable: (Variable 180 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 180 x [] In () () Default (Real 4 []) Source Public Required .false.), y: (Variable 180 y [] In () () Default (Real 4 []) Source Public Required .false.)}) add_float (FunctionType [(Real 4 []) (Real 4 [])] (Real 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 180 x) (Var 180 y)] [(= (Var 180 _lpython_return_variable) (RealBinOp (Var 180 x) Add (Var 180 y) (Real 4 []) ()) ()) (Return)] (Var 180 _lpython_return_variable) Public .false. .false.), add_integer: (Function (SymbolTable 179 {_lpython_return_variable: (Variable 179 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), x: (Variable 179 x [] In () () Default (Integer 4 []) Source Public Required .false.), y: (Variable 179 y [] In () () Default (Integer 4 []) Source Public Required .false.)}) add_integer (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 179 x) (Var 179 y)] [(= (Var 179 _lpython_return_variable) (IntegerBinOp (Var 179 x) Add (Var 179 y) (Integer 4 []) ()) ()) (Return)] (Var 179 _lpython_return_variable) Public .false. .false.), g: (Function (SymbolTable 181 {_lpython_return_variable: (Variable 181 _lpython_return_variable [n m] ReturnVar () () Default (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 181 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 181 m))]) Source Public Required .false.), a: (Variable 181 a [n m] InOut () () Default (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 181 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 181 m))]) Source Public Required .false.), b: (Variable 181 b [n m] InOut () () Default (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 181 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 181 m))]) Source Public Required .false.), i: (Variable 181 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 181 j [] Local () () Default (Integer 4 []) Source Public Required .false.), m: (Variable 181 m [] In () () Default (Integer 4 []) Source Public Required .false.), n: (Variable 181 n [] In () () Default (Integer 4 []) Source Public Required .false.), r: (Variable 181 r [n m] Local () () Default (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 181 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 181 m))]) Source Public Required .false.)}) g (FunctionType [(Integer 4 []) (Integer 4 []) (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 181 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 181 m))]) (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 181 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 181 m))])] (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 181 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 181 m))]) Source Implementation () .false. .false. .false. .false. .false. [(TypeParameter T [])] [189 add] .false.) [add] [(Var 181 n) (Var 181 m) (Var 181 a) (Var 181 b)] [(DoLoop ((Var 181 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 181 n) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 181 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 181 m) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 181 r) [(() (Var 181 i) ()) (() (Var 181 j) ())] (TypeParameter T []) RowMajor ()) (FunctionCall 189 add () [((ArrayItem (Var 181 a) [(() (Var 181 i) ()) (() (Var 181 j) ())] (TypeParameter T []) RowMajor ())) ((ArrayItem (Var 181 b) [(() (Var 181 i) ()) (() (Var 181 j) ())] (TypeParameter T []) RowMajor ()))] (TypeParameter T []) () ()) ())])]) (Print () [(ArrayItem (Var 181 r) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (TypeParameter T []) RowMajor ())] () ())] (Var 181 _lpython_return_variable) Public .false. .false.), m: (Variable 189 m [] Local () () Default (Integer 4 []) Source Public Required .false.), main: (Function (SymbolTable 182 {__lcompilers_dummy: (Variable 182 __lcompilers_dummy [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), __lcompilers_dummy1: (Variable 182 __lcompilers_dummy1 [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), a_float: (Variable 182 a_float [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), a_int: (Variable 182 a_int [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), b_float: (Variable 182 b_float [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), b_int: (Variable 182 b_int [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.)}) main (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [__asr_generic_g_0 __asr_generic_g_1] [] [(= (ArrayItem (Var 182 a_int) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 400 (Integer 4 [])) ()) (= (ArrayItem (Var 182 b_int) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 20 (Integer 4 [])) ()) (= (Var 182 __lcompilers_dummy) (FunctionCall 189 __asr_generic_g_0 () [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 1 (Integer 4 []))) ((Var 182 a_int)) ((Var 182 b_int))] (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) () ()) ()) (= (ArrayItem (Var 182 a_float) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (Real 4 []) RowMajor ()) (Cast (IntegerConstant 400 (Integer 4 [])) IntegerToReal (Real 4 []) ()) ()) (= (ArrayItem (Var 182 b_float) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (Real 4 []) RowMajor ()) (Cast (IntegerConstant 20 (Integer 4 [])) IntegerToReal (Real 4 []) ()) ()) (= (Var 182 __lcompilers_dummy1) (FunctionCall 189 __asr_generic_g_1 () [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 1 (Integer 4 []))) ((Var 182 a_float)) ((Var 182 b_float))] (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) () ()) ())] () Public .false. .false.), n: (Variable 189 n [] Local () () Default (Integer 4 []) Source Public Required .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 187 {_lpython_main_program: (ExternalSymbol 187 _lpython_main_program 189 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 187 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) ()) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_2___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [x] Local (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [x] Local (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_0___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_0___mod 79 __lpython_overloaded_0___mod lpython_builtin [] __lpython_overloaded_0___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_0___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_0___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) RealToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) () Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 191 {T: (Variable 191 T [] Local () () Default (TypeParameter T []) Source Public Required .false.), __asr_generic_g_0: (Function (SymbolTable 187 {_lpython_return_variable: (Variable 187 _lpython_return_variable [n m] ReturnVar () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 187 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 187 m))]) Source Public Required .false.), a: (Variable 187 a [n m] InOut () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 187 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 187 m))]) Source Public Required .false.), b: (Variable 187 b [n m] InOut () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 187 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 187 m))]) Source Public Required .false.), i: (Variable 187 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 187 j [] Local () () Default (Integer 4 []) Source Public Required .false.), m: (Variable 187 m [] In () () Default (Integer 4 []) Source Public Required .false.), n: (Variable 187 n [] In () () Default (Integer 4 []) Source Public Required .false.), r: (Variable 187 r [n m] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 187 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 187 m))]) Source Public Required .false.)}) __asr_generic_g_0 (FunctionType [(Integer 4 []) (Integer 4 []) (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 187 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 187 m))]) (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 187 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 187 m))])] (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 187 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 187 m))]) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [add_integer] [(Var 187 n) (Var 187 m) (Var 187 a) (Var 187 b)] [(DoLoop ((Var 187 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 187 n) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 187 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 187 m) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 187 r) [(() (Var 187 i) ()) (() (Var 187 j) ())] (Integer 4 []) RowMajor ()) (FunctionCall 191 add_integer () [((ArrayItem (Var 187 a) [(() (Var 187 i) ()) (() (Var 187 j) ())] (Integer 4 []) RowMajor ())) ((ArrayItem (Var 187 b) [(() (Var 187 i) ()) (() (Var 187 j) ())] (Integer 4 []) RowMajor ()))] (Integer 4 []) () ()) ())])]) (Print () [(ArrayItem (Var 187 r) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ())] () ())] (Var 187 _lpython_return_variable) Public .false. .false.), __asr_generic_g_1: (Function (SymbolTable 188 {_lpython_return_variable: (Variable 188 _lpython_return_variable [n m] ReturnVar () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 188 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 188 m))]) Source Public Required .false.), a: (Variable 188 a [n m] InOut () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 188 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 188 m))]) Source Public Required .false.), b: (Variable 188 b [n m] InOut () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 188 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 188 m))]) Source Public Required .false.), i: (Variable 188 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 188 j [] Local () () Default (Integer 4 []) Source Public Required .false.), m: (Variable 188 m [] In () () Default (Integer 4 []) Source Public Required .false.), n: (Variable 188 n [] In () () Default (Integer 4 []) Source Public Required .false.), r: (Variable 188 r [n m] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 188 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 188 m))]) Source Public Required .false.)}) __asr_generic_g_1 (FunctionType [(Integer 4 []) (Integer 4 []) (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 188 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 188 m))]) (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 188 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 188 m))])] (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 188 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 188 m))]) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [add_float] [(Var 188 n) (Var 188 m) (Var 188 a) (Var 188 b)] [(DoLoop ((Var 188 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 188 n) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 188 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 188 m) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 188 r) [(() (Var 188 i) ()) (() (Var 188 j) ())] (Real 4 []) RowMajor ()) (FunctionCall 191 add_float () [((ArrayItem (Var 188 a) [(() (Var 188 i) ()) (() (Var 188 j) ())] (Real 4 []) RowMajor ())) ((ArrayItem (Var 188 b) [(() (Var 188 i) ()) (() (Var 188 j) ())] (Real 4 []) RowMajor ()))] (Real 4 []) () ()) ())])]) (Print () [(ArrayItem (Var 188 r) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (Real 4 []) RowMajor ())] () ())] (Var 188 _lpython_return_variable) Public .false. .false.), _lpython_main_program: (Function (SymbolTable 190 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [main] [] [(SubroutineCall 191 main () [] ())] () Public .false. .false.), add: (Function (SymbolTable 180 {_lpython_return_variable: (Variable 180 _lpython_return_variable [] ReturnVar () () Default (TypeParameter T []) Source Public Required .false.), x: (Variable 180 x [] In () () Default (TypeParameter T []) Source Public Required .false.), y: (Variable 180 y [] In () () Default (TypeParameter T []) Source Public Required .false.)}) add (FunctionType [(TypeParameter T []) (TypeParameter T [])] (TypeParameter T []) Source Implementation () .false. .false. .false. .false. .false. [(TypeParameter T [])] [] .true.) [] [(Var 180 x) (Var 180 y)] [] (Var 180 _lpython_return_variable) Public .false. .false.), add_float: (Function (SymbolTable 182 {_lpython_return_variable: (Variable 182 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 182 x [] In () () Default (Real 4 []) Source Public Required .false.), y: (Variable 182 y [] In () () Default (Real 4 []) Source Public Required .false.)}) add_float (FunctionType [(Real 4 []) (Real 4 [])] (Real 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 182 x) (Var 182 y)] [(= (Var 182 _lpython_return_variable) (RealBinOp (Var 182 x) Add (Var 182 y) (Real 4 []) ()) ()) (Return)] (Var 182 _lpython_return_variable) Public .false. .false.), add_integer: (Function (SymbolTable 181 {_lpython_return_variable: (Variable 181 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), x: (Variable 181 x [] In () () Default (Integer 4 []) Source Public Required .false.), y: (Variable 181 y [] In () () Default (Integer 4 []) Source Public Required .false.)}) add_integer (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 181 x) (Var 181 y)] [(= (Var 181 _lpython_return_variable) (IntegerBinOp (Var 181 x) Add (Var 181 y) (Integer 4 []) ()) ()) (Return)] (Var 181 _lpython_return_variable) Public .false. .false.), g: (Function (SymbolTable 183 {_lpython_return_variable: (Variable 183 _lpython_return_variable [n m] ReturnVar () () Default (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 183 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 183 m))]) Source Public Required .false.), a: (Variable 183 a [n m] InOut () () Default (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 183 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 183 m))]) Source Public Required .false.), b: (Variable 183 b [n m] InOut () () Default (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 183 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 183 m))]) Source Public Required .false.), i: (Variable 183 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 183 j [] Local () () Default (Integer 4 []) Source Public Required .false.), m: (Variable 183 m [] In () () Default (Integer 4 []) Source Public Required .false.), n: (Variable 183 n [] In () () Default (Integer 4 []) Source Public Required .false.), r: (Variable 183 r [n m] Local () () Default (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 183 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 183 m))]) Source Public Required .false.)}) g (FunctionType [(Integer 4 []) (Integer 4 []) (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 183 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 183 m))]) (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 183 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 183 m))])] (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 183 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 183 m))]) Source Implementation () .false. .false. .false. .false. .false. [(TypeParameter T [])] [191 add] .false.) [add] [(Var 183 n) (Var 183 m) (Var 183 a) (Var 183 b)] [(DoLoop ((Var 183 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 183 n) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 183 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 183 m) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 183 r) [(() (Var 183 i) ()) (() (Var 183 j) ())] (TypeParameter T []) RowMajor ()) (FunctionCall 191 add () [((ArrayItem (Var 183 a) [(() (Var 183 i) ()) (() (Var 183 j) ())] (TypeParameter T []) RowMajor ())) ((ArrayItem (Var 183 b) [(() (Var 183 i) ()) (() (Var 183 j) ())] (TypeParameter T []) RowMajor ()))] (TypeParameter T []) () ()) ())])]) (Print () [(ArrayItem (Var 183 r) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (TypeParameter T []) RowMajor ())] () ())] (Var 183 _lpython_return_variable) Public .false. .false.), m: (Variable 191 m [] Local () () Default (Integer 4 []) Source Public Required .false.), main: (Function (SymbolTable 184 {__lcompilers_dummy: (Variable 184 __lcompilers_dummy [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), __lcompilers_dummy1: (Variable 184 __lcompilers_dummy1 [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), a_float: (Variable 184 a_float [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), a_int: (Variable 184 a_int [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), b_float: (Variable 184 b_float [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), b_int: (Variable 184 b_int [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.)}) main (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [__asr_generic_g_0 __asr_generic_g_1] [] [(= (ArrayItem (Var 184 a_int) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 400 (Integer 4 [])) ()) (= (ArrayItem (Var 184 b_int) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 20 (Integer 4 [])) ()) (= (Var 184 __lcompilers_dummy) (FunctionCall 191 __asr_generic_g_0 () [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 1 (Integer 4 []))) ((Var 184 a_int)) ((Var 184 b_int))] (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) () ()) ()) (= (ArrayItem (Var 184 a_float) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (Real 4 []) RowMajor ()) (Cast (IntegerConstant 400 (Integer 4 [])) IntegerToReal (Real 4 []) ()) ()) (= (ArrayItem (Var 184 b_float) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (Real 4 []) RowMajor ()) (Cast (IntegerConstant 20 (Integer 4 [])) IntegerToReal (Real 4 []) ()) ()) (= (Var 184 __lcompilers_dummy1) (FunctionCall 191 __asr_generic_g_1 () [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 1 (Integer 4 []))) ((Var 184 a_float)) ((Var 184 b_float))] (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) () ()) ())] () Public .false. .false.), n: (Variable 191 n [] Local () () Default (Integer 4 []) Source Public Required .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 189 {_lpython_main_program: (ExternalSymbol 189 _lpython_main_program 191 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 189 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) ()) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_2___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [x] Local (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [x] Local (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_0___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_0___mod 79 __lpython_overloaded_0___mod lpython_builtin [] __lpython_overloaded_0___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_0___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_0___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) RealToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) () Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) diff --git a/tests/reference/asr-structs_05-fa98307.json b/tests/reference/asr-structs_05-fa98307.json index 68b011b9c1..cc6eed4cda 100644 --- a/tests/reference/asr-structs_05-fa98307.json +++ b/tests/reference/asr-structs_05-fa98307.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-structs_05-fa98307.stdout", - "stdout_hash": "fc37daa30d2329fe62f318d95fb37e0d9577c4ffd8f14e1bdeb879ed", + "stdout_hash": "f5ab0d1da11019083f84699d3b15bc98e76d7689c867ebfd9de2a35e", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-structs_05-fa98307.stdout b/tests/reference/asr-structs_05-fa98307.stdout index e6b3352272..3adf36bfa1 100644 --- a/tests/reference/asr-structs_05-fa98307.stdout +++ b/tests/reference/asr-structs_05-fa98307.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 109 {A: (StructType (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Real 4 []) Source Public Required .false.), b: (Variable 2 b [] Local () () Default (Integer 2 []) Source Public Required .false.), c: (Variable 2 c [] Local () () Default (Integer 1 []) Source Public Required .false.), d: (Variable 2 d [] Local () () Default (Logical 4 []) Source Public Required .false.), x: (Variable 2 x [] Local () () Default (Integer 4 []) Source Public Required .false.), y: (Variable 2 y [] Local () () Default (Real 8 []) Source Public Required .false.), z: (Variable 2 z [] Local () () Default (Integer 8 []) Source Public Required .false.)}) A [] [y x z a b c d] Source Public .false. () ()), _lpython_main_program: (Function (SymbolTable 108 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [g] [] [(SubroutineCall 109 g () [] ())] () Public .false. .false.), g: (Function (SymbolTable 6 {y: (Variable 6 y [] Local () () Default (Struct 109 A [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])))]) Source Public Required .false.)}) g (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [verify update_1 update_2 verify] [] [(= (ArrayItem (Var 6 y) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Struct 109 A []) RowMajor ()) (StructTypeConstructor 109 A [((RealConstant 1.100000 (Real 8 []))) ((IntegerConstant 1 (Integer 4 []))) ((Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 [])))) ((Cast (RealConstant 1.100000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 1.100000 (Real 4 [])))) ((Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 1 (Integer 2 [])))) ((Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 1 (Integer 1 [])))) ((LogicalConstant .true. (Logical 4 [])))] (Struct 109 A []) ()) ()) (= (ArrayItem (Var 6 y) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 109 A []) RowMajor ()) (StructTypeConstructor 109 A [((RealConstant 2.200000 (Real 8 []))) ((IntegerConstant 2 (Integer 4 []))) ((Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 2 (Integer 8 [])))) ((Cast (RealConstant 2.200000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.200000 (Real 4 [])))) ((Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 2 (Integer 2 [])))) ((Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 2 (Integer 1 [])))) ((LogicalConstant .true. (Logical 4 [])))] (Struct 109 A []) ()) ()) (SubroutineCall 109 verify () [((Var 6 y)) ((IntegerConstant 1 (Integer 4 []))) ((RealConstant 1.100000 (Real 8 []))) ((IntegerConstant 2 (Integer 4 []))) ((RealConstant 2.200000 (Real 8 [])))] ()) (SubroutineCall 109 update_1 () [((ArrayItem (Var 6 y) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Struct 109 A []) RowMajor ()))] ()) (SubroutineCall 109 update_2 () [((Var 6 y))] ()) (SubroutineCall 109 verify () [((Var 6 y)) ((IntegerConstant 2 (Integer 4 []))) ((RealConstant 1.200000 (Real 8 []))) ((IntegerConstant 3 (Integer 4 []))) ((RealConstant 2.300000 (Real 8 [])))] ())] () Public .false. .false.), update_1: (Function (SymbolTable 4 {s: (Variable 4 s [] In () () Default (Struct 109 A []) Source Public Required .false.)}) update_1 (FunctionType [(Struct 109 A [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 s)] [(= (StructInstanceMember (Var 4 s) 2 x (Integer 4 []) ()) (IntegerConstant 2 (Integer 4 [])) ()) (= (StructInstanceMember (Var 4 s) 2 y (Real 8 []) ()) (RealConstant 1.200000 (Real 8 [])) ()) (= (StructInstanceMember (Var 4 s) 2 z (Integer 8 []) ()) (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 2 (Integer 8 []))) ()) (= (StructInstanceMember (Var 4 s) 2 a (Real 4 []) ()) (Cast (RealConstant 1.200000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 1.200000 (Real 4 []))) ()) (= (StructInstanceMember (Var 4 s) 2 b (Integer 2 []) ()) (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 2 (Integer 2 []))) ()) (= (StructInstanceMember (Var 4 s) 2 c (Integer 1 []) ()) (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 2 (Integer 1 []))) ())] () Public .false. .false.), update_2: (Function (SymbolTable 5 {s: (Variable 5 s [] InOut () () Default (Struct 109 A [(() ())]) Source Public Required .false.)}) update_2 (FunctionType [(Struct 109 A [(() ())])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 5 s)] [(= (StructInstanceMember (ArrayItem (Var 5 s) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 109 A []) RowMajor ()) 2 x (Integer 4 []) ()) (IntegerConstant 3 (Integer 4 [])) ()) (= (StructInstanceMember (ArrayItem (Var 5 s) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 109 A []) RowMajor ()) 2 y (Real 8 []) ()) (RealConstant 2.300000 (Real 8 [])) ()) (= (StructInstanceMember (ArrayItem (Var 5 s) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 109 A []) RowMajor ()) 2 z (Integer 8 []) ()) (Cast (IntegerConstant 3 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 3 (Integer 8 []))) ()) (= (StructInstanceMember (ArrayItem (Var 5 s) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 109 A []) RowMajor ()) 2 a (Real 4 []) ()) (Cast (RealConstant 2.300000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.300000 (Real 4 []))) ()) (= (StructInstanceMember (ArrayItem (Var 5 s) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 109 A []) RowMajor ()) 2 b (Integer 2 []) ()) (Cast (IntegerConstant 3 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 3 (Integer 2 []))) ()) (= (StructInstanceMember (ArrayItem (Var 5 s) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 109 A []) RowMajor ()) 2 c (Integer 1 []) ()) (Cast (IntegerConstant 3 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 3 (Integer 1 []))) ())] () Public .false. .false.), verify: (Function (SymbolTable 3 {abs: (ExternalSymbol 3 abs 8 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 3 abs@__lpython_overloaded_0__abs 8 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), abs@__lpython_overloaded_1__abs: (ExternalSymbol 3 abs@__lpython_overloaded_1__abs 8 __lpython_overloaded_1__abs lpython_builtin [] __lpython_overloaded_1__abs Public), eps: (Variable 3 eps [] Local (RealConstant 0.000000 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), s: (Variable 3 s [] InOut () () Default (Struct 109 A [(() ())]) Source Public Required .false.), s0: (Variable 3 s0 [] Local () () Default (Struct 109 A []) Source Public Required .false.), s1: (Variable 3 s1 [] Local () () Default (Struct 109 A []) Source Public Required .false.), x1: (Variable 3 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 3 x2 [] In () () Default (Integer 4 []) Source Public Required .false.), y1: (Variable 3 y1 [] In () () Default (Real 8 []) Source Public Required .false.), y2: (Variable 3 y2 [] In () () Default (Real 8 []) Source Public Required .false.)}) verify (FunctionType [(Struct 109 A [(() ())]) (Integer 4 []) (Real 8 []) (Integer 4 []) (Real 8 [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_1__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_1__abs] [(Var 3 s) (Var 3 x1) (Var 3 y1) (Var 3 x2) (Var 3 y2)] [(= (Var 3 eps) (RealConstant 0.000000 (Real 8 [])) ()) (= (Var 3 s0) (ArrayItem (Var 3 s) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Struct 109 A []) RowMajor ()) ()) (Print () [(StructInstanceMember (Var 3 s0) 2 x (Integer 4 []) ()) (StructInstanceMember (Var 3 s0) 2 y (Real 8 []) ()) (StructInstanceMember (Var 3 s0) 2 z (Integer 8 []) ()) (StructInstanceMember (Var 3 s0) 2 a (Real 4 []) ()) (StructInstanceMember (Var 3 s0) 2 b (Integer 2 []) ()) (StructInstanceMember (Var 3 s0) 2 c (Integer 1 []) ()) (StructInstanceMember (Var 3 s0) 2 d (Logical 4 []) ())] () ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s0) 2 x (Integer 4 []) ()) Eq (Var 3 x1) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (StructInstanceMember (Var 3 s0) 2 y (Real 8 []) ()) Sub (Var 3 y1) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 3 eps) (Logical 4 []) ()) ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s0) 2 z (Integer 8 []) ()) Eq (Cast (Var 3 x1) IntegerToInteger (Integer 8 []) ()) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_1__abs 3 abs [((RealBinOp (StructInstanceMember (Var 3 s0) 2 a (Real 4 []) ()) Sub (Cast (Var 3 y1) RealToReal (Real 4 []) ()) (Real 4 []) ()))] (Real 4 []) () ()) Lt (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s0) 2 b (Integer 2 []) ()) Eq (Cast (Var 3 x1) IntegerToInteger (Integer 2 []) ()) (Logical 4 []) ()) ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s0) 2 c (Integer 1 []) ()) Eq (Cast (Var 3 x1) IntegerToInteger (Integer 1 []) ()) (Logical 4 []) ()) ()) (Assert (StructInstanceMember (Var 3 s0) 2 d (Logical 4 []) ()) ()) (= (Var 3 s1) (ArrayItem (Var 3 s) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 109 A []) RowMajor ()) ()) (Print () [(StructInstanceMember (Var 3 s1) 2 x (Integer 4 []) ()) (StructInstanceMember (Var 3 s1) 2 y (Real 8 []) ()) (StructInstanceMember (Var 3 s1) 2 z (Integer 8 []) ()) (StructInstanceMember (Var 3 s1) 2 a (Real 4 []) ()) (StructInstanceMember (Var 3 s1) 2 b (Integer 2 []) ()) (StructInstanceMember (Var 3 s1) 2 c (Integer 1 []) ()) (StructInstanceMember (Var 3 s1) 2 d (Logical 4 []) ())] () ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s1) 2 x (Integer 4 []) ()) Eq (Var 3 x2) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (StructInstanceMember (Var 3 s1) 2 y (Real 8 []) ()) Sub (Var 3 y2) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 3 eps) (Logical 4 []) ()) ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s1) 2 z (Integer 8 []) ()) Eq (Cast (Var 3 x2) IntegerToInteger (Integer 8 []) ()) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_1__abs 3 abs [((RealBinOp (StructInstanceMember (Var 3 s1) 2 a (Real 4 []) ()) Sub (Cast (Var 3 y2) RealToReal (Real 4 []) ()) (Real 4 []) ()))] (Real 4 []) () ()) Lt (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s1) 2 b (Integer 2 []) ()) Eq (Cast (Var 3 x2) IntegerToInteger (Integer 2 []) ()) (Logical 4 []) ()) ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s1) 2 c (Integer 1 []) ()) Eq (Cast (Var 3 x2) IntegerToInteger (Integer 1 []) ()) (Logical 4 []) ()) ()) (Assert (StructInstanceMember (Var 3 s1) 2 d (Logical 4 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 107 {_lpython_main_program: (ExternalSymbol 107 _lpython_main_program 109 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 107 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 111 {A: (StructType (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Real 4 []) Source Public Required .false.), b: (Variable 2 b [] Local () () Default (Integer 2 []) Source Public Required .false.), c: (Variable 2 c [] Local () () Default (Integer 1 []) Source Public Required .false.), d: (Variable 2 d [] Local () () Default (Logical 4 []) Source Public Required .false.), x: (Variable 2 x [] Local () () Default (Integer 4 []) Source Public Required .false.), y: (Variable 2 y [] Local () () Default (Real 8 []) Source Public Required .false.), z: (Variable 2 z [] Local () () Default (Integer 8 []) Source Public Required .false.)}) A [] [y x z a b c d] Source Public .false. () ()), _lpython_main_program: (Function (SymbolTable 110 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [g] [] [(SubroutineCall 111 g () [] ())] () Public .false. .false.), g: (Function (SymbolTable 6 {y: (Variable 6 y [] Local () () Default (Struct 111 A [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])))]) Source Public Required .false.)}) g (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [verify update_1 update_2 verify] [] [(= (ArrayItem (Var 6 y) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Struct 111 A []) RowMajor ()) (StructTypeConstructor 111 A [((RealConstant 1.100000 (Real 8 []))) ((IntegerConstant 1 (Integer 4 []))) ((Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 [])))) ((Cast (RealConstant 1.100000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 1.100000 (Real 4 [])))) ((Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 1 (Integer 2 [])))) ((Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 1 (Integer 1 [])))) ((LogicalConstant .true. (Logical 4 [])))] (Struct 111 A []) ()) ()) (= (ArrayItem (Var 6 y) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 111 A []) RowMajor ()) (StructTypeConstructor 111 A [((RealConstant 2.200000 (Real 8 []))) ((IntegerConstant 2 (Integer 4 []))) ((Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 2 (Integer 8 [])))) ((Cast (RealConstant 2.200000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.200000 (Real 4 [])))) ((Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 2 (Integer 2 [])))) ((Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 2 (Integer 1 [])))) ((LogicalConstant .true. (Logical 4 [])))] (Struct 111 A []) ()) ()) (SubroutineCall 111 verify () [((Var 6 y)) ((IntegerConstant 1 (Integer 4 []))) ((RealConstant 1.100000 (Real 8 []))) ((IntegerConstant 2 (Integer 4 []))) ((RealConstant 2.200000 (Real 8 [])))] ()) (SubroutineCall 111 update_1 () [((ArrayItem (Var 6 y) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Struct 111 A []) RowMajor ()))] ()) (SubroutineCall 111 update_2 () [((Var 6 y))] ()) (SubroutineCall 111 verify () [((Var 6 y)) ((IntegerConstant 2 (Integer 4 []))) ((RealConstant 1.200000 (Real 8 []))) ((IntegerConstant 3 (Integer 4 []))) ((RealConstant 2.300000 (Real 8 [])))] ())] () Public .false. .false.), update_1: (Function (SymbolTable 4 {s: (Variable 4 s [] In () () Default (Struct 111 A []) Source Public Required .false.)}) update_1 (FunctionType [(Struct 111 A [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 s)] [(= (StructInstanceMember (Var 4 s) 2 x (Integer 4 []) ()) (IntegerConstant 2 (Integer 4 [])) ()) (= (StructInstanceMember (Var 4 s) 2 y (Real 8 []) ()) (RealConstant 1.200000 (Real 8 [])) ()) (= (StructInstanceMember (Var 4 s) 2 z (Integer 8 []) ()) (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 2 (Integer 8 []))) ()) (= (StructInstanceMember (Var 4 s) 2 a (Real 4 []) ()) (Cast (RealConstant 1.200000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 1.200000 (Real 4 []))) ()) (= (StructInstanceMember (Var 4 s) 2 b (Integer 2 []) ()) (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 2 (Integer 2 []))) ()) (= (StructInstanceMember (Var 4 s) 2 c (Integer 1 []) ()) (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 2 (Integer 1 []))) ())] () Public .false. .false.), update_2: (Function (SymbolTable 5 {s: (Variable 5 s [] InOut () () Default (Struct 111 A [(() ())]) Source Public Required .false.)}) update_2 (FunctionType [(Struct 111 A [(() ())])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 5 s)] [(= (StructInstanceMember (ArrayItem (Var 5 s) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 111 A []) RowMajor ()) 2 x (Integer 4 []) ()) (IntegerConstant 3 (Integer 4 [])) ()) (= (StructInstanceMember (ArrayItem (Var 5 s) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 111 A []) RowMajor ()) 2 y (Real 8 []) ()) (RealConstant 2.300000 (Real 8 [])) ()) (= (StructInstanceMember (ArrayItem (Var 5 s) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 111 A []) RowMajor ()) 2 z (Integer 8 []) ()) (Cast (IntegerConstant 3 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 3 (Integer 8 []))) ()) (= (StructInstanceMember (ArrayItem (Var 5 s) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 111 A []) RowMajor ()) 2 a (Real 4 []) ()) (Cast (RealConstant 2.300000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.300000 (Real 4 []))) ()) (= (StructInstanceMember (ArrayItem (Var 5 s) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 111 A []) RowMajor ()) 2 b (Integer 2 []) ()) (Cast (IntegerConstant 3 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 3 (Integer 2 []))) ()) (= (StructInstanceMember (ArrayItem (Var 5 s) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 111 A []) RowMajor ()) 2 c (Integer 1 []) ()) (Cast (IntegerConstant 3 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 3 (Integer 1 []))) ())] () Public .false. .false.), verify: (Function (SymbolTable 3 {abs: (ExternalSymbol 3 abs 8 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 3 abs@__lpython_overloaded_0__abs 8 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), abs@__lpython_overloaded_1__abs: (ExternalSymbol 3 abs@__lpython_overloaded_1__abs 8 __lpython_overloaded_1__abs lpython_builtin [] __lpython_overloaded_1__abs Public), eps: (Variable 3 eps [] Local (RealConstant 0.000000 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), s: (Variable 3 s [] InOut () () Default (Struct 111 A [(() ())]) Source Public Required .false.), s0: (Variable 3 s0 [] Local () () Default (Struct 111 A []) Source Public Required .false.), s1: (Variable 3 s1 [] Local () () Default (Struct 111 A []) Source Public Required .false.), x1: (Variable 3 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 3 x2 [] In () () Default (Integer 4 []) Source Public Required .false.), y1: (Variable 3 y1 [] In () () Default (Real 8 []) Source Public Required .false.), y2: (Variable 3 y2 [] In () () Default (Real 8 []) Source Public Required .false.)}) verify (FunctionType [(Struct 111 A [(() ())]) (Integer 4 []) (Real 8 []) (Integer 4 []) (Real 8 [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_1__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_1__abs] [(Var 3 s) (Var 3 x1) (Var 3 y1) (Var 3 x2) (Var 3 y2)] [(= (Var 3 eps) (RealConstant 0.000000 (Real 8 [])) ()) (= (Var 3 s0) (ArrayItem (Var 3 s) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Struct 111 A []) RowMajor ()) ()) (Print () [(StructInstanceMember (Var 3 s0) 2 x (Integer 4 []) ()) (StructInstanceMember (Var 3 s0) 2 y (Real 8 []) ()) (StructInstanceMember (Var 3 s0) 2 z (Integer 8 []) ()) (StructInstanceMember (Var 3 s0) 2 a (Real 4 []) ()) (StructInstanceMember (Var 3 s0) 2 b (Integer 2 []) ()) (StructInstanceMember (Var 3 s0) 2 c (Integer 1 []) ()) (StructInstanceMember (Var 3 s0) 2 d (Logical 4 []) ())] () ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s0) 2 x (Integer 4 []) ()) Eq (Var 3 x1) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (StructInstanceMember (Var 3 s0) 2 y (Real 8 []) ()) Sub (Var 3 y1) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 3 eps) (Logical 4 []) ()) ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s0) 2 z (Integer 8 []) ()) Eq (Cast (Var 3 x1) IntegerToInteger (Integer 8 []) ()) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_1__abs 3 abs [((RealBinOp (StructInstanceMember (Var 3 s0) 2 a (Real 4 []) ()) Sub (Cast (Var 3 y1) RealToReal (Real 4 []) ()) (Real 4 []) ()))] (Real 4 []) () ()) Lt (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s0) 2 b (Integer 2 []) ()) Eq (Cast (Var 3 x1) IntegerToInteger (Integer 2 []) ()) (Logical 4 []) ()) ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s0) 2 c (Integer 1 []) ()) Eq (Cast (Var 3 x1) IntegerToInteger (Integer 1 []) ()) (Logical 4 []) ()) ()) (Assert (StructInstanceMember (Var 3 s0) 2 d (Logical 4 []) ()) ()) (= (Var 3 s1) (ArrayItem (Var 3 s) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 111 A []) RowMajor ()) ()) (Print () [(StructInstanceMember (Var 3 s1) 2 x (Integer 4 []) ()) (StructInstanceMember (Var 3 s1) 2 y (Real 8 []) ()) (StructInstanceMember (Var 3 s1) 2 z (Integer 8 []) ()) (StructInstanceMember (Var 3 s1) 2 a (Real 4 []) ()) (StructInstanceMember (Var 3 s1) 2 b (Integer 2 []) ()) (StructInstanceMember (Var 3 s1) 2 c (Integer 1 []) ()) (StructInstanceMember (Var 3 s1) 2 d (Logical 4 []) ())] () ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s1) 2 x (Integer 4 []) ()) Eq (Var 3 x2) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (StructInstanceMember (Var 3 s1) 2 y (Real 8 []) ()) Sub (Var 3 y2) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 3 eps) (Logical 4 []) ()) ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s1) 2 z (Integer 8 []) ()) Eq (Cast (Var 3 x2) IntegerToInteger (Integer 8 []) ()) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_1__abs 3 abs [((RealBinOp (StructInstanceMember (Var 3 s1) 2 a (Real 4 []) ()) Sub (Cast (Var 3 y2) RealToReal (Real 4 []) ()) (Real 4 []) ()))] (Real 4 []) () ()) Lt (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s1) 2 b (Integer 2 []) ()) Eq (Cast (Var 3 x2) IntegerToInteger (Integer 2 []) ()) (Logical 4 []) ()) ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s1) 2 c (Integer 1 []) ()) Eq (Cast (Var 3 x2) IntegerToInteger (Integer 1 []) ()) (Logical 4 []) ()) ()) (Assert (StructInstanceMember (Var 3 s1) 2 d (Logical 4 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 109 {_lpython_main_program: (ExternalSymbol 109 _lpython_main_program 111 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 109 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-test_bool_binop-f856ef0.json b/tests/reference/asr-test_bool_binop-f856ef0.json index 215cbb68bc..42f9abd26f 100644 --- a/tests/reference/asr-test_bool_binop-f856ef0.json +++ b/tests/reference/asr-test_bool_binop-f856ef0.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_bool_binop-f856ef0.stdout", - "stdout_hash": "b06dc780a5e38e911374aa72454b36c5cf765c29452c08c519aeec2f", + "stdout_hash": "7285c9f7b114d9ea52a686e281268560270337683520e1e744e0f83a", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_bool_binop-f856ef0.stdout b/tests/reference/asr-test_bool_binop-f856ef0.stdout index e45380a551..4c6c3ee8ac 100644 --- a/tests/reference/asr-test_bool_binop-f856ef0.stdout +++ b/tests/reference/asr-test_bool_binop-f856ef0.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 105 {_lpython_main_program: (Function (SymbolTable 104 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [f] [] [(SubroutineCall 105 f () [] ())] () Public .false. .false.), f: (Function (SymbolTable 2 {_lpython_floordiv: (ExternalSymbol 2 _lpython_floordiv 4 _lpython_floordiv lpython_builtin [] _lpython_floordiv Private), _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv: (ExternalSymbol 2 _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv 4 __lpython_overloaded_6___lpython_floordiv lpython_builtin [] __lpython_overloaded_6___lpython_floordiv Public), b1: (Variable 2 b1 [] Local (LogicalConstant .false. (Logical 4 [])) () Default (Logical 4 []) Source Public Required .false.), b2: (Variable 2 b2 [] Local (LogicalConstant .true. (Logical 4 [])) () Default (Logical 4 []) Source Public Required .false.), f: (Variable 2 f [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 2 i [] Local () () Default (Integer 4 []) Source Public Required .false.)}) f (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [_lpython_floordiv@__lpython_overloaded_6___lpython_floordiv _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv] [] [(= (Var 2 i) (IntegerBinOp (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Add (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 2 i) Eq (IntegerConstant 2 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerBinOp (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Sub (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 2 i) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerBinOp (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Mul (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 2 i) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 i) (Cast (FunctionCall 2 _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv 2 _lpython_floordiv [((LogicalConstant .true. (Logical 4 []))) ((LogicalConstant .true. (Logical 4 [])))] (Logical 4 []) (LogicalConstant .true. (Logical 1 [])) ()) LogicalToInteger (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 2 i) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 i) (Cast (FunctionCall 2 _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv 2 _lpython_floordiv [((LogicalConstant .false. (Logical 4 []))) ((LogicalConstant .true. (Logical 4 [])))] (Logical 4 []) (LogicalConstant .false. (Logical 1 [])) ()) LogicalToInteger (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 2 i) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerBinOp (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Pow (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 2 i) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 b1) (LogicalConstant .false. (Logical 4 [])) ()) (= (Var 2 b2) (LogicalConstant .true. (Logical 4 [])) ()) (= (Var 2 f) (RealBinOp (Cast (Var 2 b1) LogicalToReal (Real 8 []) ()) Div (Cast (Var 2 b2) LogicalToReal (Real 8 []) ()) (Real 8 []) ()) ()) (Assert (RealCompare (Var 2 f) Eq (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 103 {_lpython_main_program: (ExternalSymbol 103 _lpython_main_program 105 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 103 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 107 {_lpython_main_program: (Function (SymbolTable 106 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [f] [] [(SubroutineCall 107 f () [] ())] () Public .false. .false.), f: (Function (SymbolTable 2 {_lpython_floordiv: (ExternalSymbol 2 _lpython_floordiv 4 _lpython_floordiv lpython_builtin [] _lpython_floordiv Private), _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv: (ExternalSymbol 2 _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv 4 __lpython_overloaded_6___lpython_floordiv lpython_builtin [] __lpython_overloaded_6___lpython_floordiv Public), b1: (Variable 2 b1 [] Local (LogicalConstant .false. (Logical 4 [])) () Default (Logical 4 []) Source Public Required .false.), b2: (Variable 2 b2 [] Local (LogicalConstant .true. (Logical 4 [])) () Default (Logical 4 []) Source Public Required .false.), f: (Variable 2 f [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 2 i [] Local () () Default (Integer 4 []) Source Public Required .false.)}) f (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [_lpython_floordiv@__lpython_overloaded_6___lpython_floordiv _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv] [] [(= (Var 2 i) (IntegerBinOp (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Add (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 2 i) Eq (IntegerConstant 2 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerBinOp (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Sub (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 2 i) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerBinOp (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Mul (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 2 i) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 i) (Cast (FunctionCall 2 _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv 2 _lpython_floordiv [((LogicalConstant .true. (Logical 4 []))) ((LogicalConstant .true. (Logical 4 [])))] (Logical 4 []) (LogicalConstant .true. (Logical 1 [])) ()) LogicalToInteger (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 2 i) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 i) (Cast (FunctionCall 2 _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv 2 _lpython_floordiv [((LogicalConstant .false. (Logical 4 []))) ((LogicalConstant .true. (Logical 4 [])))] (Logical 4 []) (LogicalConstant .false. (Logical 1 [])) ()) LogicalToInteger (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 2 i) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerBinOp (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Pow (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 2 i) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 b1) (LogicalConstant .false. (Logical 4 [])) ()) (= (Var 2 b2) (LogicalConstant .true. (Logical 4 [])) ()) (= (Var 2 f) (RealBinOp (Cast (Var 2 b1) LogicalToReal (Real 8 []) ()) Div (Cast (Var 2 b2) LogicalToReal (Real 8 []) ()) (Real 8 []) ()) ()) (Assert (RealCompare (Var 2 f) Eq (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 105 {_lpython_main_program: (ExternalSymbol 105 _lpython_main_program 107 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 105 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-test_builtin_abs-c74d2c9.json b/tests/reference/asr-test_builtin_abs-c74d2c9.json index 3b0bbde248..ef20464dd3 100644 --- a/tests/reference/asr-test_builtin_abs-c74d2c9.json +++ b/tests/reference/asr-test_builtin_abs-c74d2c9.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_builtin_abs-c74d2c9.stdout", - "stdout_hash": "dc01c8b7ceb9a3eaa5993064f5df242f99f94fc0618cbb6074de00f1", + "stdout_hash": "c7ab44e1cd28aeb143bc3faa66ed98113b1fbb46d4da44c1b2b39241", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_builtin_abs-c74d2c9.stdout b/tests/reference/asr-test_builtin_abs-c74d2c9.stdout index a2e720de8c..758f247c6b 100644 --- a/tests/reference/asr-test_builtin_abs-c74d2c9.stdout +++ b/tests/reference/asr-test_builtin_abs-c74d2c9.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 105 {_lpython_main_program: (Function (SymbolTable 104 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_abs] [] [(SubroutineCall 105 test_abs () [] ())] () Public .false. .false.), test_abs: (Function (SymbolTable 2 {abs: (ExternalSymbol 2 abs 4 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 2 abs@__lpython_overloaded_0__abs 4 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), abs@__lpython_overloaded_1__abs: (ExternalSymbol 2 abs@__lpython_overloaded_1__abs 4 __lpython_overloaded_1__abs lpython_builtin [] __lpython_overloaded_1__abs Public), abs@__lpython_overloaded_2__abs: (ExternalSymbol 2 abs@__lpython_overloaded_2__abs 4 __lpython_overloaded_2__abs lpython_builtin [] __lpython_overloaded_2__abs Public), abs@__lpython_overloaded_3__abs: (ExternalSymbol 2 abs@__lpython_overloaded_3__abs 4 __lpython_overloaded_3__abs lpython_builtin [] __lpython_overloaded_3__abs Public), abs@__lpython_overloaded_4__abs: (ExternalSymbol 2 abs@__lpython_overloaded_4__abs 4 __lpython_overloaded_4__abs lpython_builtin [] __lpython_overloaded_4__abs Public), abs@__lpython_overloaded_5__abs: (ExternalSymbol 2 abs@__lpython_overloaded_5__abs 4 __lpython_overloaded_5__abs lpython_builtin [] __lpython_overloaded_5__abs Public), abs@__lpython_overloaded_6__abs: (ExternalSymbol 2 abs@__lpython_overloaded_6__abs 4 __lpython_overloaded_6__abs lpython_builtin [] __lpython_overloaded_6__abs Public), b: (Variable 2 b [] Local () () Default (Logical 4 []) Source Public Required .false.), i: (Variable 2 i [] Local () () Default (Integer 4 []) Source Public Required .false.), i2: (Variable 2 i2 [] Local () () Default (Integer 8 []) Source Public Required .false.), i3: (Variable 2 i3 [] Local () () Default (Integer 1 []) Source Public Required .false.), i4: (Variable 2 i4 [] Local () () Default (Integer 2 []) Source Public Required .false.), x: (Variable 2 x [] Local () () Default (Real 8 []) Source Public Required .false.), x2: (Variable 2 x2 [] Local () () Default (Real 4 []) Source Public Required .false.)}) test_abs (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_1__abs abs@__lpython_overloaded_4__abs abs@__lpython_overloaded_4__abs abs@__lpython_overloaded_5__abs abs@__lpython_overloaded_2__abs abs@__lpython_overloaded_3__abs abs@__lpython_overloaded_6__abs abs@__lpython_overloaded_6__abs] [] [(= (Var 2 x) (RealConstant 5.500000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((Var 2 x))] (Real 8 []) () ()) Eq (RealConstant 5.500000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 2 x) (RealUnaryMinus (RealConstant 5.500000 (Real 8 [])) (Real 8 []) (RealConstant -5.500000 (Real 8 []))) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((Var 2 x))] (Real 8 []) () ()) Eq (RealConstant 5.500000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealConstant 5.500000 (Real 8 [])))] (Real 8 []) (RealConstant 5.500000 (Real 8 [])) ()) Eq (RealConstant 5.500000 (Real 8 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealUnaryMinus (RealConstant 5.500000 (Real 8 [])) (Real 8 []) (RealConstant -5.500000 (Real 8 []))))] (Real 8 []) (RealConstant 5.500000 (Real 8 [])) ()) Eq (RealConstant 5.500000 (Real 8 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 x2) (RealUnaryMinus (Cast (RealConstant 5.500000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 5.500000 (Real 4 []))) (Real 4 []) (RealConstant -5.500000 (Real 4 []))) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_1__abs 2 abs [((Var 2 x2))] (Real 4 []) () ()) Eq (Cast (RealConstant 5.500000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 5.500000 (Real 4 []))) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerUnaryMinus (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5 (Integer 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 abs@__lpython_overloaded_4__abs 2 abs [((Var 2 i))] (Integer 4 []) () ()) Eq (IntegerConstant 5 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 abs@__lpython_overloaded_4__abs 2 abs [((IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))))] (Integer 4 []) (IntegerConstant 1 (Integer 4 [])) ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 i2) (IntegerUnaryMinus (Cast (IntegerConstant 6 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 6 (Integer 8 []))) (Integer 8 []) (IntegerConstant -6 (Integer 8 []))) ()) (Assert (IntegerCompare (FunctionCall 2 abs@__lpython_overloaded_5__abs 2 abs [((Var 2 i2))] (Integer 8 []) () ()) Eq (Cast (IntegerConstant 6 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 6 (Integer 8 []))) (Logical 4 []) ()) ()) (= (Var 2 i3) (IntegerUnaryMinus (Cast (IntegerConstant 7 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 7 (Integer 1 []))) (Integer 1 []) (IntegerConstant -7 (Integer 1 []))) ()) (Assert (IntegerCompare (FunctionCall 2 abs@__lpython_overloaded_2__abs 2 abs [((Var 2 i3))] (Integer 1 []) () ()) Eq (Cast (IntegerConstant 7 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 7 (Integer 1 []))) (Logical 4 []) ()) ()) (= (Var 2 i4) (IntegerUnaryMinus (Cast (IntegerConstant 8 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 8 (Integer 2 []))) (Integer 2 []) (IntegerConstant -8 (Integer 2 []))) ()) (Assert (IntegerCompare (FunctionCall 2 abs@__lpython_overloaded_3__abs 2 abs [((Var 2 i4))] (Integer 2 []) () ()) Eq (Cast (IntegerConstant 8 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 8 (Integer 2 []))) (Logical 4 []) ()) ()) (= (Var 2 b) (LogicalConstant .true. (Logical 4 [])) ()) (Assert (IntegerCompare (FunctionCall 2 abs@__lpython_overloaded_6__abs 2 abs [((Var 2 b))] (Integer 4 []) () ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 b) (LogicalConstant .false. (Logical 4 [])) ()) (Assert (IntegerCompare (FunctionCall 2 abs@__lpython_overloaded_6__abs 2 abs [((Var 2 b))] (Integer 4 []) () ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 103 {_lpython_main_program: (ExternalSymbol 103 _lpython_main_program 105 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 103 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 107 {_lpython_main_program: (Function (SymbolTable 106 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_abs] [] [(SubroutineCall 107 test_abs () [] ())] () Public .false. .false.), test_abs: (Function (SymbolTable 2 {abs: (ExternalSymbol 2 abs 4 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 2 abs@__lpython_overloaded_0__abs 4 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), abs@__lpython_overloaded_1__abs: (ExternalSymbol 2 abs@__lpython_overloaded_1__abs 4 __lpython_overloaded_1__abs lpython_builtin [] __lpython_overloaded_1__abs Public), abs@__lpython_overloaded_2__abs: (ExternalSymbol 2 abs@__lpython_overloaded_2__abs 4 __lpython_overloaded_2__abs lpython_builtin [] __lpython_overloaded_2__abs Public), abs@__lpython_overloaded_3__abs: (ExternalSymbol 2 abs@__lpython_overloaded_3__abs 4 __lpython_overloaded_3__abs lpython_builtin [] __lpython_overloaded_3__abs Public), abs@__lpython_overloaded_4__abs: (ExternalSymbol 2 abs@__lpython_overloaded_4__abs 4 __lpython_overloaded_4__abs lpython_builtin [] __lpython_overloaded_4__abs Public), abs@__lpython_overloaded_5__abs: (ExternalSymbol 2 abs@__lpython_overloaded_5__abs 4 __lpython_overloaded_5__abs lpython_builtin [] __lpython_overloaded_5__abs Public), abs@__lpython_overloaded_6__abs: (ExternalSymbol 2 abs@__lpython_overloaded_6__abs 4 __lpython_overloaded_6__abs lpython_builtin [] __lpython_overloaded_6__abs Public), b: (Variable 2 b [] Local () () Default (Logical 4 []) Source Public Required .false.), i: (Variable 2 i [] Local () () Default (Integer 4 []) Source Public Required .false.), i2: (Variable 2 i2 [] Local () () Default (Integer 8 []) Source Public Required .false.), i3: (Variable 2 i3 [] Local () () Default (Integer 1 []) Source Public Required .false.), i4: (Variable 2 i4 [] Local () () Default (Integer 2 []) Source Public Required .false.), x: (Variable 2 x [] Local () () Default (Real 8 []) Source Public Required .false.), x2: (Variable 2 x2 [] Local () () Default (Real 4 []) Source Public Required .false.)}) test_abs (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_1__abs abs@__lpython_overloaded_4__abs abs@__lpython_overloaded_4__abs abs@__lpython_overloaded_5__abs abs@__lpython_overloaded_2__abs abs@__lpython_overloaded_3__abs abs@__lpython_overloaded_6__abs abs@__lpython_overloaded_6__abs] [] [(= (Var 2 x) (RealConstant 5.500000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((Var 2 x))] (Real 8 []) () ()) Eq (RealConstant 5.500000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 2 x) (RealUnaryMinus (RealConstant 5.500000 (Real 8 [])) (Real 8 []) (RealConstant -5.500000 (Real 8 []))) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((Var 2 x))] (Real 8 []) () ()) Eq (RealConstant 5.500000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealConstant 5.500000 (Real 8 [])))] (Real 8 []) (RealConstant 5.500000 (Real 8 [])) ()) Eq (RealConstant 5.500000 (Real 8 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealUnaryMinus (RealConstant 5.500000 (Real 8 [])) (Real 8 []) (RealConstant -5.500000 (Real 8 []))))] (Real 8 []) (RealConstant 5.500000 (Real 8 [])) ()) Eq (RealConstant 5.500000 (Real 8 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 x2) (RealUnaryMinus (Cast (RealConstant 5.500000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 5.500000 (Real 4 []))) (Real 4 []) (RealConstant -5.500000 (Real 4 []))) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_1__abs 2 abs [((Var 2 x2))] (Real 4 []) () ()) Eq (Cast (RealConstant 5.500000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 5.500000 (Real 4 []))) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerUnaryMinus (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5 (Integer 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 abs@__lpython_overloaded_4__abs 2 abs [((Var 2 i))] (Integer 4 []) () ()) Eq (IntegerConstant 5 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 abs@__lpython_overloaded_4__abs 2 abs [((IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))))] (Integer 4 []) (IntegerConstant 1 (Integer 4 [])) ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 i2) (IntegerUnaryMinus (Cast (IntegerConstant 6 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 6 (Integer 8 []))) (Integer 8 []) (IntegerConstant -6 (Integer 8 []))) ()) (Assert (IntegerCompare (FunctionCall 2 abs@__lpython_overloaded_5__abs 2 abs [((Var 2 i2))] (Integer 8 []) () ()) Eq (Cast (IntegerConstant 6 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 6 (Integer 8 []))) (Logical 4 []) ()) ()) (= (Var 2 i3) (IntegerUnaryMinus (Cast (IntegerConstant 7 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 7 (Integer 1 []))) (Integer 1 []) (IntegerConstant -7 (Integer 1 []))) ()) (Assert (IntegerCompare (FunctionCall 2 abs@__lpython_overloaded_2__abs 2 abs [((Var 2 i3))] (Integer 1 []) () ()) Eq (Cast (IntegerConstant 7 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 7 (Integer 1 []))) (Logical 4 []) ()) ()) (= (Var 2 i4) (IntegerUnaryMinus (Cast (IntegerConstant 8 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 8 (Integer 2 []))) (Integer 2 []) (IntegerConstant -8 (Integer 2 []))) ()) (Assert (IntegerCompare (FunctionCall 2 abs@__lpython_overloaded_3__abs 2 abs [((Var 2 i4))] (Integer 2 []) () ()) Eq (Cast (IntegerConstant 8 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 8 (Integer 2 []))) (Logical 4 []) ()) ()) (= (Var 2 b) (LogicalConstant .true. (Logical 4 [])) ()) (Assert (IntegerCompare (FunctionCall 2 abs@__lpython_overloaded_6__abs 2 abs [((Var 2 b))] (Integer 4 []) () ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 b) (LogicalConstant .false. (Logical 4 [])) ()) (Assert (IntegerCompare (FunctionCall 2 abs@__lpython_overloaded_6__abs 2 abs [((Var 2 b))] (Integer 4 []) () ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 105 {_lpython_main_program: (ExternalSymbol 105 _lpython_main_program 107 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 105 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-test_builtin_bin-52ba9fa.json b/tests/reference/asr-test_builtin_bin-52ba9fa.json index 0dcad3b4a0..1d0d973066 100644 --- a/tests/reference/asr-test_builtin_bin-52ba9fa.json +++ b/tests/reference/asr-test_builtin_bin-52ba9fa.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_builtin_bin-52ba9fa.stdout", - "stdout_hash": "2cc759518d367d66d22acf87e4e39a5be036436426bf94cf12b7261c", + "stdout_hash": "1889226a64d2daf40ea512192f6300f0c5ebfa393b8cb18f32c01e7f", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_builtin_bin-52ba9fa.stdout b/tests/reference/asr-test_builtin_bin-52ba9fa.stdout index 92c22e9a97..3831794ddb 100644 --- a/tests/reference/asr-test_builtin_bin-52ba9fa.stdout +++ b/tests/reference/asr-test_builtin_bin-52ba9fa.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 105 {_lpython_main_program: (Function (SymbolTable 104 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_bin] [] [(SubroutineCall 105 test_bin () [] ())] () Public .false. .false.), test_bin: (Function (SymbolTable 2 {bin: (ExternalSymbol 2 bin 4 bin lpython_builtin [] bin Private), i: (Variable 2 i [] Local () () Default (Integer 4 []) Source Public Required .false.)}) test_bin (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [bin bin bin bin bin] [] [(= (Var 2 i) (IntegerConstant 5 (Integer 4 [])) ()) (Assert (StringCompare (FunctionCall 2 bin () [((Var 2 i))] (Character 1 -2 () []) () ()) Eq (StringConstant "0b101" (Character 1 5 () [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerConstant 64 (Integer 4 [])) ()) (Assert (StringCompare (FunctionCall 2 bin () [((Var 2 i))] (Character 1 -2 () []) () ()) Eq (StringConstant "0b1000000" (Character 1 9 () [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerUnaryMinus (IntegerConstant 534 (Integer 4 [])) (Integer 4 []) (IntegerConstant -534 (Integer 4 []))) ()) (Assert (StringCompare (FunctionCall 2 bin () [((Var 2 i))] (Character 1 -2 () []) () ()) Eq (StringConstant "-0b1000010110" (Character 1 13 () [])) (Logical 4 []) ()) ()) (Assert (StringCompare (FunctionCall 2 bin () [((IntegerConstant 64 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0b1000000" (Character 1 9 () [])) ()) Eq (StringConstant "0b1000000" (Character 1 9 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (StringCompare (FunctionCall 2 bin () [((IntegerUnaryMinus (IntegerConstant 534 (Integer 4 [])) (Integer 4 []) (IntegerConstant -534 (Integer 4 []))))] (Character 1 -2 () []) (StringConstant "-0b1000010110" (Character 1 13 () [])) ()) Eq (StringConstant "-0b1000010110" (Character 1 13 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 103 {_lpython_main_program: (ExternalSymbol 103 _lpython_main_program 105 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 103 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 107 {_lpython_main_program: (Function (SymbolTable 106 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_bin] [] [(SubroutineCall 107 test_bin () [] ())] () Public .false. .false.), test_bin: (Function (SymbolTable 2 {bin: (ExternalSymbol 2 bin 4 bin lpython_builtin [] bin Private), i: (Variable 2 i [] Local () () Default (Integer 4 []) Source Public Required .false.)}) test_bin (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [bin bin bin bin bin] [] [(= (Var 2 i) (IntegerConstant 5 (Integer 4 [])) ()) (Assert (StringCompare (FunctionCall 2 bin () [((Var 2 i))] (Character 1 -2 () []) () ()) Eq (StringConstant "0b101" (Character 1 5 () [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerConstant 64 (Integer 4 [])) ()) (Assert (StringCompare (FunctionCall 2 bin () [((Var 2 i))] (Character 1 -2 () []) () ()) Eq (StringConstant "0b1000000" (Character 1 9 () [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerUnaryMinus (IntegerConstant 534 (Integer 4 [])) (Integer 4 []) (IntegerConstant -534 (Integer 4 []))) ()) (Assert (StringCompare (FunctionCall 2 bin () [((Var 2 i))] (Character 1 -2 () []) () ()) Eq (StringConstant "-0b1000010110" (Character 1 13 () [])) (Logical 4 []) ()) ()) (Assert (StringCompare (FunctionCall 2 bin () [((IntegerConstant 64 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0b1000000" (Character 1 9 () [])) ()) Eq (StringConstant "0b1000000" (Character 1 9 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (StringCompare (FunctionCall 2 bin () [((IntegerUnaryMinus (IntegerConstant 534 (Integer 4 [])) (Integer 4 []) (IntegerConstant -534 (Integer 4 []))))] (Character 1 -2 () []) (StringConstant "-0b1000010110" (Character 1 13 () [])) ()) Eq (StringConstant "-0b1000010110" (Character 1 13 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 105 {_lpython_main_program: (ExternalSymbol 105 _lpython_main_program 107 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 105 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-test_builtin_bool-330223a.json b/tests/reference/asr-test_builtin_bool-330223a.json index 45b1a4cb11..67bb02ae87 100644 --- a/tests/reference/asr-test_builtin_bool-330223a.json +++ b/tests/reference/asr-test_builtin_bool-330223a.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_builtin_bool-330223a.stdout", - "stdout_hash": "d73e776195b43a0fdb117cd478a895abc66d82ba4a4a72ccc0b0fa6d", + "stdout_hash": "00d4450d67e2f07ccb5ef20fd39bf27738d674c59ef24d3fb52b9032", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_builtin_bool-330223a.stdout b/tests/reference/asr-test_builtin_bool-330223a.stdout index 8e7d11cecf..a4dcec3997 100644 --- a/tests/reference/asr-test_builtin_bool-330223a.stdout +++ b/tests/reference/asr-test_builtin_bool-330223a.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 105 {_lpython_main_program: (Function (SymbolTable 104 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_bool] [] [(SubroutineCall 105 test_bool () [] ())] () Public .false. .false.), test_bool: (Function (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Integer 4 []) Source Public Required .false.), a2: (Variable 2 a2 [] Local () () Default (Integer 8 []) Source Public Required .false.), a3: (Variable 2 a3 [] Local () () Default (Integer 1 []) Source Public Required .false.), a4: (Variable 2 a4 [] Local () () Default (Integer 2 []) Source Public Required .false.), b: (Variable 2 b [] Local () () Default (Logical 4 []) Source Public Required .false.), c: (Variable 2 c [] Local () () Default (Complex 4 []) Source Public Required .false.), c1: (Variable 2 c1 [] Local () () Default (Complex 8 []) Source Public Required .false.), complex: (ExternalSymbol 2 complex 4 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_13__complex: (ExternalSymbol 2 complex@__lpython_overloaded_13__complex 4 __lpython_overloaded_13__complex lpython_builtin [] __lpython_overloaded_13__complex Public), complex@__lpython_overloaded_9__complex: (ExternalSymbol 2 complex@__lpython_overloaded_9__complex 4 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public), f: (Variable 2 f [] Local () () Default (Real 8 []) Source Public Required .false.), f2: (Variable 2 f2 [] Local () () Default (Real 4 []) Source Public Required .false.), s: (Variable 2 s [] Local () () Default (Character 1 -2 () []) Source Public Required .false.)}) test_bool (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_9__complex complex@__lpython_overloaded_9__complex complex@__lpython_overloaded_13__complex complex@__lpython_overloaded_9__complex] [] [(= (Var 2 a) (IntegerConstant 34 (Integer 4 [])) ()) (Assert (Cast (Var 2 a) IntegerToLogical (Logical 4 []) ()) ()) (= (Var 2 a) (IntegerConstant 0 (Integer 4 [])) ()) (Assert (LogicalNot (Cast (Var 2 a) IntegerToLogical (Logical 4 []) ()) (Logical 4 []) ()) ()) (Assert (Cast (IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))) IntegerToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (LogicalNot (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a2) (Cast (IntegerConstant 34 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 34 (Integer 8 []))) ()) (Assert (Cast (Var 2 a2) IntegerToLogical (Logical 4 []) ()) ()) (= (Var 2 a3) (Cast (IntegerConstant 34 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 34 (Integer 1 []))) ()) (Assert (Cast (Var 2 a3) IntegerToLogical (Logical 4 []) ()) ()) (= (Var 2 a4) (IntegerUnaryMinus (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 1 (Integer 2 []))) (Integer 2 []) (IntegerConstant -1 (Integer 2 []))) ()) (Assert (Cast (Var 2 a4) IntegerToLogical (Logical 4 []) ()) ()) (= (Var 2 f) (RealConstant 0.000000 (Real 8 [])) ()) (Assert (LogicalNot (Cast (Var 2 f) RealToLogical (Logical 4 []) ()) (Logical 4 []) ()) ()) (= (Var 2 f) (RealConstant 1.000000 (Real 8 [])) ()) (Assert (Cast (Var 2 f) RealToLogical (Logical 4 []) ()) ()) (Assert (Cast (RealConstant 56.786866 (Real 8 [])) RealToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (LogicalNot (Cast (RealConstant 0.000000 (Real 8 [])) RealToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 f2) (RealUnaryMinus (Cast (RealConstant 235.600000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 235.600000 (Real 4 []))) (Real 4 []) (RealConstant -235.600000 (Real 4 []))) ()) (Assert (Cast (Var 2 f2) RealToLogical (Logical 4 []) ()) ()) (= (Var 2 f2) (Cast (RealConstant 0.000053 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000053 (Real 4 []))) ()) (Assert (Cast (Var 2 f2) RealToLogical (Logical 4 []) ()) ()) (= (Var 2 s) (StringConstant "" (Character 1 0 () [])) ()) (Assert (LogicalNot (Cast (Var 2 s) CharacterToLogical (Logical 4 []) ()) (Logical 4 []) ()) ()) (= (Var 2 s) (StringConstant "str" (Character 1 3 () [])) ()) (Assert (Cast (Var 2 s) CharacterToLogical (Logical 4 []) ()) ()) (Assert (LogicalNot (Cast (StringConstant "" (Character 1 0 () [])) CharacterToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (Cast (StringConstant "str" (Character 1 3 () [])) CharacterToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 b) (LogicalConstant .true. (Logical 4 [])) ()) (Assert (Var 2 b) ()) (= (Var 2 b) (LogicalConstant .false. (Logical 4 [])) ()) (Assert (LogicalNot (Var 2 b) (Logical 4 []) ()) ()) (Assert (LogicalConstant .true. (Logical 4 [])) ()) (Assert (LogicalNot (LogicalConstant .false. (Logical 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 c) (Cast (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 2 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 2.000000 3.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 2.000000 3.000000 (Complex 4 []))) ()) (Assert (Cast (Var 2 c) ComplexToLogical (Logical 4 []) ()) ()) (= (Var 2 c) (Cast (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 0 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 0.000000 0.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 0.000000 0.000000 (Complex 4 []))) ()) (Assert (LogicalNot (Cast (Var 2 c) ComplexToLogical (Logical 4 []) ()) (Logical 4 []) ()) ()) (Assert (LogicalNot (Cast (ComplexBinOp (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 0.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 0.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 0.000000 0.000000 (Complex 8 []))) ComplexToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 c1) (FunctionCall 2 complex@__lpython_overloaded_13__complex 2 complex [((IntegerConstant 0 (Integer 4 []))) ((RealConstant 0.100202 (Real 8 [])))] (Complex 8 []) (ComplexConstant 0.000000 0.100202 (Complex 8 [])) ()) ()) (Assert (Cast (Var 2 c1) ComplexToLogical (Logical 4 []) ()) ()) (Assert (LogicalNot (Cast (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 0 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 0.000000 0.000000 (Complex 8 [])) ()) ComplexToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (Cast (ComplexBinOp (Cast (IntegerConstant 3 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 3.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 5.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 3.000000 5.000000 (Complex 8 []))) ComplexToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 103 {_lpython_main_program: (ExternalSymbol 103 _lpython_main_program 105 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 103 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 107 {_lpython_main_program: (Function (SymbolTable 106 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_bool] [] [(SubroutineCall 107 test_bool () [] ())] () Public .false. .false.), test_bool: (Function (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Integer 4 []) Source Public Required .false.), a2: (Variable 2 a2 [] Local () () Default (Integer 8 []) Source Public Required .false.), a3: (Variable 2 a3 [] Local () () Default (Integer 1 []) Source Public Required .false.), a4: (Variable 2 a4 [] Local () () Default (Integer 2 []) Source Public Required .false.), b: (Variable 2 b [] Local () () Default (Logical 4 []) Source Public Required .false.), c: (Variable 2 c [] Local () () Default (Complex 4 []) Source Public Required .false.), c1: (Variable 2 c1 [] Local () () Default (Complex 8 []) Source Public Required .false.), complex: (ExternalSymbol 2 complex 4 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_13__complex: (ExternalSymbol 2 complex@__lpython_overloaded_13__complex 4 __lpython_overloaded_13__complex lpython_builtin [] __lpython_overloaded_13__complex Public), complex@__lpython_overloaded_9__complex: (ExternalSymbol 2 complex@__lpython_overloaded_9__complex 4 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public), f: (Variable 2 f [] Local () () Default (Real 8 []) Source Public Required .false.), f2: (Variable 2 f2 [] Local () () Default (Real 4 []) Source Public Required .false.), s: (Variable 2 s [] Local () () Default (Character 1 -2 () []) Source Public Required .false.)}) test_bool (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_9__complex complex@__lpython_overloaded_9__complex complex@__lpython_overloaded_13__complex complex@__lpython_overloaded_9__complex] [] [(= (Var 2 a) (IntegerConstant 34 (Integer 4 [])) ()) (Assert (Cast (Var 2 a) IntegerToLogical (Logical 4 []) ()) ()) (= (Var 2 a) (IntegerConstant 0 (Integer 4 [])) ()) (Assert (LogicalNot (Cast (Var 2 a) IntegerToLogical (Logical 4 []) ()) (Logical 4 []) ()) ()) (Assert (Cast (IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))) IntegerToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (LogicalNot (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a2) (Cast (IntegerConstant 34 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 34 (Integer 8 []))) ()) (Assert (Cast (Var 2 a2) IntegerToLogical (Logical 4 []) ()) ()) (= (Var 2 a3) (Cast (IntegerConstant 34 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 34 (Integer 1 []))) ()) (Assert (Cast (Var 2 a3) IntegerToLogical (Logical 4 []) ()) ()) (= (Var 2 a4) (IntegerUnaryMinus (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 1 (Integer 2 []))) (Integer 2 []) (IntegerConstant -1 (Integer 2 []))) ()) (Assert (Cast (Var 2 a4) IntegerToLogical (Logical 4 []) ()) ()) (= (Var 2 f) (RealConstant 0.000000 (Real 8 [])) ()) (Assert (LogicalNot (Cast (Var 2 f) RealToLogical (Logical 4 []) ()) (Logical 4 []) ()) ()) (= (Var 2 f) (RealConstant 1.000000 (Real 8 [])) ()) (Assert (Cast (Var 2 f) RealToLogical (Logical 4 []) ()) ()) (Assert (Cast (RealConstant 56.786866 (Real 8 [])) RealToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (LogicalNot (Cast (RealConstant 0.000000 (Real 8 [])) RealToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 f2) (RealUnaryMinus (Cast (RealConstant 235.600000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 235.600000 (Real 4 []))) (Real 4 []) (RealConstant -235.600000 (Real 4 []))) ()) (Assert (Cast (Var 2 f2) RealToLogical (Logical 4 []) ()) ()) (= (Var 2 f2) (Cast (RealConstant 0.000053 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000053 (Real 4 []))) ()) (Assert (Cast (Var 2 f2) RealToLogical (Logical 4 []) ()) ()) (= (Var 2 s) (StringConstant "" (Character 1 0 () [])) ()) (Assert (LogicalNot (Cast (Var 2 s) CharacterToLogical (Logical 4 []) ()) (Logical 4 []) ()) ()) (= (Var 2 s) (StringConstant "str" (Character 1 3 () [])) ()) (Assert (Cast (Var 2 s) CharacterToLogical (Logical 4 []) ()) ()) (Assert (LogicalNot (Cast (StringConstant "" (Character 1 0 () [])) CharacterToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (Cast (StringConstant "str" (Character 1 3 () [])) CharacterToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 b) (LogicalConstant .true. (Logical 4 [])) ()) (Assert (Var 2 b) ()) (= (Var 2 b) (LogicalConstant .false. (Logical 4 [])) ()) (Assert (LogicalNot (Var 2 b) (Logical 4 []) ()) ()) (Assert (LogicalConstant .true. (Logical 4 [])) ()) (Assert (LogicalNot (LogicalConstant .false. (Logical 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 c) (Cast (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 2 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 2.000000 3.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 2.000000 3.000000 (Complex 4 []))) ()) (Assert (Cast (Var 2 c) ComplexToLogical (Logical 4 []) ()) ()) (= (Var 2 c) (Cast (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 0 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 0.000000 0.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 0.000000 0.000000 (Complex 4 []))) ()) (Assert (LogicalNot (Cast (Var 2 c) ComplexToLogical (Logical 4 []) ()) (Logical 4 []) ()) ()) (Assert (LogicalNot (Cast (ComplexBinOp (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 0.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 0.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 0.000000 0.000000 (Complex 8 []))) ComplexToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 c1) (FunctionCall 2 complex@__lpython_overloaded_13__complex 2 complex [((IntegerConstant 0 (Integer 4 []))) ((RealConstant 0.100202 (Real 8 [])))] (Complex 8 []) (ComplexConstant 0.000000 0.100202 (Complex 8 [])) ()) ()) (Assert (Cast (Var 2 c1) ComplexToLogical (Logical 4 []) ()) ()) (Assert (LogicalNot (Cast (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 0 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 0.000000 0.000000 (Complex 8 [])) ()) ComplexToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (Cast (ComplexBinOp (Cast (IntegerConstant 3 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 3.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 5.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 3.000000 5.000000 (Complex 8 []))) ComplexToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 105 {_lpython_main_program: (ExternalSymbol 105 _lpython_main_program 107 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 105 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-test_builtin_hex-64bd268.json b/tests/reference/asr-test_builtin_hex-64bd268.json index b37af935af..5ee4845947 100644 --- a/tests/reference/asr-test_builtin_hex-64bd268.json +++ b/tests/reference/asr-test_builtin_hex-64bd268.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_builtin_hex-64bd268.stdout", - "stdout_hash": "db8027a025e65191ff5d25137f9664b5c4afebea4b61f6d1bfaf1d4d", + "stdout_hash": "39a95f32010769dc67617463d06932447b47d0d2ae230690f5542966", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_builtin_hex-64bd268.stdout b/tests/reference/asr-test_builtin_hex-64bd268.stdout index 49dfc245d9..7063f1021a 100644 --- a/tests/reference/asr-test_builtin_hex-64bd268.stdout +++ b/tests/reference/asr-test_builtin_hex-64bd268.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 105 {_lpython_main_program: (Function (SymbolTable 104 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_hex] [] [(SubroutineCall 105 test_hex () [] ())] () Public .false. .false.), test_hex: (Function (SymbolTable 2 {hex: (ExternalSymbol 2 hex 4 hex lpython_builtin [] hex Private), i: (Variable 2 i [] Local () () Default (Integer 4 []) Source Public Required .false.)}) test_hex (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [hex hex hex hex] [] [(= (Var 2 i) (IntegerConstant 34 (Integer 4 [])) ()) (Assert (StringCompare (FunctionCall 2 hex () [((Var 2 i))] (Character 1 -2 () []) () ()) Eq (StringConstant "0x22" (Character 1 4 () [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerUnaryMinus (IntegerConstant 4235 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4235 (Integer 4 []))) ()) (Assert (StringCompare (FunctionCall 2 hex () [((Var 2 i))] (Character 1 -2 () []) () ()) Eq (StringConstant "-0x108b" (Character 1 7 () [])) (Logical 4 []) ()) ()) (Assert (StringCompare (FunctionCall 2 hex () [((IntegerConstant 34 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0x22" (Character 1 4 () [])) ()) Eq (StringConstant "0x22" (Character 1 4 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (StringCompare (FunctionCall 2 hex () [((IntegerUnaryMinus (IntegerConstant 4235 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4235 (Integer 4 []))))] (Character 1 -2 () []) (StringConstant "-0x108b" (Character 1 7 () [])) ()) Eq (StringConstant "-0x108b" (Character 1 7 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 103 {_lpython_main_program: (ExternalSymbol 103 _lpython_main_program 105 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 103 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 107 {_lpython_main_program: (Function (SymbolTable 106 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_hex] [] [(SubroutineCall 107 test_hex () [] ())] () Public .false. .false.), test_hex: (Function (SymbolTable 2 {hex: (ExternalSymbol 2 hex 4 hex lpython_builtin [] hex Private), i: (Variable 2 i [] Local () () Default (Integer 4 []) Source Public Required .false.)}) test_hex (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [hex hex hex hex] [] [(= (Var 2 i) (IntegerConstant 34 (Integer 4 [])) ()) (Assert (StringCompare (FunctionCall 2 hex () [((Var 2 i))] (Character 1 -2 () []) () ()) Eq (StringConstant "0x22" (Character 1 4 () [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerUnaryMinus (IntegerConstant 4235 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4235 (Integer 4 []))) ()) (Assert (StringCompare (FunctionCall 2 hex () [((Var 2 i))] (Character 1 -2 () []) () ()) Eq (StringConstant "-0x108b" (Character 1 7 () [])) (Logical 4 []) ()) ()) (Assert (StringCompare (FunctionCall 2 hex () [((IntegerConstant 34 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0x22" (Character 1 4 () [])) ()) Eq (StringConstant "0x22" (Character 1 4 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (StringCompare (FunctionCall 2 hex () [((IntegerUnaryMinus (IntegerConstant 4235 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4235 (Integer 4 []))))] (Character 1 -2 () []) (StringConstant "-0x108b" (Character 1 7 () [])) ()) Eq (StringConstant "-0x108b" (Character 1 7 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 105 {_lpython_main_program: (ExternalSymbol 105 _lpython_main_program 107 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 105 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-test_builtin_oct-20b9066.json b/tests/reference/asr-test_builtin_oct-20b9066.json index 454d972c78..af551162c5 100644 --- a/tests/reference/asr-test_builtin_oct-20b9066.json +++ b/tests/reference/asr-test_builtin_oct-20b9066.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_builtin_oct-20b9066.stdout", - "stdout_hash": "31e395b5e93e8111017cc7816adc22b389ebb219422817dc48a87da4", + "stdout_hash": "495fc911ed850e779248bfc92cce0177358637e15868d5979c16f115", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_builtin_oct-20b9066.stdout b/tests/reference/asr-test_builtin_oct-20b9066.stdout index c250cbfb99..9eeb838b96 100644 --- a/tests/reference/asr-test_builtin_oct-20b9066.stdout +++ b/tests/reference/asr-test_builtin_oct-20b9066.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 105 {_lpython_main_program: (Function (SymbolTable 104 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_oct] [] [(SubroutineCall 105 test_oct () [] ())] () Public .false. .false.), test_oct: (Function (SymbolTable 2 {i: (Variable 2 i [] Local () () Default (Integer 4 []) Source Public Required .false.), oct: (ExternalSymbol 2 oct 4 oct lpython_builtin [] oct Private)}) test_oct (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [oct oct oct oct] [] [(= (Var 2 i) (IntegerConstant 34 (Integer 4 [])) ()) (Assert (StringCompare (FunctionCall 2 oct () [((Var 2 i))] (Character 1 -2 () []) () ()) Eq (StringConstant "0o42" (Character 1 4 () [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerUnaryMinus (IntegerConstant 4235 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4235 (Integer 4 []))) ()) (Assert (StringCompare (FunctionCall 2 oct () [((Var 2 i))] (Character 1 -2 () []) () ()) Eq (StringConstant "-0o10213" (Character 1 8 () [])) (Logical 4 []) ()) ()) (Assert (StringCompare (FunctionCall 2 oct () [((IntegerConstant 34 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0o42" (Character 1 4 () [])) ()) Eq (StringConstant "0o42" (Character 1 4 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (StringCompare (FunctionCall 2 oct () [((IntegerUnaryMinus (IntegerConstant 4235 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4235 (Integer 4 []))))] (Character 1 -2 () []) (StringConstant "-0o10213" (Character 1 8 () [])) ()) Eq (StringConstant "-0o10213" (Character 1 8 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 103 {_lpython_main_program: (ExternalSymbol 103 _lpython_main_program 105 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 103 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 107 {_lpython_main_program: (Function (SymbolTable 106 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_oct] [] [(SubroutineCall 107 test_oct () [] ())] () Public .false. .false.), test_oct: (Function (SymbolTable 2 {i: (Variable 2 i [] Local () () Default (Integer 4 []) Source Public Required .false.), oct: (ExternalSymbol 2 oct 4 oct lpython_builtin [] oct Private)}) test_oct (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [oct oct oct oct] [] [(= (Var 2 i) (IntegerConstant 34 (Integer 4 [])) ()) (Assert (StringCompare (FunctionCall 2 oct () [((Var 2 i))] (Character 1 -2 () []) () ()) Eq (StringConstant "0o42" (Character 1 4 () [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerUnaryMinus (IntegerConstant 4235 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4235 (Integer 4 []))) ()) (Assert (StringCompare (FunctionCall 2 oct () [((Var 2 i))] (Character 1 -2 () []) () ()) Eq (StringConstant "-0o10213" (Character 1 8 () [])) (Logical 4 []) ()) ()) (Assert (StringCompare (FunctionCall 2 oct () [((IntegerConstant 34 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0o42" (Character 1 4 () [])) ()) Eq (StringConstant "0o42" (Character 1 4 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (StringCompare (FunctionCall 2 oct () [((IntegerUnaryMinus (IntegerConstant 4235 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4235 (Integer 4 []))))] (Character 1 -2 () []) (StringConstant "-0o10213" (Character 1 8 () [])) ()) Eq (StringConstant "-0o10213" (Character 1 8 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 105 {_lpython_main_program: (ExternalSymbol 105 _lpython_main_program 107 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 105 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-test_builtin_pow-f02fcda.json b/tests/reference/asr-test_builtin_pow-f02fcda.json index 59da89a66d..699b6dd833 100644 --- a/tests/reference/asr-test_builtin_pow-f02fcda.json +++ b/tests/reference/asr-test_builtin_pow-f02fcda.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_builtin_pow-f02fcda.stdout", - "stdout_hash": "d1b2989fcb7f8c9044c9a1de05ec33e1d7712aea4bcaec4eb5bbb446", + "stdout_hash": "d029dcda2b43205e6227beeead83404e3b15742615c64e64ac5efdc6", "stderr": "asr-test_builtin_pow-f02fcda.stderr", "stderr_hash": "859ce76c74748f2d32c7eab92cfbba789a78d4cbf5818646b99806ea", "returncode": 0 diff --git a/tests/reference/asr-test_builtin_pow-f02fcda.stdout b/tests/reference/asr-test_builtin_pow-f02fcda.stdout index a001f89992..d36a6dc644 100644 --- a/tests/reference/asr-test_builtin_pow-f02fcda.stdout +++ b/tests/reference/asr-test_builtin_pow-f02fcda.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 105 {_lpython_main_program: (Function (SymbolTable 104 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_pow] [] [(SubroutineCall 105 test_pow () [] ())] () Public .false. .false.), test_pow: (Function (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Integer 4 []) Source Public Required .false.), a1: (Variable 2 a1 [] Local (RealConstant 4.500000 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), a2: (Variable 2 a2 [] Local (RealConstant 2.300000 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), abs: (ExternalSymbol 2 abs 4 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 2 abs@__lpython_overloaded_0__abs 4 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), b: (Variable 2 b [] Local () () Default (Integer 4 []) Source Public Required .false.), b1: (Variable 2 b1 [] Local (LogicalConstant .true. (Logical 4 [])) () Default (Logical 4 []) Source Public Required .false.), b2: (Variable 2 b2 [] Local (LogicalConstant .false. (Logical 4 [])) () Default (Logical 4 []) Source Public Required .false.), c1: (Variable 2 c1 [] Local () () Default (Complex 4 []) Source Public Required .false.), complex: (ExternalSymbol 2 complex 4 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_9__complex: (ExternalSymbol 2 complex@__lpython_overloaded_9__complex 4 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public), eps: (Variable 2 eps [] Local () () Default (Real 8 []) Source Public Required .false.), f1: (Variable 2 f1 [] Local () () Default (Real 4 []) Source Public Required .false.), f2: (Variable 2 f2 [] Local () () Default (Real 4 []) Source Public Required .false.), i: (Variable 2 i [] Local () () Default (Integer 8 []) Source Public Required .false.), i1: (Variable 2 i1 [] Local () () Default (Integer 8 []) Source Public Required .false.), i2: (Variable 2 i2 [] Local () () Default (Integer 8 []) Source Public Required .false.), j: (Variable 2 j [] Local () () Default (Integer 8 []) Source Public Required .false.), k: (Variable 2 k [] Local () () Default (Integer 8 []) Source Public Required .false.), p: (Variable 2 p [] Local () () Default (Real 4 []) Source Public Required .false.), pow: (ExternalSymbol 2 pow 4 pow lpython_builtin [] pow Private), pow@__lpython_overloaded_0__pow: (ExternalSymbol 2 pow@__lpython_overloaded_0__pow 4 __lpython_overloaded_0__pow lpython_builtin [] __lpython_overloaded_0__pow Public), pow@__lpython_overloaded_10__pow: (ExternalSymbol 2 pow@__lpython_overloaded_10__pow 4 __lpython_overloaded_10__pow lpython_builtin [] __lpython_overloaded_10__pow Public), pow@__lpython_overloaded_11__pow: (ExternalSymbol 2 pow@__lpython_overloaded_11__pow 4 __lpython_overloaded_11__pow lpython_builtin [] __lpython_overloaded_11__pow Public), pow@__lpython_overloaded_1__pow: (ExternalSymbol 2 pow@__lpython_overloaded_1__pow 4 __lpython_overloaded_1__pow lpython_builtin [] __lpython_overloaded_1__pow Public), pow@__lpython_overloaded_2__pow: (ExternalSymbol 2 pow@__lpython_overloaded_2__pow 4 __lpython_overloaded_2__pow lpython_builtin [] __lpython_overloaded_2__pow Public), pow@__lpython_overloaded_3__pow: (ExternalSymbol 2 pow@__lpython_overloaded_3__pow 4 __lpython_overloaded_3__pow lpython_builtin [] __lpython_overloaded_3__pow Public), pow@__lpython_overloaded_4__pow: (ExternalSymbol 2 pow@__lpython_overloaded_4__pow 4 __lpython_overloaded_4__pow lpython_builtin [] __lpython_overloaded_4__pow Public), pow@__lpython_overloaded_5__pow: (ExternalSymbol 2 pow@__lpython_overloaded_5__pow 4 __lpython_overloaded_5__pow lpython_builtin [] __lpython_overloaded_5__pow Public), pow@__lpython_overloaded_6__pow: (ExternalSymbol 2 pow@__lpython_overloaded_6__pow 4 __lpython_overloaded_6__pow lpython_builtin [] __lpython_overloaded_6__pow Public), pow@__lpython_overloaded_7__pow: (ExternalSymbol 2 pow@__lpython_overloaded_7__pow 4 __lpython_overloaded_7__pow lpython_builtin [] __lpython_overloaded_7__pow Public), pow@__lpython_overloaded_8__pow: (ExternalSymbol 2 pow@__lpython_overloaded_8__pow 4 __lpython_overloaded_8__pow lpython_builtin [] __lpython_overloaded_8__pow Public), pow@__lpython_overloaded_9__pow: (ExternalSymbol 2 pow@__lpython_overloaded_9__pow 4 __lpython_overloaded_9__pow lpython_builtin [] __lpython_overloaded_9__pow Public), x: (Variable 2 x [] Local (IntegerConstant 3 (Integer 4 [])) () Default (Integer 4 []) Source Public Required .false.), y: (Variable 2 y [] Local (RealConstant 2.300000 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.)}) test_pow (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [pow@__lpython_overloaded_0__pow pow@__lpython_overloaded_0__pow pow@__lpython_overloaded_0__pow pow@__lpython_overloaded_1__pow pow@__lpython_overloaded_2__pow pow@__lpython_overloaded_4__pow pow@__lpython_overloaded_5__pow pow@__lpython_overloaded_8__pow pow@__lpython_overloaded_8__pow pow@__lpython_overloaded_8__pow pow@__lpython_overloaded_8__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_3__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_3__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_6__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_7__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_6__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_1__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_1__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_1__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_1__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_3__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_3__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_3__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_6__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_6__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_7__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_7__pow pow@__lpython_overloaded_0__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_7__pow pow@__lpython_overloaded_11__pow pow@__lpython_overloaded_10__pow complex@__lpython_overloaded_9__complex pow@__lpython_overloaded_9__pow] [] [(= (Var 2 eps) (RealConstant 0.000000 (Real 8 [])) ()) (= (Var 2 a) (IntegerConstant 2 (Integer 4 [])) ()) (= (Var 2 b) (IntegerConstant 5 (Integer 4 [])) ()) (Assert (IntegerCompare (Cast (FunctionCall 2 pow@__lpython_overloaded_0__pow 2 pow [((Var 2 a)) ((Var 2 b))] (Real 8 []) () ()) RealToInteger (Integer 4 []) ()) Eq (IntegerConstant 32 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 a) (IntegerConstant 6 (Integer 4 [])) ()) (= (Var 2 b) (IntegerConstant 3 (Integer 4 [])) ()) (Assert (IntegerCompare (Cast (FunctionCall 2 pow@__lpython_overloaded_0__pow 2 pow [((Var 2 a)) ((Var 2 b))] (Real 8 []) () ()) RealToInteger (Integer 4 []) ()) Eq (IntegerConstant 216 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 a) (IntegerConstant 2 (Integer 4 [])) ()) (= (Var 2 b) (IntegerConstant 0 (Integer 4 [])) ()) (Assert (IntegerCompare (Cast (FunctionCall 2 pow@__lpython_overloaded_0__pow 2 pow [((Var 2 a)) ((Var 2 b))] (Real 8 []) () ()) RealToInteger (Integer 4 []) ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 a) (IntegerConstant 2 (Integer 4 [])) ()) (= (Var 2 b) (IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))) ()) (= (Var 2 a) (IntegerConstant 6 (Integer 4 [])) ()) (= (Var 2 b) (IntegerUnaryMinus (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4 (Integer 4 []))) ()) (= (Var 2 i1) (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 2 (Integer 8 []))) ()) (= (Var 2 i2) (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 5 (Integer 8 []))) ()) (Assert (IntegerCompare (Cast (FunctionCall 2 pow@__lpython_overloaded_1__pow 2 pow [((Var 2 i1)) ((Var 2 i2))] (Real 8 []) () ()) RealToInteger (Integer 8 []) ()) Eq (Cast (IntegerConstant 32 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 32 (Integer 8 []))) (Logical 4 []) ()) ()) (= (Var 2 i1) (Cast (IntegerConstant 6 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 6 (Integer 8 []))) ()) (= (Var 2 i2) (IntegerUnaryMinus (Cast (IntegerConstant 3 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 3 (Integer 8 []))) (Integer 8 []) (IntegerConstant -3 (Integer 8 []))) ()) (= (Var 2 f1) (Cast (RealBinOp (Cast (IntegerConstant 525346 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 66456 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) RealToReal (Real 4 []) ()) ()) (= (Var 2 f2) (Cast (RealConstant 3.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.000000 (Real 4 []))) ()) (= (Var 2 p) (FunctionCall 2 pow@__lpython_overloaded_2__pow 2 pow [((Var 2 f1)) ((Var 2 f2))] (Real 4 []) () ()) ()) (= (Var 2 f1) (FunctionCall 2 pow@__lpython_overloaded_4__pow 2 pow [((Var 2 a)) ((Var 2 f2))] (Real 4 []) () ()) ()) (= (Var 2 f1) (FunctionCall 2 pow@__lpython_overloaded_5__pow 2 pow [((Var 2 f2)) ((Var 2 a))] (Real 4 []) () ()) ()) (= (Var 2 b1) (LogicalConstant .true. (Logical 4 [])) ()) (= (Var 2 b2) (LogicalConstant .false. (Logical 4 [])) ()) (Assert (IntegerCompare (FunctionCall 2 pow@__lpython_overloaded_8__pow 2 pow [((Var 2 b1)) ((Var 2 b2))] (Integer 4 []) () ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 pow@__lpython_overloaded_8__pow 2 pow [((Var 2 b2)) ((Var 2 b1))] (Integer 4 []) () ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 pow@__lpython_overloaded_8__pow 2 pow [((Var 2 b1)) ((Var 2 b2))] (Integer 4 []) () ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 pow@__lpython_overloaded_8__pow 2 pow [((LogicalConstant .false. (Logical 4 []))) ((LogicalConstant .false. (Logical 4 [])))] (Integer 4 []) (IntegerConstant 1 (Integer 4 [])) ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a1) (RealConstant 4.500000 (Real 8 [])) ()) (= (Var 2 a2) (RealConstant 2.300000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_3__pow 2 pow [((Var 2 a1)) ((Var 2 a2))] (Real 8 []) () ()) Sub (RealConstant 31.797193 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_3__pow 2 pow [((Var 2 a2)) ((Var 2 a1))] (Real 8 []) () ()) Sub (RealConstant 42.439989 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (= (Var 2 x) (IntegerConstant 3 (Integer 4 [])) ()) (= (Var 2 y) (RealConstant 2.300000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_6__pow 2 pow [((Var 2 x)) ((Var 2 y))] (Real 8 []) () ()) Sub (RealConstant 12.513503 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_7__pow 2 pow [((Var 2 y)) ((Var 2 x))] (Real 8 []) () ()) Sub (RealConstant 12.167000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_6__pow 2 pow [((Var 2 x)) ((RealConstant 5.500000 (Real 8 [])))] (Real 8 []) () ()) Sub (RealConstant 420.888346 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_1__pow 2 pow [((Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 2 (Integer 8 [])))) ((IntegerUnaryMinus (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) (IntegerConstant -1 (Integer 8 []))))] (Real 8 []) (RealConstant 0.500000 (Real 8 [])) ()) Sub (RealConstant 0.500000 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_1__pow 2 pow [((Cast (IntegerConstant 6 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 6 (Integer 8 [])))) ((IntegerUnaryMinus (Cast (IntegerConstant 4 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 4 (Integer 8 []))) (Integer 8 []) (IntegerConstant -4 (Integer 8 []))))] (Real 8 []) (RealConstant 0.000772 (Real 8 [])) ()) Sub (RealConstant 0.000772 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_1__pow 2 pow [((IntegerUnaryMinus (Cast (IntegerConstant 3 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 3 (Integer 8 []))) (Integer 8 []) (IntegerConstant -3 (Integer 8 [])))) ((IntegerUnaryMinus (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 5 (Integer 8 []))) (Integer 8 []) (IntegerConstant -5 (Integer 8 []))))] (Real 8 []) (RealConstant -0.004115 (Real 8 [])) ()) Add (RealConstant 0.004115 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_1__pow 2 pow [((Cast (IntegerConstant 6 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 6 (Integer 8 [])))) ((IntegerUnaryMinus (Cast (IntegerConstant 4 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 4 (Integer 8 []))) (Integer 8 []) (IntegerConstant -4 (Integer 8 []))))] (Real 8 []) (RealConstant 0.000772 (Real 8 [])) ()) Sub (RealConstant 0.000772 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_3__pow 2 pow [((RealConstant 4.500000 (Real 8 []))) ((RealConstant 2.300000 (Real 8 [])))] (Real 8 []) (RealConstant 31.797193 (Real 8 [])) ()) Sub (RealConstant 31.797193 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_3__pow 2 pow [((RealConstant 2.300000 (Real 8 []))) ((RealConstant 0.000000 (Real 8 [])))] (Real 8 []) (RealConstant 1.000000 (Real 8 [])) ()) Sub (RealConstant 1.000000 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_3__pow 2 pow [((RealConstant 2.300000 (Real 8 []))) ((RealUnaryMinus (RealConstant 1.500000 (Real 8 [])) (Real 8 []) (RealConstant -1.500000 (Real 8 []))))] (Real 8 []) (RealConstant 0.286687 (Real 8 [])) ()) Sub (RealConstant 0.286687 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_6__pow 2 pow [((IntegerConstant 2 (Integer 4 []))) ((RealConstant 3.400000 (Real 8 [])))] (Real 8 []) (RealConstant 10.556063 (Real 8 [])) ()) Sub (RealConstant 10.556063 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_6__pow 2 pow [((IntegerConstant 2 (Integer 4 []))) ((RealUnaryMinus (RealConstant 3.400000 (Real 8 [])) (Real 8 []) (RealConstant -3.400000 (Real 8 []))))] (Real 8 []) (RealConstant 0.094732 (Real 8 [])) ()) Sub (RealConstant 0.094732 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_7__pow 2 pow [((RealConstant 3.400000 (Real 8 []))) ((IntegerConstant 9 (Integer 4 [])))] (Real 8 []) (RealConstant 60716.992766 (Real 8 [])) ()) Sub (RealConstant 60716.992766 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_7__pow 2 pow [((RealConstant 0.000000 (Real 8 []))) ((IntegerConstant 53 (Integer 4 [])))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Sub (RealConstant 0.000000 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (IntegerCompare (Cast (FunctionCall 2 pow@__lpython_overloaded_0__pow 2 pow [((IntegerConstant 4 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 [])))] (Real 8 []) (RealConstant 16.000000 (Real 8 [])) ()) RealToInteger (Integer 4 []) (IntegerConstant 16 (Integer 4 []))) Eq (IntegerConstant 16 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_7__pow 2 pow [((RealUnaryMinus (RealConstant 4235.000000 (Real 8 [])) (Real 8 []) (RealConstant -4235.000000 (Real 8 [])))) ((IntegerConstant 52 (Integer 4 [])))] (Real 8 []) (RealConstant 394800380598526378720936476336799774273305305904443955996320177992404102454228192853661558132283280490733920647962082901303487965679010854404517306573035287122910924343151116372519789002752.000000 (Real 8 [])) ()) Sub (RealConstant 394800380598526378720936476336799774273305305904443955996320177992404102454228192853661558132283280490733920647962082901303487965679010854404517306573035287122910924343151116372519789002752.000000 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (= (Var 2 i) (Cast (IntegerConstant 7 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 7 (Integer 8 []))) ()) (= (Var 2 j) (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 2 (Integer 8 []))) ()) (= (Var 2 k) (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 5 (Integer 8 []))) ()) (Assert (IntegerCompare (FunctionCall 2 pow@__lpython_overloaded_11__pow 2 pow [((Var 2 i)) ((Var 2 j)) ((Var 2 k))] (Integer 8 []) () ()) Eq (Cast (IntegerConstant 4 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 4 (Integer 8 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 pow@__lpython_overloaded_10__pow 2 pow [((IntegerConstant 102 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 121 (Integer 4 [])))] (Integer 4 []) (RealConstant 38.000000 (Real 8 [])) ()) Eq (IntegerConstant 38 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 c1) (Cast (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 4 (Integer 4 []))) ((IntegerConstant 5 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 4.000000 5.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 4.000000 5.000000 (Complex 4 []))) ()) (= (Var 2 c1) (FunctionCall 2 pow@__lpython_overloaded_9__pow 2 pow [((Var 2 c1)) ((IntegerConstant 4 (Integer 4 [])))] (Complex 4 []) () ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 103 {_lpython_main_program: (ExternalSymbol 103 _lpython_main_program 105 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 103 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 107 {_lpython_main_program: (Function (SymbolTable 106 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_pow] [] [(SubroutineCall 107 test_pow () [] ())] () Public .false. .false.), test_pow: (Function (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Integer 4 []) Source Public Required .false.), a1: (Variable 2 a1 [] Local (RealConstant 4.500000 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), a2: (Variable 2 a2 [] Local (RealConstant 2.300000 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), abs: (ExternalSymbol 2 abs 4 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 2 abs@__lpython_overloaded_0__abs 4 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), b: (Variable 2 b [] Local () () Default (Integer 4 []) Source Public Required .false.), b1: (Variable 2 b1 [] Local (LogicalConstant .true. (Logical 4 [])) () Default (Logical 4 []) Source Public Required .false.), b2: (Variable 2 b2 [] Local (LogicalConstant .false. (Logical 4 [])) () Default (Logical 4 []) Source Public Required .false.), c1: (Variable 2 c1 [] Local () () Default (Complex 4 []) Source Public Required .false.), complex: (ExternalSymbol 2 complex 4 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_9__complex: (ExternalSymbol 2 complex@__lpython_overloaded_9__complex 4 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public), eps: (Variable 2 eps [] Local () () Default (Real 8 []) Source Public Required .false.), f1: (Variable 2 f1 [] Local () () Default (Real 4 []) Source Public Required .false.), f2: (Variable 2 f2 [] Local () () Default (Real 4 []) Source Public Required .false.), i: (Variable 2 i [] Local () () Default (Integer 8 []) Source Public Required .false.), i1: (Variable 2 i1 [] Local () () Default (Integer 8 []) Source Public Required .false.), i2: (Variable 2 i2 [] Local () () Default (Integer 8 []) Source Public Required .false.), j: (Variable 2 j [] Local () () Default (Integer 8 []) Source Public Required .false.), k: (Variable 2 k [] Local () () Default (Integer 8 []) Source Public Required .false.), p: (Variable 2 p [] Local () () Default (Real 4 []) Source Public Required .false.), pow: (ExternalSymbol 2 pow 4 pow lpython_builtin [] pow Private), pow@__lpython_overloaded_0__pow: (ExternalSymbol 2 pow@__lpython_overloaded_0__pow 4 __lpython_overloaded_0__pow lpython_builtin [] __lpython_overloaded_0__pow Public), pow@__lpython_overloaded_10__pow: (ExternalSymbol 2 pow@__lpython_overloaded_10__pow 4 __lpython_overloaded_10__pow lpython_builtin [] __lpython_overloaded_10__pow Public), pow@__lpython_overloaded_11__pow: (ExternalSymbol 2 pow@__lpython_overloaded_11__pow 4 __lpython_overloaded_11__pow lpython_builtin [] __lpython_overloaded_11__pow Public), pow@__lpython_overloaded_1__pow: (ExternalSymbol 2 pow@__lpython_overloaded_1__pow 4 __lpython_overloaded_1__pow lpython_builtin [] __lpython_overloaded_1__pow Public), pow@__lpython_overloaded_2__pow: (ExternalSymbol 2 pow@__lpython_overloaded_2__pow 4 __lpython_overloaded_2__pow lpython_builtin [] __lpython_overloaded_2__pow Public), pow@__lpython_overloaded_3__pow: (ExternalSymbol 2 pow@__lpython_overloaded_3__pow 4 __lpython_overloaded_3__pow lpython_builtin [] __lpython_overloaded_3__pow Public), pow@__lpython_overloaded_4__pow: (ExternalSymbol 2 pow@__lpython_overloaded_4__pow 4 __lpython_overloaded_4__pow lpython_builtin [] __lpython_overloaded_4__pow Public), pow@__lpython_overloaded_5__pow: (ExternalSymbol 2 pow@__lpython_overloaded_5__pow 4 __lpython_overloaded_5__pow lpython_builtin [] __lpython_overloaded_5__pow Public), pow@__lpython_overloaded_6__pow: (ExternalSymbol 2 pow@__lpython_overloaded_6__pow 4 __lpython_overloaded_6__pow lpython_builtin [] __lpython_overloaded_6__pow Public), pow@__lpython_overloaded_7__pow: (ExternalSymbol 2 pow@__lpython_overloaded_7__pow 4 __lpython_overloaded_7__pow lpython_builtin [] __lpython_overloaded_7__pow Public), pow@__lpython_overloaded_8__pow: (ExternalSymbol 2 pow@__lpython_overloaded_8__pow 4 __lpython_overloaded_8__pow lpython_builtin [] __lpython_overloaded_8__pow Public), pow@__lpython_overloaded_9__pow: (ExternalSymbol 2 pow@__lpython_overloaded_9__pow 4 __lpython_overloaded_9__pow lpython_builtin [] __lpython_overloaded_9__pow Public), x: (Variable 2 x [] Local (IntegerConstant 3 (Integer 4 [])) () Default (Integer 4 []) Source Public Required .false.), y: (Variable 2 y [] Local (RealConstant 2.300000 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.)}) test_pow (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [pow@__lpython_overloaded_0__pow pow@__lpython_overloaded_0__pow pow@__lpython_overloaded_0__pow pow@__lpython_overloaded_1__pow pow@__lpython_overloaded_2__pow pow@__lpython_overloaded_4__pow pow@__lpython_overloaded_5__pow pow@__lpython_overloaded_8__pow pow@__lpython_overloaded_8__pow pow@__lpython_overloaded_8__pow pow@__lpython_overloaded_8__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_3__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_3__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_6__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_7__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_6__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_1__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_1__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_1__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_1__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_3__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_3__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_3__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_6__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_6__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_7__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_7__pow pow@__lpython_overloaded_0__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_7__pow pow@__lpython_overloaded_11__pow pow@__lpython_overloaded_10__pow complex@__lpython_overloaded_9__complex pow@__lpython_overloaded_9__pow] [] [(= (Var 2 eps) (RealConstant 0.000000 (Real 8 [])) ()) (= (Var 2 a) (IntegerConstant 2 (Integer 4 [])) ()) (= (Var 2 b) (IntegerConstant 5 (Integer 4 [])) ()) (Assert (IntegerCompare (Cast (FunctionCall 2 pow@__lpython_overloaded_0__pow 2 pow [((Var 2 a)) ((Var 2 b))] (Real 8 []) () ()) RealToInteger (Integer 4 []) ()) Eq (IntegerConstant 32 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 a) (IntegerConstant 6 (Integer 4 [])) ()) (= (Var 2 b) (IntegerConstant 3 (Integer 4 [])) ()) (Assert (IntegerCompare (Cast (FunctionCall 2 pow@__lpython_overloaded_0__pow 2 pow [((Var 2 a)) ((Var 2 b))] (Real 8 []) () ()) RealToInteger (Integer 4 []) ()) Eq (IntegerConstant 216 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 a) (IntegerConstant 2 (Integer 4 [])) ()) (= (Var 2 b) (IntegerConstant 0 (Integer 4 [])) ()) (Assert (IntegerCompare (Cast (FunctionCall 2 pow@__lpython_overloaded_0__pow 2 pow [((Var 2 a)) ((Var 2 b))] (Real 8 []) () ()) RealToInteger (Integer 4 []) ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 a) (IntegerConstant 2 (Integer 4 [])) ()) (= (Var 2 b) (IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))) ()) (= (Var 2 a) (IntegerConstant 6 (Integer 4 [])) ()) (= (Var 2 b) (IntegerUnaryMinus (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4 (Integer 4 []))) ()) (= (Var 2 i1) (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 2 (Integer 8 []))) ()) (= (Var 2 i2) (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 5 (Integer 8 []))) ()) (Assert (IntegerCompare (Cast (FunctionCall 2 pow@__lpython_overloaded_1__pow 2 pow [((Var 2 i1)) ((Var 2 i2))] (Real 8 []) () ()) RealToInteger (Integer 8 []) ()) Eq (Cast (IntegerConstant 32 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 32 (Integer 8 []))) (Logical 4 []) ()) ()) (= (Var 2 i1) (Cast (IntegerConstant 6 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 6 (Integer 8 []))) ()) (= (Var 2 i2) (IntegerUnaryMinus (Cast (IntegerConstant 3 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 3 (Integer 8 []))) (Integer 8 []) (IntegerConstant -3 (Integer 8 []))) ()) (= (Var 2 f1) (Cast (RealBinOp (Cast (IntegerConstant 525346 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 66456 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) RealToReal (Real 4 []) ()) ()) (= (Var 2 f2) (Cast (RealConstant 3.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.000000 (Real 4 []))) ()) (= (Var 2 p) (FunctionCall 2 pow@__lpython_overloaded_2__pow 2 pow [((Var 2 f1)) ((Var 2 f2))] (Real 4 []) () ()) ()) (= (Var 2 f1) (FunctionCall 2 pow@__lpython_overloaded_4__pow 2 pow [((Var 2 a)) ((Var 2 f2))] (Real 4 []) () ()) ()) (= (Var 2 f1) (FunctionCall 2 pow@__lpython_overloaded_5__pow 2 pow [((Var 2 f2)) ((Var 2 a))] (Real 4 []) () ()) ()) (= (Var 2 b1) (LogicalConstant .true. (Logical 4 [])) ()) (= (Var 2 b2) (LogicalConstant .false. (Logical 4 [])) ()) (Assert (IntegerCompare (FunctionCall 2 pow@__lpython_overloaded_8__pow 2 pow [((Var 2 b1)) ((Var 2 b2))] (Integer 4 []) () ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 pow@__lpython_overloaded_8__pow 2 pow [((Var 2 b2)) ((Var 2 b1))] (Integer 4 []) () ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 pow@__lpython_overloaded_8__pow 2 pow [((Var 2 b1)) ((Var 2 b2))] (Integer 4 []) () ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 pow@__lpython_overloaded_8__pow 2 pow [((LogicalConstant .false. (Logical 4 []))) ((LogicalConstant .false. (Logical 4 [])))] (Integer 4 []) (IntegerConstant 1 (Integer 4 [])) ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a1) (RealConstant 4.500000 (Real 8 [])) ()) (= (Var 2 a2) (RealConstant 2.300000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_3__pow 2 pow [((Var 2 a1)) ((Var 2 a2))] (Real 8 []) () ()) Sub (RealConstant 31.797193 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_3__pow 2 pow [((Var 2 a2)) ((Var 2 a1))] (Real 8 []) () ()) Sub (RealConstant 42.439989 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (= (Var 2 x) (IntegerConstant 3 (Integer 4 [])) ()) (= (Var 2 y) (RealConstant 2.300000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_6__pow 2 pow [((Var 2 x)) ((Var 2 y))] (Real 8 []) () ()) Sub (RealConstant 12.513503 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_7__pow 2 pow [((Var 2 y)) ((Var 2 x))] (Real 8 []) () ()) Sub (RealConstant 12.167000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_6__pow 2 pow [((Var 2 x)) ((RealConstant 5.500000 (Real 8 [])))] (Real 8 []) () ()) Sub (RealConstant 420.888346 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_1__pow 2 pow [((Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 2 (Integer 8 [])))) ((IntegerUnaryMinus (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) (IntegerConstant -1 (Integer 8 []))))] (Real 8 []) (RealConstant 0.500000 (Real 8 [])) ()) Sub (RealConstant 0.500000 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_1__pow 2 pow [((Cast (IntegerConstant 6 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 6 (Integer 8 [])))) ((IntegerUnaryMinus (Cast (IntegerConstant 4 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 4 (Integer 8 []))) (Integer 8 []) (IntegerConstant -4 (Integer 8 []))))] (Real 8 []) (RealConstant 0.000772 (Real 8 [])) ()) Sub (RealConstant 0.000772 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_1__pow 2 pow [((IntegerUnaryMinus (Cast (IntegerConstant 3 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 3 (Integer 8 []))) (Integer 8 []) (IntegerConstant -3 (Integer 8 [])))) ((IntegerUnaryMinus (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 5 (Integer 8 []))) (Integer 8 []) (IntegerConstant -5 (Integer 8 []))))] (Real 8 []) (RealConstant -0.004115 (Real 8 [])) ()) Add (RealConstant 0.004115 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_1__pow 2 pow [((Cast (IntegerConstant 6 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 6 (Integer 8 [])))) ((IntegerUnaryMinus (Cast (IntegerConstant 4 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 4 (Integer 8 []))) (Integer 8 []) (IntegerConstant -4 (Integer 8 []))))] (Real 8 []) (RealConstant 0.000772 (Real 8 [])) ()) Sub (RealConstant 0.000772 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_3__pow 2 pow [((RealConstant 4.500000 (Real 8 []))) ((RealConstant 2.300000 (Real 8 [])))] (Real 8 []) (RealConstant 31.797193 (Real 8 [])) ()) Sub (RealConstant 31.797193 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_3__pow 2 pow [((RealConstant 2.300000 (Real 8 []))) ((RealConstant 0.000000 (Real 8 [])))] (Real 8 []) (RealConstant 1.000000 (Real 8 [])) ()) Sub (RealConstant 1.000000 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_3__pow 2 pow [((RealConstant 2.300000 (Real 8 []))) ((RealUnaryMinus (RealConstant 1.500000 (Real 8 [])) (Real 8 []) (RealConstant -1.500000 (Real 8 []))))] (Real 8 []) (RealConstant 0.286687 (Real 8 [])) ()) Sub (RealConstant 0.286687 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_6__pow 2 pow [((IntegerConstant 2 (Integer 4 []))) ((RealConstant 3.400000 (Real 8 [])))] (Real 8 []) (RealConstant 10.556063 (Real 8 [])) ()) Sub (RealConstant 10.556063 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_6__pow 2 pow [((IntegerConstant 2 (Integer 4 []))) ((RealUnaryMinus (RealConstant 3.400000 (Real 8 [])) (Real 8 []) (RealConstant -3.400000 (Real 8 []))))] (Real 8 []) (RealConstant 0.094732 (Real 8 [])) ()) Sub (RealConstant 0.094732 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_7__pow 2 pow [((RealConstant 3.400000 (Real 8 []))) ((IntegerConstant 9 (Integer 4 [])))] (Real 8 []) (RealConstant 60716.992766 (Real 8 [])) ()) Sub (RealConstant 60716.992766 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_7__pow 2 pow [((RealConstant 0.000000 (Real 8 []))) ((IntegerConstant 53 (Integer 4 [])))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Sub (RealConstant 0.000000 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (IntegerCompare (Cast (FunctionCall 2 pow@__lpython_overloaded_0__pow 2 pow [((IntegerConstant 4 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 [])))] (Real 8 []) (RealConstant 16.000000 (Real 8 [])) ()) RealToInteger (Integer 4 []) (IntegerConstant 16 (Integer 4 []))) Eq (IntegerConstant 16 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_7__pow 2 pow [((RealUnaryMinus (RealConstant 4235.000000 (Real 8 [])) (Real 8 []) (RealConstant -4235.000000 (Real 8 [])))) ((IntegerConstant 52 (Integer 4 [])))] (Real 8 []) (RealConstant 394800380598526378720936476336799774273305305904443955996320177992404102454228192853661558132283280490733920647962082901303487965679010854404517306573035287122910924343151116372519789002752.000000 (Real 8 [])) ()) Sub (RealConstant 394800380598526378720936476336799774273305305904443955996320177992404102454228192853661558132283280490733920647962082901303487965679010854404517306573035287122910924343151116372519789002752.000000 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (= (Var 2 i) (Cast (IntegerConstant 7 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 7 (Integer 8 []))) ()) (= (Var 2 j) (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 2 (Integer 8 []))) ()) (= (Var 2 k) (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 5 (Integer 8 []))) ()) (Assert (IntegerCompare (FunctionCall 2 pow@__lpython_overloaded_11__pow 2 pow [((Var 2 i)) ((Var 2 j)) ((Var 2 k))] (Integer 8 []) () ()) Eq (Cast (IntegerConstant 4 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 4 (Integer 8 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 pow@__lpython_overloaded_10__pow 2 pow [((IntegerConstant 102 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 121 (Integer 4 [])))] (Integer 4 []) (RealConstant 38.000000 (Real 8 [])) ()) Eq (IntegerConstant 38 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 c1) (Cast (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 4 (Integer 4 []))) ((IntegerConstant 5 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 4.000000 5.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 4.000000 5.000000 (Complex 4 []))) ()) (= (Var 2 c1) (FunctionCall 2 pow@__lpython_overloaded_9__pow 2 pow [((Var 2 c1)) ((IntegerConstant 4 (Integer 4 [])))] (Complex 4 []) () ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 105 {_lpython_main_program: (ExternalSymbol 105 _lpython_main_program 107 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 105 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-test_builtin_round-7417a21.json b/tests/reference/asr-test_builtin_round-7417a21.json index cc27981a17..0c34b887b7 100644 --- a/tests/reference/asr-test_builtin_round-7417a21.json +++ b/tests/reference/asr-test_builtin_round-7417a21.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_builtin_round-7417a21.stdout", - "stdout_hash": "c1238940ab8c3f4bcd608cdabb1f93828430f6ad14dde0153b1af39b", + "stdout_hash": "4c23d825bcedab3f304b95bdc33395e0727b867c6dfea11de8f39d78", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_builtin_round-7417a21.stdout b/tests/reference/asr-test_builtin_round-7417a21.stdout index 01cc06fd04..f11c21ed51 100644 --- a/tests/reference/asr-test_builtin_round-7417a21.stdout +++ b/tests/reference/asr-test_builtin_round-7417a21.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 105 {_lpython_main_program: (Function (SymbolTable 104 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_round] [] [(SubroutineCall 105 test_round () [] ())] () Public .false. .false.), test_round: (Function (SymbolTable 2 {b: (Variable 2 b [] Local () () Default (Logical 4 []) Source Public Required .false.), f: (Variable 2 f [] Local () () Default (Real 8 []) Source Public Required .false.), f2: (Variable 2 f2 [] Local () () Default (Real 4 []) Source Public Required .false.), i: (Variable 2 i [] Local () () Default (Integer 4 []) Source Public Required .false.), i2: (Variable 2 i2 [] Local () () Default (Integer 1 []) Source Public Required .false.), i3: (Variable 2 i3 [] Local () () Default (Integer 2 []) Source Public Required .false.), i4: (Variable 2 i4 [] Local () () Default (Integer 8 []) Source Public Required .false.), round: (ExternalSymbol 2 round 4 round lpython_builtin [] round Private), round@__lpython_overloaded_0__round: (ExternalSymbol 2 round@__lpython_overloaded_0__round 4 __lpython_overloaded_0__round lpython_builtin [] __lpython_overloaded_0__round Public), round@__lpython_overloaded_1__round: (ExternalSymbol 2 round@__lpython_overloaded_1__round 4 __lpython_overloaded_1__round lpython_builtin [] __lpython_overloaded_1__round Public), round@__lpython_overloaded_2__round: (ExternalSymbol 2 round@__lpython_overloaded_2__round 4 __lpython_overloaded_2__round lpython_builtin [] __lpython_overloaded_2__round Public), round@__lpython_overloaded_3__round: (ExternalSymbol 2 round@__lpython_overloaded_3__round 4 __lpython_overloaded_3__round lpython_builtin [] __lpython_overloaded_3__round Public), round@__lpython_overloaded_4__round: (ExternalSymbol 2 round@__lpython_overloaded_4__round 4 __lpython_overloaded_4__round lpython_builtin [] __lpython_overloaded_4__round Public), round@__lpython_overloaded_5__round: (ExternalSymbol 2 round@__lpython_overloaded_5__round 4 __lpython_overloaded_5__round lpython_builtin [] __lpython_overloaded_5__round Public), round@__lpython_overloaded_6__round: (ExternalSymbol 2 round@__lpython_overloaded_6__round 4 __lpython_overloaded_6__round lpython_builtin [] __lpython_overloaded_6__round Public)}) test_round (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_1__round round@__lpython_overloaded_2__round round@__lpython_overloaded_2__round round@__lpython_overloaded_4__round round@__lpython_overloaded_5__round round@__lpython_overloaded_3__round round@__lpython_overloaded_6__round round@__lpython_overloaded_6__round round@__lpython_overloaded_6__round] [] [(= (Var 2 f) (RealConstant 5.678000 (Real 8 [])) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((Var 2 f))] (Integer 4 []) () ()) Eq (IntegerConstant 6 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 f) (RealUnaryMinus (RealConstant 183745.230000 (Real 8 [])) (Real 8 []) (RealConstant -183745.230000 (Real 8 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((Var 2 f))] (Integer 4 []) () ()) Eq (IntegerUnaryMinus (IntegerConstant 183745 (Integer 4 [])) (Integer 4 []) (IntegerConstant -183745 (Integer 4 []))) (Logical 4 []) ()) ()) (= (Var 2 f) (RealConstant 44.340000 (Real 8 [])) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((Var 2 f))] (Integer 4 []) () ()) Eq (IntegerConstant 44 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 f) (RealConstant 0.500000 (Real 8 [])) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((Var 2 f))] (Integer 4 []) () ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 f) (RealUnaryMinus (RealConstant 50.500000 (Real 8 [])) (Real 8 []) (RealConstant -50.500000 (Real 8 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((Var 2 f))] (Integer 4 []) () ()) Eq (IntegerUnaryMinus (IntegerConstant 50 (Integer 4 [])) (Integer 4 []) (IntegerConstant -50 (Integer 4 []))) (Logical 4 []) ()) ()) (= (Var 2 f) (RealConstant 1.500000 (Real 8 [])) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((Var 2 f))] (Integer 4 []) () ()) Eq (IntegerConstant 2 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((RealConstant 13.001000 (Real 8 [])))] (Integer 4 []) (IntegerConstant 13 (Integer 4 [])) ()) Eq (IntegerConstant 13 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((RealUnaryMinus (RealConstant 40.499990 (Real 8 [])) (Real 8 []) (RealConstant -40.499990 (Real 8 []))))] (Integer 4 []) (IntegerConstant -40 (Integer 4 [])) ()) Eq (IntegerUnaryMinus (IntegerConstant 40 (Integer 4 [])) (Integer 4 []) (IntegerConstant -40 (Integer 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((RealConstant 0.500000 (Real 8 [])))] (Integer 4 []) (IntegerConstant 0 (Integer 4 [])) ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((RealUnaryMinus (RealConstant 0.500000 (Real 8 [])) (Real 8 []) (RealConstant -0.500000 (Real 8 []))))] (Integer 4 []) (IntegerConstant 0 (Integer 4 [])) ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((RealConstant 1.500000 (Real 8 [])))] (Integer 4 []) (IntegerConstant 2 (Integer 4 [])) ()) Eq (IntegerConstant 2 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((RealConstant 50.500000 (Real 8 [])))] (Integer 4 []) (IntegerConstant 50 (Integer 4 [])) ()) Eq (IntegerConstant 50 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((RealConstant 56.780000 (Real 8 [])))] (Integer 4 []) (IntegerConstant 57 (Integer 4 [])) ()) Eq (IntegerConstant 57 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 f2) (Cast (RealConstant 5.678000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 5.678000 (Real 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_1__round 2 round [((Var 2 f2))] (Integer 4 []) () ()) Eq (IntegerConstant 6 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerUnaryMinus (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5 (Integer 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_2__round 2 round [((Var 2 i))] (Integer 4 []) () ()) Eq (IntegerUnaryMinus (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5 (Integer 4 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_2__round 2 round [((IntegerConstant 4 (Integer 4 [])))] (Integer 4 []) (IntegerConstant 4 (Integer 4 [])) ()) Eq (IntegerConstant 4 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 i2) (Cast (IntegerConstant 7 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 7 (Integer 1 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_4__round 2 round [((Var 2 i2))] (Integer 1 []) () ()) Eq (Cast (IntegerConstant 7 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 7 (Integer 1 []))) (Logical 4 []) ()) ()) (= (Var 2 i3) (Cast (IntegerUnaryMinus (IntegerConstant 8 (Integer 4 [])) (Integer 4 []) (IntegerConstant -8 (Integer 4 []))) IntegerToInteger (Integer 2 []) (IntegerConstant -8 (Integer 2 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_5__round 2 round [((Var 2 i3))] (Integer 2 []) () ()) Eq (Cast (IntegerUnaryMinus (IntegerConstant 8 (Integer 4 [])) (Integer 4 []) (IntegerConstant -8 (Integer 4 []))) IntegerToInteger (Integer 2 []) (IntegerConstant -8 (Integer 2 []))) (Logical 4 []) ()) ()) (= (Var 2 i4) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_3__round 2 round [((Var 2 i4))] (Integer 8 []) () ()) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) ()) (= (Var 2 b) (LogicalConstant .true. (Logical 4 [])) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_6__round 2 round [((Var 2 b))] (Integer 4 []) () ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 b) (LogicalConstant .false. (Logical 4 [])) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_6__round 2 round [((Var 2 b))] (Integer 4 []) () ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_6__round 2 round [((LogicalConstant .false. (Logical 4 [])))] (Integer 4 []) (IntegerConstant 0 (Integer 4 [])) ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 103 {_lpython_main_program: (ExternalSymbol 103 _lpython_main_program 105 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 103 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 107 {_lpython_main_program: (Function (SymbolTable 106 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_round] [] [(SubroutineCall 107 test_round () [] ())] () Public .false. .false.), test_round: (Function (SymbolTable 2 {b: (Variable 2 b [] Local () () Default (Logical 4 []) Source Public Required .false.), f: (Variable 2 f [] Local () () Default (Real 8 []) Source Public Required .false.), f2: (Variable 2 f2 [] Local () () Default (Real 4 []) Source Public Required .false.), i: (Variable 2 i [] Local () () Default (Integer 4 []) Source Public Required .false.), i2: (Variable 2 i2 [] Local () () Default (Integer 1 []) Source Public Required .false.), i3: (Variable 2 i3 [] Local () () Default (Integer 2 []) Source Public Required .false.), i4: (Variable 2 i4 [] Local () () Default (Integer 8 []) Source Public Required .false.), round: (ExternalSymbol 2 round 4 round lpython_builtin [] round Private), round@__lpython_overloaded_0__round: (ExternalSymbol 2 round@__lpython_overloaded_0__round 4 __lpython_overloaded_0__round lpython_builtin [] __lpython_overloaded_0__round Public), round@__lpython_overloaded_1__round: (ExternalSymbol 2 round@__lpython_overloaded_1__round 4 __lpython_overloaded_1__round lpython_builtin [] __lpython_overloaded_1__round Public), round@__lpython_overloaded_2__round: (ExternalSymbol 2 round@__lpython_overloaded_2__round 4 __lpython_overloaded_2__round lpython_builtin [] __lpython_overloaded_2__round Public), round@__lpython_overloaded_3__round: (ExternalSymbol 2 round@__lpython_overloaded_3__round 4 __lpython_overloaded_3__round lpython_builtin [] __lpython_overloaded_3__round Public), round@__lpython_overloaded_4__round: (ExternalSymbol 2 round@__lpython_overloaded_4__round 4 __lpython_overloaded_4__round lpython_builtin [] __lpython_overloaded_4__round Public), round@__lpython_overloaded_5__round: (ExternalSymbol 2 round@__lpython_overloaded_5__round 4 __lpython_overloaded_5__round lpython_builtin [] __lpython_overloaded_5__round Public), round@__lpython_overloaded_6__round: (ExternalSymbol 2 round@__lpython_overloaded_6__round 4 __lpython_overloaded_6__round lpython_builtin [] __lpython_overloaded_6__round Public)}) test_round (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_1__round round@__lpython_overloaded_2__round round@__lpython_overloaded_2__round round@__lpython_overloaded_4__round round@__lpython_overloaded_5__round round@__lpython_overloaded_3__round round@__lpython_overloaded_6__round round@__lpython_overloaded_6__round round@__lpython_overloaded_6__round] [] [(= (Var 2 f) (RealConstant 5.678000 (Real 8 [])) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((Var 2 f))] (Integer 4 []) () ()) Eq (IntegerConstant 6 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 f) (RealUnaryMinus (RealConstant 183745.230000 (Real 8 [])) (Real 8 []) (RealConstant -183745.230000 (Real 8 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((Var 2 f))] (Integer 4 []) () ()) Eq (IntegerUnaryMinus (IntegerConstant 183745 (Integer 4 [])) (Integer 4 []) (IntegerConstant -183745 (Integer 4 []))) (Logical 4 []) ()) ()) (= (Var 2 f) (RealConstant 44.340000 (Real 8 [])) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((Var 2 f))] (Integer 4 []) () ()) Eq (IntegerConstant 44 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 f) (RealConstant 0.500000 (Real 8 [])) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((Var 2 f))] (Integer 4 []) () ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 f) (RealUnaryMinus (RealConstant 50.500000 (Real 8 [])) (Real 8 []) (RealConstant -50.500000 (Real 8 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((Var 2 f))] (Integer 4 []) () ()) Eq (IntegerUnaryMinus (IntegerConstant 50 (Integer 4 [])) (Integer 4 []) (IntegerConstant -50 (Integer 4 []))) (Logical 4 []) ()) ()) (= (Var 2 f) (RealConstant 1.500000 (Real 8 [])) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((Var 2 f))] (Integer 4 []) () ()) Eq (IntegerConstant 2 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((RealConstant 13.001000 (Real 8 [])))] (Integer 4 []) (IntegerConstant 13 (Integer 4 [])) ()) Eq (IntegerConstant 13 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((RealUnaryMinus (RealConstant 40.499990 (Real 8 [])) (Real 8 []) (RealConstant -40.499990 (Real 8 []))))] (Integer 4 []) (IntegerConstant -40 (Integer 4 [])) ()) Eq (IntegerUnaryMinus (IntegerConstant 40 (Integer 4 [])) (Integer 4 []) (IntegerConstant -40 (Integer 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((RealConstant 0.500000 (Real 8 [])))] (Integer 4 []) (IntegerConstant 0 (Integer 4 [])) ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((RealUnaryMinus (RealConstant 0.500000 (Real 8 [])) (Real 8 []) (RealConstant -0.500000 (Real 8 []))))] (Integer 4 []) (IntegerConstant 0 (Integer 4 [])) ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((RealConstant 1.500000 (Real 8 [])))] (Integer 4 []) (IntegerConstant 2 (Integer 4 [])) ()) Eq (IntegerConstant 2 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((RealConstant 50.500000 (Real 8 [])))] (Integer 4 []) (IntegerConstant 50 (Integer 4 [])) ()) Eq (IntegerConstant 50 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((RealConstant 56.780000 (Real 8 [])))] (Integer 4 []) (IntegerConstant 57 (Integer 4 [])) ()) Eq (IntegerConstant 57 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 f2) (Cast (RealConstant 5.678000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 5.678000 (Real 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_1__round 2 round [((Var 2 f2))] (Integer 4 []) () ()) Eq (IntegerConstant 6 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerUnaryMinus (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5 (Integer 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_2__round 2 round [((Var 2 i))] (Integer 4 []) () ()) Eq (IntegerUnaryMinus (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5 (Integer 4 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_2__round 2 round [((IntegerConstant 4 (Integer 4 [])))] (Integer 4 []) (IntegerConstant 4 (Integer 4 [])) ()) Eq (IntegerConstant 4 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 i2) (Cast (IntegerConstant 7 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 7 (Integer 1 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_4__round 2 round [((Var 2 i2))] (Integer 1 []) () ()) Eq (Cast (IntegerConstant 7 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 7 (Integer 1 []))) (Logical 4 []) ()) ()) (= (Var 2 i3) (Cast (IntegerUnaryMinus (IntegerConstant 8 (Integer 4 [])) (Integer 4 []) (IntegerConstant -8 (Integer 4 []))) IntegerToInteger (Integer 2 []) (IntegerConstant -8 (Integer 2 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_5__round 2 round [((Var 2 i3))] (Integer 2 []) () ()) Eq (Cast (IntegerUnaryMinus (IntegerConstant 8 (Integer 4 [])) (Integer 4 []) (IntegerConstant -8 (Integer 4 []))) IntegerToInteger (Integer 2 []) (IntegerConstant -8 (Integer 2 []))) (Logical 4 []) ()) ()) (= (Var 2 i4) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_3__round 2 round [((Var 2 i4))] (Integer 8 []) () ()) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) ()) (= (Var 2 b) (LogicalConstant .true. (Logical 4 [])) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_6__round 2 round [((Var 2 b))] (Integer 4 []) () ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 b) (LogicalConstant .false. (Logical 4 [])) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_6__round 2 round [((Var 2 b))] (Integer 4 []) () ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_6__round 2 round [((LogicalConstant .false. (Logical 4 [])))] (Integer 4 []) (IntegerConstant 0 (Integer 4 [])) ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 105 {_lpython_main_program: (ExternalSymbol 105 _lpython_main_program 107 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 105 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-test_c_interop_01-e374f43.json b/tests/reference/asr-test_c_interop_01-e374f43.json index 943b8c5e39..39161ea4e2 100644 --- a/tests/reference/asr-test_c_interop_01-e374f43.json +++ b/tests/reference/asr-test_c_interop_01-e374f43.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_c_interop_01-e374f43.stdout", - "stdout_hash": "8570ba13cd691608c30de38398f87d87fbf0efaf72a8caf07bb1feda", + "stdout_hash": "5853d721b0d12a0a5ea796d93624e276eb9480ec8c84f39925b8c6fa", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_c_interop_01-e374f43.stdout b/tests/reference/asr-test_c_interop_01-e374f43.stdout index 6b384d3e1d..cc4baba465 100644 --- a/tests/reference/asr-test_c_interop_01-e374f43.stdout +++ b/tests/reference/asr-test_c_interop_01-e374f43.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 109 {_lfortran_bgt32: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) BindC Public Required .false.), i: (Variable 4 i [] In () () Default (Integer 4 []) BindC Public Required .true.), j: (Variable 4 j [] In () () Default (Integer 4 []) BindC Public Required .true.)}) _lfortran_bgt32 (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 i) (Var 4 j)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_bgt64: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) BindC Public Required .false.), i: (Variable 5 i [] In () () Default (Integer 8 []) BindC Public Required .true.), j: (Variable 5 j [] In () () Default (Integer 8 []) BindC Public Required .true.)}) _lfortran_bgt64 (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 5 i) (Var 5 j)] [] (Var 5 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 2 {_lpython_return_variable: (Variable 2 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 2 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 2 x)] [] (Var 2 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 3 {_lpython_return_variable: (Variable 3 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 3 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 3 x)] [] (Var 3 _lpython_return_variable) Public .false. .false.), _lpython_main_program: (Function (SymbolTable 108 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_c_callbacks] [] [(SubroutineCall 109 test_c_callbacks () [] ())] () Public .false. .false.), test_c_callbacks: (Function (SymbolTable 6 {abs: (ExternalSymbol 6 abs 8 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 6 abs@__lpython_overloaded_0__abs 8 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), abs@__lpython_overloaded_1__abs: (ExternalSymbol 6 abs@__lpython_overloaded_1__abs 8 __lpython_overloaded_1__abs lpython_builtin [] __lpython_overloaded_1__abs Public), pi: (Variable 6 pi [] Local (RealConstant 3.141593 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.)}) test_c_callbacks (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs _lfortran_dsin abs@__lpython_overloaded_0__abs _lfortran_dsin abs@__lpython_overloaded_1__abs _lfortran_ssin abs@__lpython_overloaded_1__abs _lfortran_ssin _lfortran_bgt32 _lfortran_bgt32 _lfortran_bgt64 _lfortran_bgt64] [] [(= (Var 6 pi) (RealConstant 3.141593 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 6 abs@__lpython_overloaded_0__abs 6 abs [((RealBinOp (FunctionCall 109 _lfortran_dsin () [((Var 6 pi))] (Real 8 []) () ()) Sub (RealConstant 0.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 6 abs@__lpython_overloaded_0__abs 6 abs [((RealBinOp (FunctionCall 109 _lfortran_dsin () [((RealBinOp (Var 6 pi) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()))] (Real 8 []) () ()) Sub (RealConstant 1.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 6 abs@__lpython_overloaded_1__abs 6 abs [((RealBinOp (FunctionCall 109 _lfortran_ssin () [((Cast (Var 6 pi) RealToReal (Real 4 []) ()))] (Real 4 []) () ()) Sub (Cast (RealConstant 0.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Real 4 []) ()))] (Real 4 []) () ()) Lt (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 6 abs@__lpython_overloaded_1__abs 6 abs [((RealBinOp (FunctionCall 109 _lfortran_ssin () [((Cast (RealBinOp (Var 6 pi) Div (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()) RealToReal (Real 4 []) ()))] (Real 4 []) () ()) Sub (Cast (RealConstant 1.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()))] (Real 4 []) () ()) Lt (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 109 _lfortran_bgt32 () [((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 4 (Integer 4 [])))] (Integer 4 []) () ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 109 _lfortran_bgt32 () [((IntegerConstant 4 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 [])))] (Integer 4 []) () ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 109 _lfortran_bgt64 () [((Cast (IntegerConstant 3 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 3 (Integer 8 [])))) ((Cast (IntegerConstant 4 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 4 (Integer 8 []))))] (Integer 4 []) () ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 109 _lfortran_bgt64 () [((Cast (IntegerConstant 4 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 4 (Integer 8 [])))) ((Cast (IntegerConstant 3 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 3 (Integer 8 []))))] (Integer 4 []) () ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 107 {_lpython_main_program: (ExternalSymbol 107 _lpython_main_program 109 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 107 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 111 {_lfortran_bgt32: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) BindC Public Required .false.), i: (Variable 4 i [] In () () Default (Integer 4 []) BindC Public Required .true.), j: (Variable 4 j [] In () () Default (Integer 4 []) BindC Public Required .true.)}) _lfortran_bgt32 (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 i) (Var 4 j)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_bgt64: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) BindC Public Required .false.), i: (Variable 5 i [] In () () Default (Integer 8 []) BindC Public Required .true.), j: (Variable 5 j [] In () () Default (Integer 8 []) BindC Public Required .true.)}) _lfortran_bgt64 (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 5 i) (Var 5 j)] [] (Var 5 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 2 {_lpython_return_variable: (Variable 2 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 2 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 2 x)] [] (Var 2 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 3 {_lpython_return_variable: (Variable 3 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 3 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 3 x)] [] (Var 3 _lpython_return_variable) Public .false. .false.), _lpython_main_program: (Function (SymbolTable 110 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_c_callbacks] [] [(SubroutineCall 111 test_c_callbacks () [] ())] () Public .false. .false.), test_c_callbacks: (Function (SymbolTable 6 {abs: (ExternalSymbol 6 abs 8 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 6 abs@__lpython_overloaded_0__abs 8 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), abs@__lpython_overloaded_1__abs: (ExternalSymbol 6 abs@__lpython_overloaded_1__abs 8 __lpython_overloaded_1__abs lpython_builtin [] __lpython_overloaded_1__abs Public), pi: (Variable 6 pi [] Local (RealConstant 3.141593 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.)}) test_c_callbacks (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs _lfortran_dsin abs@__lpython_overloaded_0__abs _lfortran_dsin abs@__lpython_overloaded_1__abs _lfortran_ssin abs@__lpython_overloaded_1__abs _lfortran_ssin _lfortran_bgt32 _lfortran_bgt32 _lfortran_bgt64 _lfortran_bgt64] [] [(= (Var 6 pi) (RealConstant 3.141593 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 6 abs@__lpython_overloaded_0__abs 6 abs [((RealBinOp (FunctionCall 111 _lfortran_dsin () [((Var 6 pi))] (Real 8 []) () ()) Sub (RealConstant 0.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 6 abs@__lpython_overloaded_0__abs 6 abs [((RealBinOp (FunctionCall 111 _lfortran_dsin () [((RealBinOp (Var 6 pi) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()))] (Real 8 []) () ()) Sub (RealConstant 1.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 6 abs@__lpython_overloaded_1__abs 6 abs [((RealBinOp (FunctionCall 111 _lfortran_ssin () [((Cast (Var 6 pi) RealToReal (Real 4 []) ()))] (Real 4 []) () ()) Sub (Cast (RealConstant 0.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Real 4 []) ()))] (Real 4 []) () ()) Lt (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 6 abs@__lpython_overloaded_1__abs 6 abs [((RealBinOp (FunctionCall 111 _lfortran_ssin () [((Cast (RealBinOp (Var 6 pi) Div (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()) RealToReal (Real 4 []) ()))] (Real 4 []) () ()) Sub (Cast (RealConstant 1.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()))] (Real 4 []) () ()) Lt (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 111 _lfortran_bgt32 () [((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 4 (Integer 4 [])))] (Integer 4 []) () ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 111 _lfortran_bgt32 () [((IntegerConstant 4 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 [])))] (Integer 4 []) () ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 111 _lfortran_bgt64 () [((Cast (IntegerConstant 3 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 3 (Integer 8 [])))) ((Cast (IntegerConstant 4 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 4 (Integer 8 []))))] (Integer 4 []) () ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 111 _lfortran_bgt64 () [((Cast (IntegerConstant 4 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 4 (Integer 8 [])))) ((Cast (IntegerConstant 3 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 3 (Integer 8 []))))] (Integer 4 []) () ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 109 {_lpython_main_program: (ExternalSymbol 109 _lpython_main_program 111 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 109 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-test_complex_01-a6def58.json b/tests/reference/asr-test_complex_01-a6def58.json index ea56ed114b..72b904ac24 100644 --- a/tests/reference/asr-test_complex_01-a6def58.json +++ b/tests/reference/asr-test_complex_01-a6def58.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_complex_01-a6def58.stdout", - "stdout_hash": "c67d845239ce0b1ccf8a57ec7a570285f7a6ff201d32cccbb6df2bb9", + "stdout_hash": "8417ca652b5379ca2897196706bd6ced412b7fbfe4f53d828810b5c2", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_complex_01-a6def58.stdout b/tests/reference/asr-test_complex_01-a6def58.stdout index 1e9f29fc16..54f3897f80 100644 --- a/tests/reference/asr-test_complex_01-a6def58.stdout +++ b/tests/reference/asr-test_complex_01-a6def58.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 109 {_lpython_main_program: (Function (SymbolTable 108 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [check] [] [(SubroutineCall 109 check () [] ())] () Public .false. .false.), check: (Function (SymbolTable 6 {}) check (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_real_imag test_complex test_complex_unary_minus test_complex_not] [] [(SubroutineCall 109 test_real_imag () [] ()) (SubroutineCall 109 test_complex () [] ()) (SubroutineCall 109 test_complex_unary_minus () [] ()) (SubroutineCall 109 test_complex_not () [] ())] () Public .false. .false.), test_complex: (Function (SymbolTable 3 {a: (Variable 3 a [] Local () () Default (Real 8 []) Source Public Required .false.), a2: (Variable 3 a2 [] Local () () Default (Real 4 []) Source Public Required .false.), a3: (Variable 3 a3 [] Local () () Default (Real 4 []) Source Public Required .false.), abs: (ExternalSymbol 3 abs 8 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 3 abs@__lpython_overloaded_0__abs 8 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), abs@__lpython_overloaded_1__abs: (ExternalSymbol 3 abs@__lpython_overloaded_1__abs 8 __lpython_overloaded_1__abs lpython_builtin [] __lpython_overloaded_1__abs Public), complex: (ExternalSymbol 3 complex 8 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_10__complex: (ExternalSymbol 3 complex@__lpython_overloaded_10__complex 8 __lpython_overloaded_10__complex lpython_builtin [] __lpython_overloaded_10__complex Public), complex@__lpython_overloaded_11__complex: (ExternalSymbol 3 complex@__lpython_overloaded_11__complex 8 __lpython_overloaded_11__complex lpython_builtin [] __lpython_overloaded_11__complex Public), complex@__lpython_overloaded_12__complex: (ExternalSymbol 3 complex@__lpython_overloaded_12__complex 8 __lpython_overloaded_12__complex lpython_builtin [] __lpython_overloaded_12__complex Public), complex@__lpython_overloaded_13__complex: (ExternalSymbol 3 complex@__lpython_overloaded_13__complex 8 __lpython_overloaded_13__complex lpython_builtin [] __lpython_overloaded_13__complex Public), complex@__lpython_overloaded_14__complex: (ExternalSymbol 3 complex@__lpython_overloaded_14__complex 8 __lpython_overloaded_14__complex lpython_builtin [] __lpython_overloaded_14__complex Public), complex@__lpython_overloaded_5__complex: (ExternalSymbol 3 complex@__lpython_overloaded_5__complex 8 __lpython_overloaded_5__complex lpython_builtin [] __lpython_overloaded_5__complex Public), complex@__lpython_overloaded_6__complex: (ExternalSymbol 3 complex@__lpython_overloaded_6__complex 8 __lpython_overloaded_6__complex lpython_builtin [] __lpython_overloaded_6__complex Public), complex@__lpython_overloaded_7__complex: (ExternalSymbol 3 complex@__lpython_overloaded_7__complex 8 __lpython_overloaded_7__complex lpython_builtin [] __lpython_overloaded_7__complex Public), complex@__lpython_overloaded_8__complex: (ExternalSymbol 3 complex@__lpython_overloaded_8__complex 8 __lpython_overloaded_8__complex lpython_builtin [] __lpython_overloaded_8__complex Public), complex@__lpython_overloaded_9__complex: (ExternalSymbol 3 complex@__lpython_overloaded_9__complex 8 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public), eps: (Variable 3 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i1: (Variable 3 i1 [] Local () () Default (Integer 4 []) Source Public Required .false.), i2: (Variable 3 i2 [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 3 x [] Local () () Default (Complex 8 []) Source Public Required .false.), x2: (Variable 3 x2 [] Local () () Default (Complex 4 []) Source Public Required .false.)}) test_complex (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_5__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs complex@__lpython_overloaded_9__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs complex@__lpython_overloaded_13__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs complex@__lpython_overloaded_14__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs complex@__lpython_overloaded_5__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs complex@__lpython_overloaded_6__complex abs@__lpython_overloaded_1__abs complex@__lpython_overloaded_7__complex complex@__lpython_overloaded_8__complex complex@__lpython_overloaded_11__complex complex@__lpython_overloaded_9__complex complex@__lpython_overloaded_10__complex complex@__lpython_overloaded_12__complex] [] [(= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_5__complex 3 complex [((RealConstant 4.500000 (Real 8 []))) ((RealConstant 6.700000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 4.500000 6.700000 (Complex 8 [])) ()) ()) (= (Var 3 eps) (RealConstant 0.000000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexRe (Var 3 x) (Real 8 []) ()) Sub (RealConstant 4.500000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexIm (Var 3 x) (Real 8 []) ()) Sub (RealConstant 6.700000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_9__complex 3 complex [((IntegerUnaryMinus (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4 (Integer 4 [])))) ((IntegerConstant 2 (Integer 4 [])))] (Complex 8 []) (ComplexConstant -4.000000 2.000000 (Complex 8 [])) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexRe (Var 3 x) (Real 8 []) ()) Sub (RealUnaryMinus (RealConstant 4.000000 (Real 8 [])) (Real 8 []) (RealConstant -4.000000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexIm (Var 3 x) (Real 8 []) ()) Sub (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_13__complex 3 complex [((IntegerConstant 4 (Integer 4 []))) ((RealConstant 7.890000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 4.000000 7.890000 (Complex 8 [])) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexRe (Var 3 x) (Real 8 []) ()) Sub (RealConstant 4.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexIm (Var 3 x) (Real 8 []) ()) Sub (RealConstant 7.890000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_14__complex 3 complex [((RealConstant 5.600000 (Real 8 []))) ((IntegerConstant 0 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 5.600000 0.000000 (Complex 8 [])) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexRe (Var 3 x) (Real 8 []) ()) Sub (RealConstant 5.600000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexIm (Var 3 x) (Real 8 []) ()) Sub (RealConstant 0.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (= (Var 3 a) (RealConstant 534.600000 (Real 8 [])) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_5__complex 3 complex [((Var 3 a)) ((RealUnaryMinus (Var 3 a) (Real 8 []) ()))] (Complex 8 []) () ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexRe (Var 3 x) (Real 8 []) ()) Sub (RealConstant 534.600000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexIm (Var 3 x) (Real 8 []) ()) Sub (RealUnaryMinus (RealConstant 534.600000 (Real 8 [])) (Real 8 []) (RealConstant -534.600000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (= (Var 3 a2) (RealUnaryMinus (Cast (RealConstant 423.543081 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 423.543081 (Real 4 []))) (Real 4 []) (RealConstant -423.543081 (Real 4 []))) ()) (= (Var 3 a3) (Cast (RealConstant 34.500000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 34.500000 (Real 4 []))) ()) (= (Var 3 x2) (FunctionCall 3 complex@__lpython_overloaded_6__complex 3 complex [((Var 3 a2)) ((Var 3 a3))] (Complex 4 []) () ()) ()) (Assert (RealCompare (Cast (FunctionCall 3 abs@__lpython_overloaded_1__abs 3 abs [((RealBinOp (ComplexIm (Var 3 x2) (Real 4 []) ()) Sub (Cast (RealConstant 34.500000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 34.500000 (Real 4 []))) (Real 4 []) ()))] (Real 4 []) () ()) RealToReal (Real 8 []) ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (= (Var 3 i1) (IntegerUnaryMinus (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5 (Integer 4 []))) ()) (= (Var 3 i2) (IntegerUnaryMinus (Cast (IntegerConstant 6 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 6 (Integer 8 []))) (Integer 8 []) (IntegerConstant -6 (Integer 8 []))) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_7__complex 3 complex [((Var 3 a3)) ((Var 3 a))] (Complex 8 []) () ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_8__complex 3 complex [((Var 3 a)) ((Var 3 a3))] (Complex 8 []) () ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_11__complex 3 complex [((Var 3 i1)) ((Var 3 i2))] (Complex 8 []) () ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_9__complex 3 complex [((Var 3 i1)) ((IntegerUnaryMinus (Var 3 i1) (Integer 4 []) ()))] (Complex 8 []) () ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_10__complex 3 complex [((IntegerUnaryMinus (Var 3 i2) (Integer 8 []) ())) ((IntegerUnaryMinus (Var 3 i2) (Integer 8 []) ()))] (Complex 8 []) () ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_12__complex 3 complex [((Var 3 i2)) ((IntegerUnaryMinus (Var 3 i1) (Integer 4 []) ()))] (Complex 8 []) () ()) ())] () Public .false. .false.), test_complex_not: (Function (SymbolTable 5 {b: (Variable 5 b [] Local () () Default (Logical 4 []) Source Public Required .false.), c: (Variable 5 c [] Local () () Default (Complex 4 []) Source Public Required .false.), c2: (Variable 5 c2 [] Local () () Default (Complex 8 []) Source Public Required .false.), complex: (ExternalSymbol 5 complex 8 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_9__complex: (ExternalSymbol 5 complex@__lpython_overloaded_9__complex 8 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public)}) test_complex_not (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_9__complex complex@__lpython_overloaded_9__complex] [] [(= (Var 5 c) (Cast (FunctionCall 5 complex@__lpython_overloaded_9__complex 5 complex [((IntegerConstant 4 (Integer 4 []))) ((IntegerConstant 5 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 4.000000 5.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 4.000000 5.000000 (Complex 4 []))) ()) (= (Var 5 b) (LogicalNot (Cast (Var 5 c) ComplexToLogical (Logical 4 []) ()) (Logical 4 []) ()) ()) (Assert (LogicalNot (Var 5 b) (Logical 4 []) ()) ()) (= (Var 5 c2) (FunctionCall 5 complex@__lpython_overloaded_9__complex 5 complex [((IntegerConstant 0 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 0.000000 0.000000 (Complex 8 [])) ()) ()) (= (Var 5 b) (LogicalNot (Cast (Var 5 c2) ComplexToLogical (Logical 4 []) ()) (Logical 4 []) ()) ()) (Assert (Var 5 b) ())] () Public .false. .false.), test_complex_unary_minus: (Function (SymbolTable 4 {_c: (Variable 4 _c [] Local () () Default (Complex 4 []) Source Public Required .false.), abs: (ExternalSymbol 4 abs 8 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 4 abs@__lpython_overloaded_0__abs 8 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), c: (Variable 4 c [] Local () () Default (Complex 4 []) Source Public Required .false.), c2: (Variable 4 c2 [] Local () () Default (Complex 8 []) Source Public Required .false.), complex: (ExternalSymbol 4 complex 8 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_13__complex: (ExternalSymbol 4 complex@__lpython_overloaded_13__complex 8 __lpython_overloaded_13__complex lpython_builtin [] __lpython_overloaded_13__complex Public), complex@__lpython_overloaded_5__complex: (ExternalSymbol 4 complex@__lpython_overloaded_5__complex 8 __lpython_overloaded_5__complex lpython_builtin [] __lpython_overloaded_5__complex Public), complex@__lpython_overloaded_9__complex: (ExternalSymbol 4 complex@__lpython_overloaded_9__complex 8 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public)}) test_complex_unary_minus (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_13__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs complex@__lpython_overloaded_9__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs complex@__lpython_overloaded_5__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs] [] [(= (Var 4 c) (Cast (FunctionCall 4 complex@__lpython_overloaded_13__complex 4 complex [((IntegerConstant 3 (Integer 4 []))) ((RealConstant 4.500000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.500000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 3.000000 4.500000 (Complex 4 []))) ()) (= (Var 4 _c) (ComplexUnaryMinus (Var 4 c) (Complex 4 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (Cast (ComplexRe (Var 4 _c) (Real 4 []) ()) RealToReal (Real 8 []) ()) Sub (RealUnaryMinus (RealConstant 3.000000 (Real 8 [])) (Real 8 []) (RealConstant -3.000000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (Cast (ComplexIm (Var 4 _c) (Real 4 []) ()) RealToReal (Real 8 []) ()) Sub (RealUnaryMinus (RealConstant 4.500000 (Real 8 [])) (Real 8 []) (RealConstant -4.500000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 4 _c) (Cast (FunctionCall 4 complex@__lpython_overloaded_9__complex 4 complex [((IntegerConstant 5 (Integer 4 []))) ((IntegerUnaryMinus (IntegerConstant 78 (Integer 4 [])) (Integer 4 []) (IntegerConstant -78 (Integer 4 []))))] (Complex 8 []) (ComplexConstant 5.000000 -78.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 5.000000 -78.000000 (Complex 4 []))) ()) (= (Var 4 _c) (ComplexUnaryMinus (Var 4 _c) (Complex 4 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (Cast (ComplexRe (Var 4 _c) (Real 4 []) ()) RealToReal (Real 8 []) ()) Sub (RealUnaryMinus (RealConstant 5.000000 (Real 8 [])) (Real 8 []) (RealConstant -5.000000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (Cast (ComplexIm (Var 4 _c) (Real 4 []) ()) RealToReal (Real 8 []) ()) Sub (RealConstant 78.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 4 c2) (FunctionCall 4 complex@__lpython_overloaded_5__complex 4 complex [((RealUnaryMinus (RealConstant 4.500000 (Real 8 [])) (Real 8 []) (RealConstant -4.500000 (Real 8 [])))) ((RealUnaryMinus (RealConstant 7.800000 (Real 8 [])) (Real 8 []) (RealConstant -7.800000 (Real 8 []))))] (Complex 8 []) (ComplexConstant -4.500000 -7.800000 (Complex 8 [])) ()) ()) (= (Var 4 c2) (ComplexUnaryMinus (Var 4 c2) (Complex 8 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (ComplexRe (Var 4 c2) (Real 8 []) ()) Sub (RealConstant 4.500000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (ComplexIm (Var 4 c2) (Real 8 []) ()) Sub (RealConstant 7.800000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 4 c2) (ComplexBinOp (Cast (IntegerConstant 3 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 3.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 4.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 []))) ()) (= (Var 4 c2) (ComplexUnaryMinus (Var 4 c2) (Complex 8 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (ComplexRe (Var 4 c2) (Real 8 []) ()) Sub (RealUnaryMinus (RealConstant 3.000000 (Real 8 [])) (Real 8 []) (RealConstant -3.000000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (ComplexIm (Var 4 c2) (Real 8 []) ()) Sub (RealUnaryMinus (RealConstant 4.000000 (Real 8 [])) (Real 8 []) (RealConstant -4.000000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ())] () Public .false. .false.), test_real_imag: (Function (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Real 8 []) Source Public Required .false.), abs: (ExternalSymbol 2 abs 8 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 2 abs@__lpython_overloaded_0__abs 8 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), b: (Variable 2 b [] Local () () Default (Real 8 []) Source Public Required .false.), eps: (Variable 2 eps [] Local () () Default (Real 8 []) Source Public Required .false.), x: (Variable 2 x [] Local () () Default (Complex 8 []) Source Public Required .false.)}) test_real_imag (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs] [] [(= (Var 2 x) (ComplexBinOp (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 2.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 3.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 2.000000 3.000000 (Complex 8 []))) ()) (= (Var 2 eps) (RealConstant 0.000000 (Real 8 [])) ()) (= (Var 2 a) (ComplexRe (Var 2 x) (Real 8 []) ()) ()) (= (Var 2 b) (ComplexIm (Var 2 x) (Real 8 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (Var 2 a) Sub (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (Var 2 b) Sub (RealConstant 3.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 2 eps) (Logical 4 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 107 {_lpython_main_program: (ExternalSymbol 107 _lpython_main_program 109 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 107 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 111 {_lpython_main_program: (Function (SymbolTable 110 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [check] [] [(SubroutineCall 111 check () [] ())] () Public .false. .false.), check: (Function (SymbolTable 6 {}) check (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_real_imag test_complex test_complex_unary_minus test_complex_not] [] [(SubroutineCall 111 test_real_imag () [] ()) (SubroutineCall 111 test_complex () [] ()) (SubroutineCall 111 test_complex_unary_minus () [] ()) (SubroutineCall 111 test_complex_not () [] ())] () Public .false. .false.), test_complex: (Function (SymbolTable 3 {a: (Variable 3 a [] Local () () Default (Real 8 []) Source Public Required .false.), a2: (Variable 3 a2 [] Local () () Default (Real 4 []) Source Public Required .false.), a3: (Variable 3 a3 [] Local () () Default (Real 4 []) Source Public Required .false.), abs: (ExternalSymbol 3 abs 8 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 3 abs@__lpython_overloaded_0__abs 8 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), abs@__lpython_overloaded_1__abs: (ExternalSymbol 3 abs@__lpython_overloaded_1__abs 8 __lpython_overloaded_1__abs lpython_builtin [] __lpython_overloaded_1__abs Public), complex: (ExternalSymbol 3 complex 8 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_10__complex: (ExternalSymbol 3 complex@__lpython_overloaded_10__complex 8 __lpython_overloaded_10__complex lpython_builtin [] __lpython_overloaded_10__complex Public), complex@__lpython_overloaded_11__complex: (ExternalSymbol 3 complex@__lpython_overloaded_11__complex 8 __lpython_overloaded_11__complex lpython_builtin [] __lpython_overloaded_11__complex Public), complex@__lpython_overloaded_12__complex: (ExternalSymbol 3 complex@__lpython_overloaded_12__complex 8 __lpython_overloaded_12__complex lpython_builtin [] __lpython_overloaded_12__complex Public), complex@__lpython_overloaded_13__complex: (ExternalSymbol 3 complex@__lpython_overloaded_13__complex 8 __lpython_overloaded_13__complex lpython_builtin [] __lpython_overloaded_13__complex Public), complex@__lpython_overloaded_14__complex: (ExternalSymbol 3 complex@__lpython_overloaded_14__complex 8 __lpython_overloaded_14__complex lpython_builtin [] __lpython_overloaded_14__complex Public), complex@__lpython_overloaded_5__complex: (ExternalSymbol 3 complex@__lpython_overloaded_5__complex 8 __lpython_overloaded_5__complex lpython_builtin [] __lpython_overloaded_5__complex Public), complex@__lpython_overloaded_6__complex: (ExternalSymbol 3 complex@__lpython_overloaded_6__complex 8 __lpython_overloaded_6__complex lpython_builtin [] __lpython_overloaded_6__complex Public), complex@__lpython_overloaded_7__complex: (ExternalSymbol 3 complex@__lpython_overloaded_7__complex 8 __lpython_overloaded_7__complex lpython_builtin [] __lpython_overloaded_7__complex Public), complex@__lpython_overloaded_8__complex: (ExternalSymbol 3 complex@__lpython_overloaded_8__complex 8 __lpython_overloaded_8__complex lpython_builtin [] __lpython_overloaded_8__complex Public), complex@__lpython_overloaded_9__complex: (ExternalSymbol 3 complex@__lpython_overloaded_9__complex 8 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public), eps: (Variable 3 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i1: (Variable 3 i1 [] Local () () Default (Integer 4 []) Source Public Required .false.), i2: (Variable 3 i2 [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 3 x [] Local () () Default (Complex 8 []) Source Public Required .false.), x2: (Variable 3 x2 [] Local () () Default (Complex 4 []) Source Public Required .false.)}) test_complex (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_5__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs complex@__lpython_overloaded_9__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs complex@__lpython_overloaded_13__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs complex@__lpython_overloaded_14__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs complex@__lpython_overloaded_5__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs complex@__lpython_overloaded_6__complex abs@__lpython_overloaded_1__abs complex@__lpython_overloaded_7__complex complex@__lpython_overloaded_8__complex complex@__lpython_overloaded_11__complex complex@__lpython_overloaded_9__complex complex@__lpython_overloaded_10__complex complex@__lpython_overloaded_12__complex] [] [(= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_5__complex 3 complex [((RealConstant 4.500000 (Real 8 []))) ((RealConstant 6.700000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 4.500000 6.700000 (Complex 8 [])) ()) ()) (= (Var 3 eps) (RealConstant 0.000000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexRe (Var 3 x) (Real 8 []) ()) Sub (RealConstant 4.500000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexIm (Var 3 x) (Real 8 []) ()) Sub (RealConstant 6.700000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_9__complex 3 complex [((IntegerUnaryMinus (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4 (Integer 4 [])))) ((IntegerConstant 2 (Integer 4 [])))] (Complex 8 []) (ComplexConstant -4.000000 2.000000 (Complex 8 [])) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexRe (Var 3 x) (Real 8 []) ()) Sub (RealUnaryMinus (RealConstant 4.000000 (Real 8 [])) (Real 8 []) (RealConstant -4.000000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexIm (Var 3 x) (Real 8 []) ()) Sub (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_13__complex 3 complex [((IntegerConstant 4 (Integer 4 []))) ((RealConstant 7.890000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 4.000000 7.890000 (Complex 8 [])) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexRe (Var 3 x) (Real 8 []) ()) Sub (RealConstant 4.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexIm (Var 3 x) (Real 8 []) ()) Sub (RealConstant 7.890000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_14__complex 3 complex [((RealConstant 5.600000 (Real 8 []))) ((IntegerConstant 0 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 5.600000 0.000000 (Complex 8 [])) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexRe (Var 3 x) (Real 8 []) ()) Sub (RealConstant 5.600000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexIm (Var 3 x) (Real 8 []) ()) Sub (RealConstant 0.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (= (Var 3 a) (RealConstant 534.600000 (Real 8 [])) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_5__complex 3 complex [((Var 3 a)) ((RealUnaryMinus (Var 3 a) (Real 8 []) ()))] (Complex 8 []) () ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexRe (Var 3 x) (Real 8 []) ()) Sub (RealConstant 534.600000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexIm (Var 3 x) (Real 8 []) ()) Sub (RealUnaryMinus (RealConstant 534.600000 (Real 8 [])) (Real 8 []) (RealConstant -534.600000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (= (Var 3 a2) (RealUnaryMinus (Cast (RealConstant 423.543081 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 423.543081 (Real 4 []))) (Real 4 []) (RealConstant -423.543081 (Real 4 []))) ()) (= (Var 3 a3) (Cast (RealConstant 34.500000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 34.500000 (Real 4 []))) ()) (= (Var 3 x2) (FunctionCall 3 complex@__lpython_overloaded_6__complex 3 complex [((Var 3 a2)) ((Var 3 a3))] (Complex 4 []) () ()) ()) (Assert (RealCompare (Cast (FunctionCall 3 abs@__lpython_overloaded_1__abs 3 abs [((RealBinOp (ComplexIm (Var 3 x2) (Real 4 []) ()) Sub (Cast (RealConstant 34.500000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 34.500000 (Real 4 []))) (Real 4 []) ()))] (Real 4 []) () ()) RealToReal (Real 8 []) ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (= (Var 3 i1) (IntegerUnaryMinus (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5 (Integer 4 []))) ()) (= (Var 3 i2) (IntegerUnaryMinus (Cast (IntegerConstant 6 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 6 (Integer 8 []))) (Integer 8 []) (IntegerConstant -6 (Integer 8 []))) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_7__complex 3 complex [((Var 3 a3)) ((Var 3 a))] (Complex 8 []) () ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_8__complex 3 complex [((Var 3 a)) ((Var 3 a3))] (Complex 8 []) () ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_11__complex 3 complex [((Var 3 i1)) ((Var 3 i2))] (Complex 8 []) () ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_9__complex 3 complex [((Var 3 i1)) ((IntegerUnaryMinus (Var 3 i1) (Integer 4 []) ()))] (Complex 8 []) () ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_10__complex 3 complex [((IntegerUnaryMinus (Var 3 i2) (Integer 8 []) ())) ((IntegerUnaryMinus (Var 3 i2) (Integer 8 []) ()))] (Complex 8 []) () ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_12__complex 3 complex [((Var 3 i2)) ((IntegerUnaryMinus (Var 3 i1) (Integer 4 []) ()))] (Complex 8 []) () ()) ())] () Public .false. .false.), test_complex_not: (Function (SymbolTable 5 {b: (Variable 5 b [] Local () () Default (Logical 4 []) Source Public Required .false.), c: (Variable 5 c [] Local () () Default (Complex 4 []) Source Public Required .false.), c2: (Variable 5 c2 [] Local () () Default (Complex 8 []) Source Public Required .false.), complex: (ExternalSymbol 5 complex 8 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_9__complex: (ExternalSymbol 5 complex@__lpython_overloaded_9__complex 8 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public)}) test_complex_not (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_9__complex complex@__lpython_overloaded_9__complex] [] [(= (Var 5 c) (Cast (FunctionCall 5 complex@__lpython_overloaded_9__complex 5 complex [((IntegerConstant 4 (Integer 4 []))) ((IntegerConstant 5 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 4.000000 5.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 4.000000 5.000000 (Complex 4 []))) ()) (= (Var 5 b) (LogicalNot (Cast (Var 5 c) ComplexToLogical (Logical 4 []) ()) (Logical 4 []) ()) ()) (Assert (LogicalNot (Var 5 b) (Logical 4 []) ()) ()) (= (Var 5 c2) (FunctionCall 5 complex@__lpython_overloaded_9__complex 5 complex [((IntegerConstant 0 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 0.000000 0.000000 (Complex 8 [])) ()) ()) (= (Var 5 b) (LogicalNot (Cast (Var 5 c2) ComplexToLogical (Logical 4 []) ()) (Logical 4 []) ()) ()) (Assert (Var 5 b) ())] () Public .false. .false.), test_complex_unary_minus: (Function (SymbolTable 4 {_c: (Variable 4 _c [] Local () () Default (Complex 4 []) Source Public Required .false.), abs: (ExternalSymbol 4 abs 8 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 4 abs@__lpython_overloaded_0__abs 8 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), c: (Variable 4 c [] Local () () Default (Complex 4 []) Source Public Required .false.), c2: (Variable 4 c2 [] Local () () Default (Complex 8 []) Source Public Required .false.), complex: (ExternalSymbol 4 complex 8 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_13__complex: (ExternalSymbol 4 complex@__lpython_overloaded_13__complex 8 __lpython_overloaded_13__complex lpython_builtin [] __lpython_overloaded_13__complex Public), complex@__lpython_overloaded_5__complex: (ExternalSymbol 4 complex@__lpython_overloaded_5__complex 8 __lpython_overloaded_5__complex lpython_builtin [] __lpython_overloaded_5__complex Public), complex@__lpython_overloaded_9__complex: (ExternalSymbol 4 complex@__lpython_overloaded_9__complex 8 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public)}) test_complex_unary_minus (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_13__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs complex@__lpython_overloaded_9__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs complex@__lpython_overloaded_5__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs] [] [(= (Var 4 c) (Cast (FunctionCall 4 complex@__lpython_overloaded_13__complex 4 complex [((IntegerConstant 3 (Integer 4 []))) ((RealConstant 4.500000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.500000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 3.000000 4.500000 (Complex 4 []))) ()) (= (Var 4 _c) (ComplexUnaryMinus (Var 4 c) (Complex 4 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (Cast (ComplexRe (Var 4 _c) (Real 4 []) ()) RealToReal (Real 8 []) ()) Sub (RealUnaryMinus (RealConstant 3.000000 (Real 8 [])) (Real 8 []) (RealConstant -3.000000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (Cast (ComplexIm (Var 4 _c) (Real 4 []) ()) RealToReal (Real 8 []) ()) Sub (RealUnaryMinus (RealConstant 4.500000 (Real 8 [])) (Real 8 []) (RealConstant -4.500000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 4 _c) (Cast (FunctionCall 4 complex@__lpython_overloaded_9__complex 4 complex [((IntegerConstant 5 (Integer 4 []))) ((IntegerUnaryMinus (IntegerConstant 78 (Integer 4 [])) (Integer 4 []) (IntegerConstant -78 (Integer 4 []))))] (Complex 8 []) (ComplexConstant 5.000000 -78.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 5.000000 -78.000000 (Complex 4 []))) ()) (= (Var 4 _c) (ComplexUnaryMinus (Var 4 _c) (Complex 4 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (Cast (ComplexRe (Var 4 _c) (Real 4 []) ()) RealToReal (Real 8 []) ()) Sub (RealUnaryMinus (RealConstant 5.000000 (Real 8 [])) (Real 8 []) (RealConstant -5.000000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (Cast (ComplexIm (Var 4 _c) (Real 4 []) ()) RealToReal (Real 8 []) ()) Sub (RealConstant 78.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 4 c2) (FunctionCall 4 complex@__lpython_overloaded_5__complex 4 complex [((RealUnaryMinus (RealConstant 4.500000 (Real 8 [])) (Real 8 []) (RealConstant -4.500000 (Real 8 [])))) ((RealUnaryMinus (RealConstant 7.800000 (Real 8 [])) (Real 8 []) (RealConstant -7.800000 (Real 8 []))))] (Complex 8 []) (ComplexConstant -4.500000 -7.800000 (Complex 8 [])) ()) ()) (= (Var 4 c2) (ComplexUnaryMinus (Var 4 c2) (Complex 8 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (ComplexRe (Var 4 c2) (Real 8 []) ()) Sub (RealConstant 4.500000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (ComplexIm (Var 4 c2) (Real 8 []) ()) Sub (RealConstant 7.800000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 4 c2) (ComplexBinOp (Cast (IntegerConstant 3 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 3.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 4.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 []))) ()) (= (Var 4 c2) (ComplexUnaryMinus (Var 4 c2) (Complex 8 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (ComplexRe (Var 4 c2) (Real 8 []) ()) Sub (RealUnaryMinus (RealConstant 3.000000 (Real 8 [])) (Real 8 []) (RealConstant -3.000000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (ComplexIm (Var 4 c2) (Real 8 []) ()) Sub (RealUnaryMinus (RealConstant 4.000000 (Real 8 [])) (Real 8 []) (RealConstant -4.000000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ())] () Public .false. .false.), test_real_imag: (Function (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Real 8 []) Source Public Required .false.), abs: (ExternalSymbol 2 abs 8 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 2 abs@__lpython_overloaded_0__abs 8 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), b: (Variable 2 b [] Local () () Default (Real 8 []) Source Public Required .false.), eps: (Variable 2 eps [] Local () () Default (Real 8 []) Source Public Required .false.), x: (Variable 2 x [] Local () () Default (Complex 8 []) Source Public Required .false.)}) test_real_imag (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs] [] [(= (Var 2 x) (ComplexBinOp (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 2.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 3.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 2.000000 3.000000 (Complex 8 []))) ()) (= (Var 2 eps) (RealConstant 0.000000 (Real 8 [])) ()) (= (Var 2 a) (ComplexRe (Var 2 x) (Real 8 []) ()) ()) (= (Var 2 b) (ComplexIm (Var 2 x) (Real 8 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (Var 2 a) Sub (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (Var 2 b) Sub (RealConstant 3.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 2 eps) (Logical 4 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 109 {_lpython_main_program: (ExternalSymbol 109 _lpython_main_program 111 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 109 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-test_complex_02-782ba2d.json b/tests/reference/asr-test_complex_02-782ba2d.json index bd1302f574..dd598d3259 100644 --- a/tests/reference/asr-test_complex_02-782ba2d.json +++ b/tests/reference/asr-test_complex_02-782ba2d.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_complex_02-782ba2d.stdout", - "stdout_hash": "a207fa61395ca95b0d2b17a54b81c7b210d4bb935b2ad0c6dec46429", + "stdout_hash": "1e55552d8a61a3e985a7e8db2d83e2d6f12fd953c517065fea7498cb", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_complex_02-782ba2d.stdout b/tests/reference/asr-test_complex_02-782ba2d.stdout index 2e3397e09c..74332c93e6 100644 --- a/tests/reference/asr-test_complex_02-782ba2d.stdout +++ b/tests/reference/asr-test_complex_02-782ba2d.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 108 {_lpython_main_program: (Function (SymbolTable 107 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [check] [] [(SubroutineCall 108 check () [] ())] () Public .false. .false.), check: (Function (SymbolTable 5 {}) check (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_complex_abs test_complex_binop_32 test_complex_binop_64] [] [(SubroutineCall 108 test_complex_abs () [] ()) (SubroutineCall 108 test_complex_binop_32 () [] ()) (SubroutineCall 108 test_complex_binop_64 () [] ())] () Public .false. .false.), test_complex_abs: (Function (SymbolTable 2 {abs: (ExternalSymbol 2 abs 7 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 2 abs@__lpython_overloaded_0__abs 7 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), abs@__lpython_overloaded_7__abs: (ExternalSymbol 2 abs@__lpython_overloaded_7__abs 7 __lpython_overloaded_7__abs lpython_builtin [] __lpython_overloaded_7__abs Public), abs@__lpython_overloaded_8__abs: (ExternalSymbol 2 abs@__lpython_overloaded_8__abs 7 __lpython_overloaded_8__abs lpython_builtin [] __lpython_overloaded_8__abs Public), complex: (ExternalSymbol 2 complex 7 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_9__complex: (ExternalSymbol 2 complex@__lpython_overloaded_9__complex 7 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public), eps: (Variable 2 eps [] Local () () Default (Real 8 []) Source Public Required .false.), x: (Variable 2 x [] Local () () Default (Complex 4 []) Source Public Required .false.), y: (Variable 2 y [] Local () () Default (Complex 8 []) Source Public Required .false.)}) test_complex_abs (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_9__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_7__abs complex@__lpython_overloaded_9__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_8__abs] [] [(= (Var 2 x) (Cast (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 4 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 3.000000 4.000000 (Complex 4 []))) ()) (= (Var 2 eps) (RealConstant 0.000000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (Cast (FunctionCall 2 abs@__lpython_overloaded_7__abs 2 abs [((Var 2 x))] (Real 4 []) () ()) RealToReal (Real 8 []) ()) Sub (RealConstant 5.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (= (Var 2 y) (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 6 (Integer 4 []))) ((IntegerConstant 8 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 6.000000 8.000000 (Complex 8 [])) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 abs@__lpython_overloaded_8__abs 2 abs [((Var 2 y))] (Real 8 []) () ()) Sub (RealConstant 10.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 2 eps) (Logical 4 []) ()) ())] () Public .false. .false.), test_complex_binop_32: (Function (SymbolTable 3 {x: (Variable 3 x [] Local () () Default (Complex 4 []) Source Public Required .false.), y: (Variable 3 y [] Local () () Default (Complex 4 []) Source Public Required .false.), z: (Variable 3 z [] Local () () Default (Complex 4 []) Source Public Required .false.)}) test_complex_binop_32 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 3 x) (Cast (ComplexBinOp (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 2.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 3.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 2.000000 3.000000 (Complex 8 []))) ComplexToComplex (Complex 4 []) (ComplexConstant 2.000000 3.000000 (Complex 4 []))) ()) (= (Var 3 y) (Cast (ComplexBinOp (Cast (IntegerConstant 4 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 4.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 5.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 4.000000 5.000000 (Complex 8 []))) ComplexToComplex (Complex 4 []) (ComplexConstant 4.000000 5.000000 (Complex 4 []))) ()) (= (Var 3 z) (ComplexBinOp (Var 3 x) Add (Var 3 y) (Complex 4 []) ()) ()) (= (Var 3 z) (ComplexBinOp (Var 3 x) Sub (Var 3 y) (Complex 4 []) ()) ()) (= (Var 3 z) (ComplexBinOp (Var 3 x) Mul (Var 3 y) (Complex 4 []) ()) ()) (= (Var 3 z) (ComplexBinOp (Var 3 x) Pow (Var 3 y) (Complex 4 []) ()) ())] () Public .false. .false.), test_complex_binop_64: (Function (SymbolTable 4 {x: (Variable 4 x [] Local () () Default (Complex 8 []) Source Public Required .false.), y: (Variable 4 y [] Local () () Default (Complex 8 []) Source Public Required .false.), z: (Variable 4 z [] Local () () Default (Complex 8 []) Source Public Required .false.)}) test_complex_binop_64 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 4 x) (ComplexBinOp (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 2.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 3.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 2.000000 3.000000 (Complex 8 []))) ()) (= (Var 4 y) (ComplexBinOp (Cast (IntegerConstant 4 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 4.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 5.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 4.000000 5.000000 (Complex 8 []))) ()) (= (Var 4 z) (ComplexBinOp (Var 4 x) Add (Var 4 y) (Complex 8 []) ()) ()) (= (Var 4 z) (ComplexBinOp (Var 4 x) Sub (Var 4 y) (Complex 8 []) ()) ()) (= (Var 4 z) (ComplexBinOp (Var 4 x) Mul (Var 4 y) (Complex 8 []) ()) ()) (= (Var 4 z) (ComplexBinOp (Var 4 x) Pow (Var 4 y) (Complex 8 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 106 {_lpython_main_program: (ExternalSymbol 106 _lpython_main_program 108 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 106 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 110 {_lpython_main_program: (Function (SymbolTable 109 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [check] [] [(SubroutineCall 110 check () [] ())] () Public .false. .false.), check: (Function (SymbolTable 5 {}) check (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_complex_abs test_complex_binop_32 test_complex_binop_64] [] [(SubroutineCall 110 test_complex_abs () [] ()) (SubroutineCall 110 test_complex_binop_32 () [] ()) (SubroutineCall 110 test_complex_binop_64 () [] ())] () Public .false. .false.), test_complex_abs: (Function (SymbolTable 2 {abs: (ExternalSymbol 2 abs 7 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 2 abs@__lpython_overloaded_0__abs 7 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), abs@__lpython_overloaded_7__abs: (ExternalSymbol 2 abs@__lpython_overloaded_7__abs 7 __lpython_overloaded_7__abs lpython_builtin [] __lpython_overloaded_7__abs Public), abs@__lpython_overloaded_8__abs: (ExternalSymbol 2 abs@__lpython_overloaded_8__abs 7 __lpython_overloaded_8__abs lpython_builtin [] __lpython_overloaded_8__abs Public), complex: (ExternalSymbol 2 complex 7 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_9__complex: (ExternalSymbol 2 complex@__lpython_overloaded_9__complex 7 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public), eps: (Variable 2 eps [] Local () () Default (Real 8 []) Source Public Required .false.), x: (Variable 2 x [] Local () () Default (Complex 4 []) Source Public Required .false.), y: (Variable 2 y [] Local () () Default (Complex 8 []) Source Public Required .false.)}) test_complex_abs (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_9__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_7__abs complex@__lpython_overloaded_9__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_8__abs] [] [(= (Var 2 x) (Cast (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 4 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 3.000000 4.000000 (Complex 4 []))) ()) (= (Var 2 eps) (RealConstant 0.000000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (Cast (FunctionCall 2 abs@__lpython_overloaded_7__abs 2 abs [((Var 2 x))] (Real 4 []) () ()) RealToReal (Real 8 []) ()) Sub (RealConstant 5.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (= (Var 2 y) (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 6 (Integer 4 []))) ((IntegerConstant 8 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 6.000000 8.000000 (Complex 8 [])) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 abs@__lpython_overloaded_8__abs 2 abs [((Var 2 y))] (Real 8 []) () ()) Sub (RealConstant 10.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 2 eps) (Logical 4 []) ()) ())] () Public .false. .false.), test_complex_binop_32: (Function (SymbolTable 3 {x: (Variable 3 x [] Local () () Default (Complex 4 []) Source Public Required .false.), y: (Variable 3 y [] Local () () Default (Complex 4 []) Source Public Required .false.), z: (Variable 3 z [] Local () () Default (Complex 4 []) Source Public Required .false.)}) test_complex_binop_32 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 3 x) (Cast (ComplexBinOp (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 2.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 3.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 2.000000 3.000000 (Complex 8 []))) ComplexToComplex (Complex 4 []) (ComplexConstant 2.000000 3.000000 (Complex 4 []))) ()) (= (Var 3 y) (Cast (ComplexBinOp (Cast (IntegerConstant 4 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 4.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 5.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 4.000000 5.000000 (Complex 8 []))) ComplexToComplex (Complex 4 []) (ComplexConstant 4.000000 5.000000 (Complex 4 []))) ()) (= (Var 3 z) (ComplexBinOp (Var 3 x) Add (Var 3 y) (Complex 4 []) ()) ()) (= (Var 3 z) (ComplexBinOp (Var 3 x) Sub (Var 3 y) (Complex 4 []) ()) ()) (= (Var 3 z) (ComplexBinOp (Var 3 x) Mul (Var 3 y) (Complex 4 []) ()) ()) (= (Var 3 z) (ComplexBinOp (Var 3 x) Pow (Var 3 y) (Complex 4 []) ()) ())] () Public .false. .false.), test_complex_binop_64: (Function (SymbolTable 4 {x: (Variable 4 x [] Local () () Default (Complex 8 []) Source Public Required .false.), y: (Variable 4 y [] Local () () Default (Complex 8 []) Source Public Required .false.), z: (Variable 4 z [] Local () () Default (Complex 8 []) Source Public Required .false.)}) test_complex_binop_64 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 4 x) (ComplexBinOp (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 2.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 3.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 2.000000 3.000000 (Complex 8 []))) ()) (= (Var 4 y) (ComplexBinOp (Cast (IntegerConstant 4 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 4.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 5.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 4.000000 5.000000 (Complex 8 []))) ()) (= (Var 4 z) (ComplexBinOp (Var 4 x) Add (Var 4 y) (Complex 8 []) ()) ()) (= (Var 4 z) (ComplexBinOp (Var 4 x) Sub (Var 4 y) (Complex 8 []) ()) ()) (= (Var 4 z) (ComplexBinOp (Var 4 x) Mul (Var 4 y) (Complex 8 []) ()) ()) (= (Var 4 z) (ComplexBinOp (Var 4 x) Pow (Var 4 y) (Complex 8 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 108 {_lpython_main_program: (ExternalSymbol 108 _lpython_main_program 110 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 108 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-test_max_min-3c2fc51.json b/tests/reference/asr-test_max_min-3c2fc51.json index ee99ae1b22..b5d0ecfa7f 100644 --- a/tests/reference/asr-test_max_min-3c2fc51.json +++ b/tests/reference/asr-test_max_min-3c2fc51.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_max_min-3c2fc51.stdout", - "stdout_hash": "961680b1fcce2886536aee204012fd15ee9483b7acf888b935aa7ca2", + "stdout_hash": "4c725e0398b9826d497aaa615951ed57b8b987f4bd77d3c15f6ab9b6", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_max_min-3c2fc51.stdout b/tests/reference/asr-test_max_min-3c2fc51.stdout index dd8a51ae9d..0c70a3f739 100644 --- a/tests/reference/asr-test_max_min-3c2fc51.stdout +++ b/tests/reference/asr-test_max_min-3c2fc51.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 109 {_lpython_main_program: (Function (SymbolTable 108 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [check] [] [(SubroutineCall 109 check () [] ())] () Public .false. .false.), check: (Function (SymbolTable 6 {}) check (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_max_int test_max_float test_min_int test_min_float] [] [(SubroutineCall 109 test_max_int () [] ()) (SubroutineCall 109 test_max_float () [] ()) (SubroutineCall 109 test_min_int () [] ()) (SubroutineCall 109 test_min_float () [] ())] () Public .false. .false.), test_max_float: (Function (SymbolTable 3 {d: (Variable 3 d [] Local (RealConstant 23.233000 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), e: (Variable 3 e [] Local (RealConstant 23.223300 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), f: (Variable 3 f [] Local (RealConstant 21.230000 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), max: (ExternalSymbol 3 max 8 max lpython_builtin [] max Private), max@__lpython_overloaded_2__max: (ExternalSymbol 3 max@__lpython_overloaded_2__max 8 __lpython_overloaded_2__max lpython_builtin [] __lpython_overloaded_2__max Public), max@__lpython_overloaded_3__max: (ExternalSymbol 3 max@__lpython_overloaded_3__max 8 __lpython_overloaded_3__max lpython_builtin [] __lpython_overloaded_3__max Public)}) test_max_float (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [max@__lpython_overloaded_2__max max@__lpython_overloaded_3__max] [] [(= (Var 3 d) (RealConstant 23.233000 (Real 8 [])) ()) (= (Var 3 e) (RealConstant 23.223300 (Real 8 [])) ()) (= (Var 3 f) (RealConstant 21.230000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 3 max@__lpython_overloaded_2__max 3 max [((Var 3 d)) ((Var 3 e)) ((Var 3 f))] (Real 8 []) () ()) Eq (Var 3 d) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 max@__lpython_overloaded_3__max 3 max [((Var 3 e)) ((Var 3 f))] (Real 8 []) () ()) Eq (Var 3 e) (Logical 4 []) ()) ())] () Public .false. .false.), test_max_int: (Function (SymbolTable 2 {a: (Variable 2 a [] Local (IntegerConstant 1 (Integer 4 [])) () Default (Integer 4 []) Source Public Required .false.), b: (Variable 2 b [] Local (IntegerConstant 2 (Integer 4 [])) () Default (Integer 4 []) Source Public Required .false.), c: (Variable 2 c [] Local (IntegerConstant 3 (Integer 4 [])) () Default (Integer 4 []) Source Public Required .false.), max: (ExternalSymbol 2 max 8 max lpython_builtin [] max Private), max@__lpython_overloaded_0__max: (ExternalSymbol 2 max@__lpython_overloaded_0__max 8 __lpython_overloaded_0__max lpython_builtin [] __lpython_overloaded_0__max Public), max@__lpython_overloaded_1__max: (ExternalSymbol 2 max@__lpython_overloaded_1__max 8 __lpython_overloaded_1__max lpython_builtin [] __lpython_overloaded_1__max Public)}) test_max_int (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [max@__lpython_overloaded_0__max max@__lpython_overloaded_1__max max@__lpython_overloaded_1__max max@__lpython_overloaded_0__max] [] [(= (Var 2 a) (IntegerConstant 1 (Integer 4 [])) ()) (= (Var 2 b) (IntegerConstant 2 (Integer 4 [])) ()) (= (Var 2 c) (IntegerConstant 3 (Integer 4 [])) ()) (Assert (IntegerCompare (FunctionCall 2 max@__lpython_overloaded_0__max 2 max [((Var 2 a)) ((Var 2 b))] (Integer 4 []) () ()) Eq (Var 2 b) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 max@__lpython_overloaded_1__max 2 max [((Var 2 a)) ((Var 2 b)) ((Var 2 c))] (Integer 4 []) () ()) Eq (Var 2 c) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 max@__lpython_overloaded_1__max 2 max [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 [])))] (Integer 4 []) (IntegerConstant 3 (Integer 4 [])) ()) Eq (IntegerConstant 3 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 max@__lpython_overloaded_0__max 2 max [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 6 (Integer 4 [])))] (Integer 4 []) (IntegerConstant 6 (Integer 4 [])) ()) Eq (IntegerConstant 6 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ())] () Public .false. .false.), test_min_float: (Function (SymbolTable 5 {d: (Variable 5 d [] Local (RealConstant 23.233000 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), e: (Variable 5 e [] Local (RealConstant 23.223300 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), f: (Variable 5 f [] Local (RealConstant 21.230000 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), min: (ExternalSymbol 5 min 8 min lpython_builtin [] min Private), min@__lpython_overloaded_2__min: (ExternalSymbol 5 min@__lpython_overloaded_2__min 8 __lpython_overloaded_2__min lpython_builtin [] __lpython_overloaded_2__min Public), min@__lpython_overloaded_3__min: (ExternalSymbol 5 min@__lpython_overloaded_3__min 8 __lpython_overloaded_3__min lpython_builtin [] __lpython_overloaded_3__min Public)}) test_min_float (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [min@__lpython_overloaded_2__min min@__lpython_overloaded_3__min] [] [(= (Var 5 d) (RealConstant 23.233000 (Real 8 [])) ()) (= (Var 5 e) (RealConstant 23.223300 (Real 8 [])) ()) (= (Var 5 f) (RealConstant 21.230000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 5 min@__lpython_overloaded_2__min 5 min [((Var 5 d)) ((Var 5 e)) ((Var 5 f))] (Real 8 []) () ()) Eq (Var 5 f) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 5 min@__lpython_overloaded_3__min 5 min [((Var 5 e)) ((Var 5 f))] (Real 8 []) () ()) Eq (Var 5 f) (Logical 4 []) ()) ())] () Public .false. .false.), test_min_int: (Function (SymbolTable 4 {a: (Variable 4 a [] Local (IntegerConstant 1 (Integer 4 [])) () Default (Integer 4 []) Source Public Required .false.), b: (Variable 4 b [] Local (IntegerConstant 2 (Integer 4 [])) () Default (Integer 4 []) Source Public Required .false.), c: (Variable 4 c [] Local (IntegerConstant 3 (Integer 4 [])) () Default (Integer 4 []) Source Public Required .false.), min: (ExternalSymbol 4 min 8 min lpython_builtin [] min Private), min@__lpython_overloaded_0__min: (ExternalSymbol 4 min@__lpython_overloaded_0__min 8 __lpython_overloaded_0__min lpython_builtin [] __lpython_overloaded_0__min Public), min@__lpython_overloaded_1__min: (ExternalSymbol 4 min@__lpython_overloaded_1__min 8 __lpython_overloaded_1__min lpython_builtin [] __lpython_overloaded_1__min Public)}) test_min_int (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [min@__lpython_overloaded_0__min min@__lpython_overloaded_1__min min@__lpython_overloaded_1__min min@__lpython_overloaded_0__min] [] [(= (Var 4 a) (IntegerConstant 1 (Integer 4 [])) ()) (= (Var 4 b) (IntegerConstant 2 (Integer 4 [])) ()) (= (Var 4 c) (IntegerConstant 3 (Integer 4 [])) ()) (Assert (IntegerCompare (FunctionCall 4 min@__lpython_overloaded_0__min 4 min [((Var 4 a)) ((Var 4 b))] (Integer 4 []) () ()) Eq (Var 4 a) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 4 min@__lpython_overloaded_1__min 4 min [((Var 4 a)) ((Var 4 b)) ((Var 4 c))] (Integer 4 []) () ()) Eq (Var 4 a) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 4 min@__lpython_overloaded_1__min 4 min [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 [])))] (Integer 4 []) (IntegerConstant 1 (Integer 4 [])) ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 4 min@__lpython_overloaded_0__min 4 min [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 6 (Integer 4 [])))] (Integer 4 []) (IntegerConstant 1 (Integer 4 [])) ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 107 {_lpython_main_program: (ExternalSymbol 107 _lpython_main_program 109 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 107 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 111 {_lpython_main_program: (Function (SymbolTable 110 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [check] [] [(SubroutineCall 111 check () [] ())] () Public .false. .false.), check: (Function (SymbolTable 6 {}) check (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_max_int test_max_float test_min_int test_min_float] [] [(SubroutineCall 111 test_max_int () [] ()) (SubroutineCall 111 test_max_float () [] ()) (SubroutineCall 111 test_min_int () [] ()) (SubroutineCall 111 test_min_float () [] ())] () Public .false. .false.), test_max_float: (Function (SymbolTable 3 {d: (Variable 3 d [] Local (RealConstant 23.233000 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), e: (Variable 3 e [] Local (RealConstant 23.223300 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), f: (Variable 3 f [] Local (RealConstant 21.230000 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), max: (ExternalSymbol 3 max 8 max lpython_builtin [] max Private), max@__lpython_overloaded_2__max: (ExternalSymbol 3 max@__lpython_overloaded_2__max 8 __lpython_overloaded_2__max lpython_builtin [] __lpython_overloaded_2__max Public), max@__lpython_overloaded_3__max: (ExternalSymbol 3 max@__lpython_overloaded_3__max 8 __lpython_overloaded_3__max lpython_builtin [] __lpython_overloaded_3__max Public)}) test_max_float (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [max@__lpython_overloaded_2__max max@__lpython_overloaded_3__max] [] [(= (Var 3 d) (RealConstant 23.233000 (Real 8 [])) ()) (= (Var 3 e) (RealConstant 23.223300 (Real 8 [])) ()) (= (Var 3 f) (RealConstant 21.230000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 3 max@__lpython_overloaded_2__max 3 max [((Var 3 d)) ((Var 3 e)) ((Var 3 f))] (Real 8 []) () ()) Eq (Var 3 d) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 max@__lpython_overloaded_3__max 3 max [((Var 3 e)) ((Var 3 f))] (Real 8 []) () ()) Eq (Var 3 e) (Logical 4 []) ()) ())] () Public .false. .false.), test_max_int: (Function (SymbolTable 2 {a: (Variable 2 a [] Local (IntegerConstant 1 (Integer 4 [])) () Default (Integer 4 []) Source Public Required .false.), b: (Variable 2 b [] Local (IntegerConstant 2 (Integer 4 [])) () Default (Integer 4 []) Source Public Required .false.), c: (Variable 2 c [] Local (IntegerConstant 3 (Integer 4 [])) () Default (Integer 4 []) Source Public Required .false.), max: (ExternalSymbol 2 max 8 max lpython_builtin [] max Private), max@__lpython_overloaded_0__max: (ExternalSymbol 2 max@__lpython_overloaded_0__max 8 __lpython_overloaded_0__max lpython_builtin [] __lpython_overloaded_0__max Public), max@__lpython_overloaded_1__max: (ExternalSymbol 2 max@__lpython_overloaded_1__max 8 __lpython_overloaded_1__max lpython_builtin [] __lpython_overloaded_1__max Public)}) test_max_int (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [max@__lpython_overloaded_0__max max@__lpython_overloaded_1__max max@__lpython_overloaded_1__max max@__lpython_overloaded_0__max] [] [(= (Var 2 a) (IntegerConstant 1 (Integer 4 [])) ()) (= (Var 2 b) (IntegerConstant 2 (Integer 4 [])) ()) (= (Var 2 c) (IntegerConstant 3 (Integer 4 [])) ()) (Assert (IntegerCompare (FunctionCall 2 max@__lpython_overloaded_0__max 2 max [((Var 2 a)) ((Var 2 b))] (Integer 4 []) () ()) Eq (Var 2 b) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 max@__lpython_overloaded_1__max 2 max [((Var 2 a)) ((Var 2 b)) ((Var 2 c))] (Integer 4 []) () ()) Eq (Var 2 c) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 max@__lpython_overloaded_1__max 2 max [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 [])))] (Integer 4 []) (IntegerConstant 3 (Integer 4 [])) ()) Eq (IntegerConstant 3 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 max@__lpython_overloaded_0__max 2 max [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 6 (Integer 4 [])))] (Integer 4 []) (IntegerConstant 6 (Integer 4 [])) ()) Eq (IntegerConstant 6 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ())] () Public .false. .false.), test_min_float: (Function (SymbolTable 5 {d: (Variable 5 d [] Local (RealConstant 23.233000 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), e: (Variable 5 e [] Local (RealConstant 23.223300 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), f: (Variable 5 f [] Local (RealConstant 21.230000 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), min: (ExternalSymbol 5 min 8 min lpython_builtin [] min Private), min@__lpython_overloaded_2__min: (ExternalSymbol 5 min@__lpython_overloaded_2__min 8 __lpython_overloaded_2__min lpython_builtin [] __lpython_overloaded_2__min Public), min@__lpython_overloaded_3__min: (ExternalSymbol 5 min@__lpython_overloaded_3__min 8 __lpython_overloaded_3__min lpython_builtin [] __lpython_overloaded_3__min Public)}) test_min_float (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [min@__lpython_overloaded_2__min min@__lpython_overloaded_3__min] [] [(= (Var 5 d) (RealConstant 23.233000 (Real 8 [])) ()) (= (Var 5 e) (RealConstant 23.223300 (Real 8 [])) ()) (= (Var 5 f) (RealConstant 21.230000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 5 min@__lpython_overloaded_2__min 5 min [((Var 5 d)) ((Var 5 e)) ((Var 5 f))] (Real 8 []) () ()) Eq (Var 5 f) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 5 min@__lpython_overloaded_3__min 5 min [((Var 5 e)) ((Var 5 f))] (Real 8 []) () ()) Eq (Var 5 f) (Logical 4 []) ()) ())] () Public .false. .false.), test_min_int: (Function (SymbolTable 4 {a: (Variable 4 a [] Local (IntegerConstant 1 (Integer 4 [])) () Default (Integer 4 []) Source Public Required .false.), b: (Variable 4 b [] Local (IntegerConstant 2 (Integer 4 [])) () Default (Integer 4 []) Source Public Required .false.), c: (Variable 4 c [] Local (IntegerConstant 3 (Integer 4 [])) () Default (Integer 4 []) Source Public Required .false.), min: (ExternalSymbol 4 min 8 min lpython_builtin [] min Private), min@__lpython_overloaded_0__min: (ExternalSymbol 4 min@__lpython_overloaded_0__min 8 __lpython_overloaded_0__min lpython_builtin [] __lpython_overloaded_0__min Public), min@__lpython_overloaded_1__min: (ExternalSymbol 4 min@__lpython_overloaded_1__min 8 __lpython_overloaded_1__min lpython_builtin [] __lpython_overloaded_1__min Public)}) test_min_int (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [min@__lpython_overloaded_0__min min@__lpython_overloaded_1__min min@__lpython_overloaded_1__min min@__lpython_overloaded_0__min] [] [(= (Var 4 a) (IntegerConstant 1 (Integer 4 [])) ()) (= (Var 4 b) (IntegerConstant 2 (Integer 4 [])) ()) (= (Var 4 c) (IntegerConstant 3 (Integer 4 [])) ()) (Assert (IntegerCompare (FunctionCall 4 min@__lpython_overloaded_0__min 4 min [((Var 4 a)) ((Var 4 b))] (Integer 4 []) () ()) Eq (Var 4 a) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 4 min@__lpython_overloaded_1__min 4 min [((Var 4 a)) ((Var 4 b)) ((Var 4 c))] (Integer 4 []) () ()) Eq (Var 4 a) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 4 min@__lpython_overloaded_1__min 4 min [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 [])))] (Integer 4 []) (IntegerConstant 1 (Integer 4 [])) ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 4 min@__lpython_overloaded_0__min 4 min [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 6 (Integer 4 [])))] (Integer 4 []) (IntegerConstant 1 (Integer 4 [])) ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 109 {_lpython_main_program: (ExternalSymbol 109 _lpython_main_program 111 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 109 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-test_numpy_03-e600a49.json b/tests/reference/asr-test_numpy_03-e600a49.json index 69b7eb548e..6463e73583 100644 --- a/tests/reference/asr-test_numpy_03-e600a49.json +++ b/tests/reference/asr-test_numpy_03-e600a49.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_numpy_03-e600a49.stdout", - "stdout_hash": "1d82bcbbada191565cf2721c5375fcfc6177d710d1e255cdb605fa8f", + "stdout_hash": "3b1cdfd3fe6bd1eb5480bc05927c43b605d1c8070231ffef08903724", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_numpy_03-e600a49.stdout b/tests/reference/asr-test_numpy_03-e600a49.stdout index 897b397f7f..4fe8f883c4 100644 --- a/tests/reference/asr-test_numpy_03-e600a49.stdout +++ b/tests/reference/asr-test_numpy_03-e600a49.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 197 {_lpython_main_program: (Function (SymbolTable 196 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_reshape_with_argument] [] [(SubroutineCall 197 test_reshape_with_argument () [] ())] () Public .false. .false.), test_1d_to_nd: (Function (SymbolTable 179 {a: (Variable 179 a [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) Source Public Required .false.), b: (Variable 179 b [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 [])))]) Source Public Required .false.), block: (Block (SymbolTable 186 {_lpython_floordiv: (ExternalSymbol 186 _lpython_floordiv 79 _lpython_floordiv lpython_builtin [] _lpython_floordiv Private), _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv: (ExternalSymbol 186 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 79 __lpython_overloaded_4___lpython_floordiv lpython_builtin [] __lpython_overloaded_4___lpython_floordiv Public)}) block [(= (Var 179 i) (FunctionCall 186 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 186 _lpython_floordiv [((Var 179 k)) ((IntegerConstant 16 (Integer 4 [])))] (Integer 4 []) () ()) ()) (= (Var 179 j) (IntegerBinOp (Var 179 k) Sub (IntegerBinOp (Var 179 i) Mul (IntegerConstant 16 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ()) ()) (= (ArrayItem (Var 179 b) [(() (Var 179 k) ())] (Real 8 []) RowMajor ()) (RealBinOp (Cast (IntegerBinOp (Var 179 i) Add (Var 179 j) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) Add (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()) ())]), block1: (Block (SymbolTable 187 {block: (Block (SymbolTable 188 {abs: (ExternalSymbol 188 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 188 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public)}) block [(Assert (RealCompare (FunctionCall 188 abs@__lpython_overloaded_0__abs 188 abs [((RealBinOp (RealBinOp (ArrayItem (Var 179 a) [(() (Var 179 i) ()) (() (Var 179 j) ())] (Real 8 []) RowMajor ()) Sub (Cast (IntegerBinOp (Var 179 i) Add (Var 179 j) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) Sub (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 179 eps) (Logical 4 []) ()) ())])}) block1 [(DoLoop ((Var 179 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 187 block)])]), block2: (Block (SymbolTable 189 {block: (Block (SymbolTable 190 {block: (Block (SymbolTable 191 {abs: (ExternalSymbol 191 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 191 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public)}) block [(Assert (RealCompare (FunctionCall 191 abs@__lpython_overloaded_0__abs 191 abs [((RealBinOp (RealBinOp (ArrayItem (Var 179 c) [(() (Var 179 i) ()) (() (Var 179 j) ()) (() (Var 179 k) ())] (Real 8 []) RowMajor ()) Sub (Cast (IntegerBinOp (IntegerBinOp (Var 179 i) Add (Var 179 j) (Integer 4 []) ()) Add (Var 179 k) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) Sub (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 179 eps) (Logical 4 []) ()) ())])}) block [(DoLoop ((Var 179 k) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 190 block)])])}) block2 [(DoLoop ((Var 179 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 189 block)])]), c: (Variable 179 c [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) Source Public Required .false.), d: (Variable 179 d [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.), eps: (Variable 179 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 179 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 179 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 179 k [] Local () () Default (Integer 4 []) Source Public Required .false.), l: (Variable 179 l [] Local () () Default (Integer 4 []) Source Public Required .false.), newshape: (Variable 179 newshape [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])))]) Source Public Required .false.), newshape1: (Variable 179 newshape1 [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.)}) test_1d_to_nd (FunctionType [(Real 8 [(() ())])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [_lpython_floordiv@__lpython_overloaded_4___lpython_floordiv abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs] [(Var 179 d)] [(= (Var 179 eps) (RealConstant 0.000000 (Real 8 [])) ()) (DoLoop ((Var 179 k) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 256 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 255 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 179 block)]) (= (ArrayItem (Var 179 newshape) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 16 (Integer 4 [])) ()) (= (ArrayItem (Var 179 newshape) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 16 (Integer 4 [])) ()) (= (Var 179 a) (ArrayReshape (Var 179 b) (Var 179 newshape) (Real 8 [(() ())]) ()) ()) (DoLoop ((Var 179 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 179 block1)]) (= (ArrayItem (Var 179 newshape1) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 16 (Integer 4 [])) ()) (= (ArrayItem (Var 179 newshape1) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 16 (Integer 4 [])) ()) (= (ArrayItem (Var 179 newshape1) [(() (IntegerConstant 2 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 16 (Integer 4 [])) ()) (= (Var 179 c) (ArrayReshape (Var 179 d) (Var 179 newshape1) (Real 8 [(() ())]) ()) ()) (DoLoop ((Var 179 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 179 block2)])] () Public .false. .false.), test_nd_to_1d: (Function (SymbolTable 178 {a: (Variable 178 a [] InOut () () Default (Real 8 [(() ()) (() ())]) Source Public Required .false.), b: (Variable 178 b [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 [])))]) Source Public Required .false.), block: (Block (SymbolTable 181 {_lpython_floordiv: (ExternalSymbol 181 _lpython_floordiv 79 _lpython_floordiv lpython_builtin [] _lpython_floordiv Private), _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv: (ExternalSymbol 181 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 79 __lpython_overloaded_4___lpython_floordiv lpython_builtin [] __lpython_overloaded_4___lpython_floordiv Public), abs: (ExternalSymbol 181 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 181 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public)}) block [(= (Var 178 i) (FunctionCall 181 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 181 _lpython_floordiv [((Var 178 k)) ((IntegerConstant 16 (Integer 4 [])))] (Integer 4 []) () ()) ()) (= (Var 178 j) (IntegerBinOp (Var 178 k) Sub (IntegerBinOp (Var 178 i) Mul (IntegerConstant 16 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ()) ()) (Assert (RealCompare (FunctionCall 181 abs@__lpython_overloaded_0__abs 181 abs [((RealBinOp (RealBinOp (ArrayItem (Var 178 b) [(() (Var 178 k) ())] (Real 8 []) RowMajor ()) Sub (Cast (IntegerBinOp (Var 178 i) Add (Var 178 j) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) Sub (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 178 eps) (Logical 4 []) ()) ())]), block1: (Block (SymbolTable 185 {_lpython_floordiv: (ExternalSymbol 185 _lpython_floordiv 79 _lpython_floordiv lpython_builtin [] _lpython_floordiv Private), _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv: (ExternalSymbol 185 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 79 __lpython_overloaded_4___lpython_floordiv lpython_builtin [] __lpython_overloaded_4___lpython_floordiv Public), abs: (ExternalSymbol 185 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 185 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public)}) block1 [(= (Var 178 i) (Cast (Cast (RealBinOp (Cast (Var 178 l) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 256 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) RealToInteger (Integer 8 []) ()) IntegerToInteger (Integer 4 []) ()) ()) (= (Var 178 j) (FunctionCall 185 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 185 _lpython_floordiv [((IntegerBinOp (Var 178 l) Sub (IntegerBinOp (Var 178 i) Mul (IntegerConstant 256 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ())) ((IntegerConstant 16 (Integer 4 [])))] (Integer 4 []) () ()) ()) (= (Var 178 k) (IntegerBinOp (IntegerBinOp (Var 178 l) Sub (IntegerBinOp (Var 178 i) Mul (IntegerConstant 256 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ()) Sub (IntegerBinOp (Var 178 j) Mul (IntegerConstant 16 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ()) ()) (Assert (RealCompare (FunctionCall 185 abs@__lpython_overloaded_0__abs 185 abs [((RealBinOp (RealBinOp (ArrayItem (Var 178 d) [(() (Var 178 l) ())] (Real 8 []) RowMajor ()) Sub (Cast (IntegerBinOp (IntegerBinOp (Var 178 i) Add (Var 178 j) (Integer 4 []) ()) Add (Var 178 k) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) Sub (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 178 eps) (Logical 4 []) ()) ())]), c: (Variable 178 c [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) Source Public Required .false.), d: (Variable 178 d [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4096 (Integer 4 [])))]) Source Public Required .false.), eps: (Variable 178 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 178 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 178 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 178 k [] Local () () Default (Integer 4 []) Source Public Required .false.), l: (Variable 178 l [] Local () () Default (Integer 4 []) Source Public Required .false.), newshape: (Variable 178 newshape [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), newshape1: (Variable 178 newshape1 [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.)}) test_nd_to_1d (FunctionType [(Real 8 [(() ()) (() ())])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [_lpython_floordiv@__lpython_overloaded_4___lpython_floordiv abs@__lpython_overloaded_0__abs _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv abs@__lpython_overloaded_0__abs _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv abs@__lpython_overloaded_0__abs _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv abs@__lpython_overloaded_0__abs] [(Var 178 a)] [(= (Var 178 eps) (RealConstant 0.000000 (Real 8 [])) ()) (= (ArrayItem (Var 178 newshape) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 256 (Integer 4 [])) ()) (= (Var 178 b) (ArrayReshape (Var 178 a) (Var 178 newshape) (Real 8 [(() ())]) ()) ()) (DoLoop ((Var 178 k) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 256 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 255 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 178 block)]) (DoLoop ((Var 178 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 178 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 178 k) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 178 c) [(() (Var 178 i) ()) (() (Var 178 j) ()) (() (Var 178 k) ())] (Real 8 []) RowMajor ()) (RealBinOp (Cast (IntegerBinOp (IntegerBinOp (Var 178 i) Add (Var 178 j) (Integer 4 []) ()) Add (Var 178 k) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) Add (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()) ())])])]) (= (ArrayItem (Var 178 newshape1) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 4096 (Integer 4 [])) ()) (= (Var 178 d) (ArrayReshape (Var 178 c) (Var 178 newshape1) (Real 8 [(() ())]) ()) ()) (DoLoop ((Var 178 l) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 4096 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 4095 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 178 block1)])] () Public .false. .false.), test_reshape_with_argument: (Function (SymbolTable 180 {a: (Variable 180 a [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) Source Public Required .false.), block: (Block (SymbolTable 194 {_lpython_floordiv: (ExternalSymbol 194 _lpython_floordiv 79 _lpython_floordiv lpython_builtin [] _lpython_floordiv Private), _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv: (ExternalSymbol 194 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 79 __lpython_overloaded_4___lpython_floordiv lpython_builtin [] __lpython_overloaded_4___lpython_floordiv Public)}) block [(= (Var 180 i) (Cast (Cast (RealBinOp (Cast (Var 180 l) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 256 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) RealToInteger (Integer 8 []) ()) IntegerToInteger (Integer 4 []) ()) ()) (= (Var 180 j) (FunctionCall 194 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 194 _lpython_floordiv [((IntegerBinOp (Var 180 l) Sub (IntegerBinOp (Var 180 i) Mul (IntegerConstant 256 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ())) ((IntegerConstant 16 (Integer 4 [])))] (Integer 4 []) () ()) ()) (= (Var 180 k) (IntegerBinOp (IntegerBinOp (Var 180 l) Sub (IntegerBinOp (Var 180 i) Mul (IntegerConstant 256 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ()) Sub (IntegerBinOp (Var 180 j) Mul (IntegerConstant 16 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ()) ()) (= (ArrayItem (Var 180 d) [(() (Var 180 l) ())] (Real 8 []) RowMajor ()) (RealBinOp (Cast (IntegerBinOp (IntegerBinOp (Var 180 i) Add (Var 180 j) (Integer 4 []) ()) Add (Var 180 k) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) Add (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()) ())]), d: (Variable 180 d [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4096 (Integer 4 [])))]) Source Public Required .false.), i: (Variable 180 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 180 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 180 k [] Local () () Default (Integer 4 []) Source Public Required .false.), l: (Variable 180 l [] Local () () Default (Integer 4 []) Source Public Required .false.)}) test_reshape_with_argument (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [_lpython_floordiv@__lpython_overloaded_4___lpython_floordiv test_nd_to_1d _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv test_1d_to_nd] [] [(DoLoop ((Var 180 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 180 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 180 a) [(() (Var 180 i) ()) (() (Var 180 j) ())] (Real 8 []) RowMajor ()) (RealBinOp (Cast (IntegerBinOp (Var 180 i) Add (Var 180 j) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) Add (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()) ())])]) (SubroutineCall 197 test_nd_to_1d () [((Var 180 a))] ()) (DoLoop ((Var 180 l) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 4096 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 4095 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 180 block)]) (SubroutineCall 197 test_1d_to_nd () [((Var 180 d))] ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 195 {_lpython_main_program: (ExternalSymbol 195 _lpython_main_program 197 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 195 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) ()) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_2___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [x] Local (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [x] Local (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_0___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_0___mod 79 __lpython_overloaded_0___mod lpython_builtin [] __lpython_overloaded_0___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_0___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_0___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) RealToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) () Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 199 {_lpython_main_program: (Function (SymbolTable 198 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_reshape_with_argument] [] [(SubroutineCall 199 test_reshape_with_argument () [] ())] () Public .false. .false.), test_1d_to_nd: (Function (SymbolTable 181 {a: (Variable 181 a [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) Source Public Required .false.), b: (Variable 181 b [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 [])))]) Source Public Required .false.), block: (Block (SymbolTable 188 {_lpython_floordiv: (ExternalSymbol 188 _lpython_floordiv 79 _lpython_floordiv lpython_builtin [] _lpython_floordiv Private), _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv: (ExternalSymbol 188 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 79 __lpython_overloaded_4___lpython_floordiv lpython_builtin [] __lpython_overloaded_4___lpython_floordiv Public)}) block [(= (Var 181 i) (FunctionCall 188 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 188 _lpython_floordiv [((Var 181 k)) ((IntegerConstant 16 (Integer 4 [])))] (Integer 4 []) () ()) ()) (= (Var 181 j) (IntegerBinOp (Var 181 k) Sub (IntegerBinOp (Var 181 i) Mul (IntegerConstant 16 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ()) ()) (= (ArrayItem (Var 181 b) [(() (Var 181 k) ())] (Real 8 []) RowMajor ()) (RealBinOp (Cast (IntegerBinOp (Var 181 i) Add (Var 181 j) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) Add (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()) ())]), block1: (Block (SymbolTable 189 {block: (Block (SymbolTable 190 {abs: (ExternalSymbol 190 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 190 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public)}) block [(Assert (RealCompare (FunctionCall 190 abs@__lpython_overloaded_0__abs 190 abs [((RealBinOp (RealBinOp (ArrayItem (Var 181 a) [(() (Var 181 i) ()) (() (Var 181 j) ())] (Real 8 []) RowMajor ()) Sub (Cast (IntegerBinOp (Var 181 i) Add (Var 181 j) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) Sub (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 181 eps) (Logical 4 []) ()) ())])}) block1 [(DoLoop ((Var 181 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 189 block)])]), block2: (Block (SymbolTable 191 {block: (Block (SymbolTable 192 {block: (Block (SymbolTable 193 {abs: (ExternalSymbol 193 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 193 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public)}) block [(Assert (RealCompare (FunctionCall 193 abs@__lpython_overloaded_0__abs 193 abs [((RealBinOp (RealBinOp (ArrayItem (Var 181 c) [(() (Var 181 i) ()) (() (Var 181 j) ()) (() (Var 181 k) ())] (Real 8 []) RowMajor ()) Sub (Cast (IntegerBinOp (IntegerBinOp (Var 181 i) Add (Var 181 j) (Integer 4 []) ()) Add (Var 181 k) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) Sub (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 181 eps) (Logical 4 []) ()) ())])}) block [(DoLoop ((Var 181 k) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 192 block)])])}) block2 [(DoLoop ((Var 181 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 191 block)])]), c: (Variable 181 c [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) Source Public Required .false.), d: (Variable 181 d [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.), eps: (Variable 181 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 181 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 181 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 181 k [] Local () () Default (Integer 4 []) Source Public Required .false.), l: (Variable 181 l [] Local () () Default (Integer 4 []) Source Public Required .false.), newshape: (Variable 181 newshape [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])))]) Source Public Required .false.), newshape1: (Variable 181 newshape1 [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.)}) test_1d_to_nd (FunctionType [(Real 8 [(() ())])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [_lpython_floordiv@__lpython_overloaded_4___lpython_floordiv abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs] [(Var 181 d)] [(= (Var 181 eps) (RealConstant 0.000000 (Real 8 [])) ()) (DoLoop ((Var 181 k) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 256 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 255 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 181 block)]) (= (ArrayItem (Var 181 newshape) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 16 (Integer 4 [])) ()) (= (ArrayItem (Var 181 newshape) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 16 (Integer 4 [])) ()) (= (Var 181 a) (ArrayReshape (Var 181 b) (Var 181 newshape) (Real 8 [(() ())]) ()) ()) (DoLoop ((Var 181 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 181 block1)]) (= (ArrayItem (Var 181 newshape1) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 16 (Integer 4 [])) ()) (= (ArrayItem (Var 181 newshape1) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 16 (Integer 4 [])) ()) (= (ArrayItem (Var 181 newshape1) [(() (IntegerConstant 2 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 16 (Integer 4 [])) ()) (= (Var 181 c) (ArrayReshape (Var 181 d) (Var 181 newshape1) (Real 8 [(() ())]) ()) ()) (DoLoop ((Var 181 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 181 block2)])] () Public .false. .false.), test_nd_to_1d: (Function (SymbolTable 180 {a: (Variable 180 a [] InOut () () Default (Real 8 [(() ()) (() ())]) Source Public Required .false.), b: (Variable 180 b [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 [])))]) Source Public Required .false.), block: (Block (SymbolTable 183 {_lpython_floordiv: (ExternalSymbol 183 _lpython_floordiv 79 _lpython_floordiv lpython_builtin [] _lpython_floordiv Private), _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv: (ExternalSymbol 183 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 79 __lpython_overloaded_4___lpython_floordiv lpython_builtin [] __lpython_overloaded_4___lpython_floordiv Public), abs: (ExternalSymbol 183 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 183 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public)}) block [(= (Var 180 i) (FunctionCall 183 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 183 _lpython_floordiv [((Var 180 k)) ((IntegerConstant 16 (Integer 4 [])))] (Integer 4 []) () ()) ()) (= (Var 180 j) (IntegerBinOp (Var 180 k) Sub (IntegerBinOp (Var 180 i) Mul (IntegerConstant 16 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ()) ()) (Assert (RealCompare (FunctionCall 183 abs@__lpython_overloaded_0__abs 183 abs [((RealBinOp (RealBinOp (ArrayItem (Var 180 b) [(() (Var 180 k) ())] (Real 8 []) RowMajor ()) Sub (Cast (IntegerBinOp (Var 180 i) Add (Var 180 j) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) Sub (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 180 eps) (Logical 4 []) ()) ())]), block1: (Block (SymbolTable 187 {_lpython_floordiv: (ExternalSymbol 187 _lpython_floordiv 79 _lpython_floordiv lpython_builtin [] _lpython_floordiv Private), _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv: (ExternalSymbol 187 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 79 __lpython_overloaded_4___lpython_floordiv lpython_builtin [] __lpython_overloaded_4___lpython_floordiv Public), abs: (ExternalSymbol 187 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 187 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public)}) block1 [(= (Var 180 i) (Cast (Cast (RealBinOp (Cast (Var 180 l) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 256 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) RealToInteger (Integer 8 []) ()) IntegerToInteger (Integer 4 []) ()) ()) (= (Var 180 j) (FunctionCall 187 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 187 _lpython_floordiv [((IntegerBinOp (Var 180 l) Sub (IntegerBinOp (Var 180 i) Mul (IntegerConstant 256 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ())) ((IntegerConstant 16 (Integer 4 [])))] (Integer 4 []) () ()) ()) (= (Var 180 k) (IntegerBinOp (IntegerBinOp (Var 180 l) Sub (IntegerBinOp (Var 180 i) Mul (IntegerConstant 256 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ()) Sub (IntegerBinOp (Var 180 j) Mul (IntegerConstant 16 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ()) ()) (Assert (RealCompare (FunctionCall 187 abs@__lpython_overloaded_0__abs 187 abs [((RealBinOp (RealBinOp (ArrayItem (Var 180 d) [(() (Var 180 l) ())] (Real 8 []) RowMajor ()) Sub (Cast (IntegerBinOp (IntegerBinOp (Var 180 i) Add (Var 180 j) (Integer 4 []) ()) Add (Var 180 k) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) Sub (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 180 eps) (Logical 4 []) ()) ())]), c: (Variable 180 c [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) Source Public Required .false.), d: (Variable 180 d [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4096 (Integer 4 [])))]) Source Public Required .false.), eps: (Variable 180 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 180 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 180 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 180 k [] Local () () Default (Integer 4 []) Source Public Required .false.), l: (Variable 180 l [] Local () () Default (Integer 4 []) Source Public Required .false.), newshape: (Variable 180 newshape [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), newshape1: (Variable 180 newshape1 [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.)}) test_nd_to_1d (FunctionType [(Real 8 [(() ()) (() ())])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [_lpython_floordiv@__lpython_overloaded_4___lpython_floordiv abs@__lpython_overloaded_0__abs _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv abs@__lpython_overloaded_0__abs _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv abs@__lpython_overloaded_0__abs _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv abs@__lpython_overloaded_0__abs] [(Var 180 a)] [(= (Var 180 eps) (RealConstant 0.000000 (Real 8 [])) ()) (= (ArrayItem (Var 180 newshape) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 256 (Integer 4 [])) ()) (= (Var 180 b) (ArrayReshape (Var 180 a) (Var 180 newshape) (Real 8 [(() ())]) ()) ()) (DoLoop ((Var 180 k) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 256 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 255 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 180 block)]) (DoLoop ((Var 180 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 180 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 180 k) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 180 c) [(() (Var 180 i) ()) (() (Var 180 j) ()) (() (Var 180 k) ())] (Real 8 []) RowMajor ()) (RealBinOp (Cast (IntegerBinOp (IntegerBinOp (Var 180 i) Add (Var 180 j) (Integer 4 []) ()) Add (Var 180 k) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) Add (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()) ())])])]) (= (ArrayItem (Var 180 newshape1) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 4096 (Integer 4 [])) ()) (= (Var 180 d) (ArrayReshape (Var 180 c) (Var 180 newshape1) (Real 8 [(() ())]) ()) ()) (DoLoop ((Var 180 l) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 4096 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 4095 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 180 block1)])] () Public .false. .false.), test_reshape_with_argument: (Function (SymbolTable 182 {a: (Variable 182 a [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) Source Public Required .false.), block: (Block (SymbolTable 196 {_lpython_floordiv: (ExternalSymbol 196 _lpython_floordiv 79 _lpython_floordiv lpython_builtin [] _lpython_floordiv Private), _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv: (ExternalSymbol 196 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 79 __lpython_overloaded_4___lpython_floordiv lpython_builtin [] __lpython_overloaded_4___lpython_floordiv Public)}) block [(= (Var 182 i) (Cast (Cast (RealBinOp (Cast (Var 182 l) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 256 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) RealToInteger (Integer 8 []) ()) IntegerToInteger (Integer 4 []) ()) ()) (= (Var 182 j) (FunctionCall 196 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 196 _lpython_floordiv [((IntegerBinOp (Var 182 l) Sub (IntegerBinOp (Var 182 i) Mul (IntegerConstant 256 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ())) ((IntegerConstant 16 (Integer 4 [])))] (Integer 4 []) () ()) ()) (= (Var 182 k) (IntegerBinOp (IntegerBinOp (Var 182 l) Sub (IntegerBinOp (Var 182 i) Mul (IntegerConstant 256 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ()) Sub (IntegerBinOp (Var 182 j) Mul (IntegerConstant 16 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ()) ()) (= (ArrayItem (Var 182 d) [(() (Var 182 l) ())] (Real 8 []) RowMajor ()) (RealBinOp (Cast (IntegerBinOp (IntegerBinOp (Var 182 i) Add (Var 182 j) (Integer 4 []) ()) Add (Var 182 k) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) Add (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()) ())]), d: (Variable 182 d [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4096 (Integer 4 [])))]) Source Public Required .false.), i: (Variable 182 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 182 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 182 k [] Local () () Default (Integer 4 []) Source Public Required .false.), l: (Variable 182 l [] Local () () Default (Integer 4 []) Source Public Required .false.)}) test_reshape_with_argument (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [_lpython_floordiv@__lpython_overloaded_4___lpython_floordiv test_nd_to_1d _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv test_1d_to_nd] [] [(DoLoop ((Var 182 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 182 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 182 a) [(() (Var 182 i) ()) (() (Var 182 j) ())] (Real 8 []) RowMajor ()) (RealBinOp (Cast (IntegerBinOp (Var 182 i) Add (Var 182 j) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) Add (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()) ())])]) (SubroutineCall 199 test_nd_to_1d () [((Var 182 a))] ()) (DoLoop ((Var 182 l) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 4096 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 4095 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 182 block)]) (SubroutineCall 199 test_1d_to_nd () [((Var 182 d))] ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 197 {_lpython_main_program: (ExternalSymbol 197 _lpython_main_program 199 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 197 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) ()) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_2___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [x] Local (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [x] Local (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_0___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_0___mod 79 __lpython_overloaded_0___mod lpython_builtin [] __lpython_overloaded_0___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_0___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_0___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) RealToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) () Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) diff --git a/tests/reference/asr-test_numpy_04-ecbb614.json b/tests/reference/asr-test_numpy_04-ecbb614.json index e4a97568f0..d9706fb040 100644 --- a/tests/reference/asr-test_numpy_04-ecbb614.json +++ b/tests/reference/asr-test_numpy_04-ecbb614.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_numpy_04-ecbb614.stdout", - "stdout_hash": "ee1da353d96313f68c78373a978f6bd17070c02d78c721cc3b960550", + "stdout_hash": "6b09209f223d6596a25d0cb5a256ec9671509ef9dac08b4bec25a10f", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_numpy_04-ecbb614.stdout b/tests/reference/asr-test_numpy_04-ecbb614.stdout index de9ecf3686..496f7efdb4 100644 --- a/tests/reference/asr-test_numpy_04-ecbb614.stdout +++ b/tests/reference/asr-test_numpy_04-ecbb614.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 183 {_lpython_main_program: (Function (SymbolTable 182 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [check] [] [(SubroutineCall 183 check () [] ())] () Public .false. .false.), check: (Function (SymbolTable 180 {}) check (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_array_01 test_array_02] [] [(SubroutineCall 183 test_array_01 () [] ()) (SubroutineCall 183 test_array_02 () [] ())] () Public .false. .false.), test_array_01: (Function (SymbolTable 178 {abs: (ExternalSymbol 178 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 178 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), eps: (Variable 178 eps [] Local (RealConstant 0.000000 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), x: (Variable 178 x [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.)}) test_array_01 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs] [] [(= (Var 178 x) (ArrayConstant [(RealConstant 1.000000 (Real 8 [])) (RealConstant 2.000000 (Real 8 [])) (RealConstant 3.000000 (Real 8 []))] (Real 8 []) RowMajor) ()) (= (Var 178 eps) (RealConstant 0.000000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 178 abs@__lpython_overloaded_0__abs 178 abs [((RealBinOp (ArrayItem (Var 178 x) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Real 8 []) RowMajor ()) Sub (RealConstant 1.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 178 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 178 abs@__lpython_overloaded_0__abs 178 abs [((RealBinOp (ArrayItem (Var 178 x) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Real 8 []) RowMajor ()) Sub (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 178 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 178 abs@__lpython_overloaded_0__abs 178 abs [((RealBinOp (ArrayItem (Var 178 x) [(() (IntegerConstant 2 (Integer 4 [])) ())] (Real 8 []) RowMajor ()) Sub (RealConstant 3.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 178 eps) (Logical 4 []) ()) ())] () Public .false. .false.), test_array_02: (Function (SymbolTable 179 {abs: (ExternalSymbol 179 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_4__abs: (ExternalSymbol 179 abs@__lpython_overloaded_4__abs 79 __lpython_overloaded_4__abs lpython_builtin [] __lpython_overloaded_4__abs Public), eps: (Variable 179 eps [] Local (RealConstant 0.000000 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), x: (Variable 179 x [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.)}) test_array_02 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_4__abs abs@__lpython_overloaded_4__abs abs@__lpython_overloaded_4__abs] [] [(= (Var 179 x) (ArrayConstant [(IntegerConstant 1 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])) (IntegerConstant 3 (Integer 4 []))] (Integer 4 []) RowMajor) ()) (= (Var 179 eps) (RealConstant 0.000000 (Real 8 [])) ()) (Assert (RealCompare (Cast (FunctionCall 179 abs@__lpython_overloaded_4__abs 179 abs [((IntegerBinOp (ArrayItem (Var 179 x) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()))] (Integer 4 []) () ()) IntegerToReal (Real 8 []) ()) Lt (Var 179 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (Cast (FunctionCall 179 abs@__lpython_overloaded_4__abs 179 abs [((IntegerBinOp (ArrayItem (Var 179 x) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) Sub (IntegerConstant 2 (Integer 4 [])) (Integer 4 []) ()))] (Integer 4 []) () ()) IntegerToReal (Real 8 []) ()) Lt (Var 179 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (Cast (FunctionCall 179 abs@__lpython_overloaded_4__abs 179 abs [((IntegerBinOp (ArrayItem (Var 179 x) [(() (IntegerConstant 2 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) Sub (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) ()))] (Integer 4 []) () ()) IntegerToReal (Real 8 []) ()) Lt (Var 179 eps) (Logical 4 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 181 {_lpython_main_program: (ExternalSymbol 181 _lpython_main_program 183 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 181 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) ()) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_2___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [x] Local (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [x] Local (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_0___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_0___mod 79 __lpython_overloaded_0___mod lpython_builtin [] __lpython_overloaded_0___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_0___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_0___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) RealToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) () Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 185 {_lpython_main_program: (Function (SymbolTable 184 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [check] [] [(SubroutineCall 185 check () [] ())] () Public .false. .false.), check: (Function (SymbolTable 182 {}) check (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_array_01 test_array_02] [] [(SubroutineCall 185 test_array_01 () [] ()) (SubroutineCall 185 test_array_02 () [] ())] () Public .false. .false.), test_array_01: (Function (SymbolTable 180 {abs: (ExternalSymbol 180 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 180 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), eps: (Variable 180 eps [] Local (RealConstant 0.000000 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), x: (Variable 180 x [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.)}) test_array_01 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs] [] [(= (Var 180 x) (ArrayConstant [(RealConstant 1.000000 (Real 8 [])) (RealConstant 2.000000 (Real 8 [])) (RealConstant 3.000000 (Real 8 []))] (Real 8 []) RowMajor) ()) (= (Var 180 eps) (RealConstant 0.000000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 180 abs@__lpython_overloaded_0__abs 180 abs [((RealBinOp (ArrayItem (Var 180 x) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Real 8 []) RowMajor ()) Sub (RealConstant 1.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 180 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 180 abs@__lpython_overloaded_0__abs 180 abs [((RealBinOp (ArrayItem (Var 180 x) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Real 8 []) RowMajor ()) Sub (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 180 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 180 abs@__lpython_overloaded_0__abs 180 abs [((RealBinOp (ArrayItem (Var 180 x) [(() (IntegerConstant 2 (Integer 4 [])) ())] (Real 8 []) RowMajor ()) Sub (RealConstant 3.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 180 eps) (Logical 4 []) ()) ())] () Public .false. .false.), test_array_02: (Function (SymbolTable 181 {abs: (ExternalSymbol 181 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_4__abs: (ExternalSymbol 181 abs@__lpython_overloaded_4__abs 79 __lpython_overloaded_4__abs lpython_builtin [] __lpython_overloaded_4__abs Public), eps: (Variable 181 eps [] Local (RealConstant 0.000000 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), x: (Variable 181 x [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.)}) test_array_02 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_4__abs abs@__lpython_overloaded_4__abs abs@__lpython_overloaded_4__abs] [] [(= (Var 181 x) (ArrayConstant [(IntegerConstant 1 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])) (IntegerConstant 3 (Integer 4 []))] (Integer 4 []) RowMajor) ()) (= (Var 181 eps) (RealConstant 0.000000 (Real 8 [])) ()) (Assert (RealCompare (Cast (FunctionCall 181 abs@__lpython_overloaded_4__abs 181 abs [((IntegerBinOp (ArrayItem (Var 181 x) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()))] (Integer 4 []) () ()) IntegerToReal (Real 8 []) ()) Lt (Var 181 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (Cast (FunctionCall 181 abs@__lpython_overloaded_4__abs 181 abs [((IntegerBinOp (ArrayItem (Var 181 x) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) Sub (IntegerConstant 2 (Integer 4 [])) (Integer 4 []) ()))] (Integer 4 []) () ()) IntegerToReal (Real 8 []) ()) Lt (Var 181 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (Cast (FunctionCall 181 abs@__lpython_overloaded_4__abs 181 abs [((IntegerBinOp (ArrayItem (Var 181 x) [(() (IntegerConstant 2 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) Sub (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) ()))] (Integer 4 []) () ()) IntegerToReal (Real 8 []) ()) Lt (Var 181 eps) (Logical 4 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 183 {_lpython_main_program: (ExternalSymbol 183 _lpython_main_program 185 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 183 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) ()) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_2___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [x] Local (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [x] Local (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_0___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_0___mod 79 __lpython_overloaded_0___mod lpython_builtin [] __lpython_overloaded_0___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_0___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_0___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) RealToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) () Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) diff --git a/tests/reference/asr-test_pow-3f5d550.json b/tests/reference/asr-test_pow-3f5d550.json index 9c979c5041..af484014cf 100644 --- a/tests/reference/asr-test_pow-3f5d550.json +++ b/tests/reference/asr-test_pow-3f5d550.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_pow-3f5d550.stdout", - "stdout_hash": "68a4cfde79cb07aa1b6a27ca8e0298dac80c564f7a898859cff30a03", + "stdout_hash": "a19c917b8f601ad2638c71760c4285e0068c8cfc832a31e3b31a629e", "stderr": "asr-test_pow-3f5d550.stderr", "stderr_hash": "3d950301563cce75654f28bf41f6f53428ed1f5ae997774345f374a3", "returncode": 0 diff --git a/tests/reference/asr-test_pow-3f5d550.stdout b/tests/reference/asr-test_pow-3f5d550.stdout index 508ba4d1bc..e9f8b14361 100644 --- a/tests/reference/asr-test_pow-3f5d550.stdout +++ b/tests/reference/asr-test_pow-3f5d550.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 105 {_lpython_main_program: (Function (SymbolTable 104 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [main] [] [(SubroutineCall 105 main () [] ())] () Public .false. .false.), main: (Function (SymbolTable 2 {pow: (ExternalSymbol 2 pow 4 pow lpython_builtin [] pow Private), pow@__lpython_overloaded_0__pow: (ExternalSymbol 2 pow@__lpython_overloaded_0__pow 4 __lpython_overloaded_0__pow lpython_builtin [] __lpython_overloaded_0__pow Public)}) main (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [pow@__lpython_overloaded_0__pow] [] [(Print () [(FunctionCall 2 pow@__lpython_overloaded_0__pow 2 pow [((IntegerConstant 2 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 [])))] (Real 8 []) (RealConstant 4.000000 (Real 8 [])) ())] () ()) (Print () [(IntegerBinOp (IntegerConstant 2 (Integer 4 [])) Pow (IntegerConstant 2 (Integer 4 [])) (Integer 4 []) (IntegerConstant 4 (Integer 4 [])))] () ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 103 {_lpython_main_program: (ExternalSymbol 103 _lpython_main_program 105 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 103 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 107 {_lpython_main_program: (Function (SymbolTable 106 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [main] [] [(SubroutineCall 107 main () [] ())] () Public .false. .false.), main: (Function (SymbolTable 2 {pow: (ExternalSymbol 2 pow 4 pow lpython_builtin [] pow Private), pow@__lpython_overloaded_0__pow: (ExternalSymbol 2 pow@__lpython_overloaded_0__pow 4 __lpython_overloaded_0__pow lpython_builtin [] __lpython_overloaded_0__pow Public)}) main (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [pow@__lpython_overloaded_0__pow] [] [(Print () [(FunctionCall 2 pow@__lpython_overloaded_0__pow 2 pow [((IntegerConstant 2 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 [])))] (Real 8 []) (RealConstant 4.000000 (Real 8 [])) ())] () ()) (Print () [(IntegerBinOp (IntegerConstant 2 (Integer 4 [])) Pow (IntegerConstant 2 (Integer 4 [])) (Integer 4 []) (IntegerConstant 4 (Integer 4 [])))] () ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 105 {_lpython_main_program: (ExternalSymbol 105 _lpython_main_program 107 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 105 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-vec_01-66ac423.json b/tests/reference/asr-vec_01-66ac423.json index 151eb5c484..b61d76f532 100644 --- a/tests/reference/asr-vec_01-66ac423.json +++ b/tests/reference/asr-vec_01-66ac423.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-vec_01-66ac423.stdout", - "stdout_hash": "0e8c7662e3b685d469d66234b1fb47b817e28683fea272b73a12700d", + "stdout_hash": "030479ac0a1b55ce541095af7792884c8f3d06750bb6f03d55117898", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-vec_01-66ac423.stdout b/tests/reference/asr-vec_01-66ac423.stdout index de3048bc33..d9c66ca77c 100644 --- a/tests/reference/asr-vec_01-66ac423.stdout +++ b/tests/reference/asr-vec_01-66ac423.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 184 {_lpython_main_program: (Function (SymbolTable 183 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [loop_vec] [] [(SubroutineCall 184 loop_vec () [] ())] () Public .false. .false.), loop_vec: (Function (SymbolTable 178 {a: (Variable 178 a [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) Source Public Required .false.), b: (Variable 178 b [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) Source Public Required .false.), i: (Variable 178 i [] Local () () Default (Integer 4 []) Source Public Required .false.)}) loop_vec (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(DoLoop ((Var 178 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 9216 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9215 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 178 b) [(() (Var 178 i) ())] (Real 8 []) RowMajor ()) (RealConstant 5.000000 (Real 8 [])) ())]) (DoLoop ((Var 178 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 9216 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9215 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 178 a) [(() (Var 178 i) ())] (Real 8 []) RowMajor ()) (ArrayItem (Var 178 b) [(() (Var 178 i) ())] (Real 8 []) RowMajor ()) ())]) (DoLoop ((Var 178 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 9216 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9215 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(Assert (RealCompare (ArrayItem (Var 178 a) [(() (Var 178 i) ())] (Real 8 []) RowMajor ()) Eq (RealConstant 5.000000 (Real 8 [])) (Logical 4 []) ()) ())])] () Public .false. .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 182 {_lpython_main_program: (ExternalSymbol 182 _lpython_main_program 184 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 182 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) ()) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_2___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [x] Local (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [x] Local (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_0___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_0___mod 79 __lpython_overloaded_0___mod lpython_builtin [] __lpython_overloaded_0___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_0___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_0___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) RealToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) () Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 186 {_lpython_main_program: (Function (SymbolTable 185 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [loop_vec] [] [(SubroutineCall 186 loop_vec () [] ())] () Public .false. .false.), loop_vec: (Function (SymbolTable 180 {a: (Variable 180 a [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) Source Public Required .false.), b: (Variable 180 b [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) Source Public Required .false.), i: (Variable 180 i [] Local () () Default (Integer 4 []) Source Public Required .false.)}) loop_vec (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(DoLoop ((Var 180 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 9216 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9215 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 180 b) [(() (Var 180 i) ())] (Real 8 []) RowMajor ()) (RealConstant 5.000000 (Real 8 [])) ())]) (DoLoop ((Var 180 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 9216 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9215 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 180 a) [(() (Var 180 i) ())] (Real 8 []) RowMajor ()) (ArrayItem (Var 180 b) [(() (Var 180 i) ())] (Real 8 []) RowMajor ()) ())]) (DoLoop ((Var 180 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 9216 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9215 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(Assert (RealCompare (ArrayItem (Var 180 a) [(() (Var 180 i) ())] (Real 8 []) RowMajor ()) Eq (RealConstant 5.000000 (Real 8 [])) (Logical 4 []) ()) ())])] () Public .false. .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 184 {_lpython_main_program: (ExternalSymbol 184 _lpython_main_program 186 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 184 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) ()) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_2___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [x] Local (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [x] Local (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_0___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_0___mod 79 __lpython_overloaded_0___mod lpython_builtin [] __lpython_overloaded_0___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_0___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_0___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) RealToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) () Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) diff --git a/tests/reference/pass_loop_vectorise-vec_01-be9985e.json b/tests/reference/pass_loop_vectorise-vec_01-be9985e.json index d0f36d5e5b..d330010483 100644 --- a/tests/reference/pass_loop_vectorise-vec_01-be9985e.json +++ b/tests/reference/pass_loop_vectorise-vec_01-be9985e.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "pass_loop_vectorise-vec_01-be9985e.stdout", - "stdout_hash": "c3c08de70ca73dce8ba9116225fb977d44453b029f92db3cf4d7696d", + "stdout_hash": "9712ecc73a4d82c178b9c3e5ce7cc1b20ff21fac0097593e3f77f93e", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/pass_loop_vectorise-vec_01-be9985e.stdout b/tests/reference/pass_loop_vectorise-vec_01-be9985e.stdout index 83f37f8fdc..7adc7476b9 100644 --- a/tests/reference/pass_loop_vectorise-vec_01-be9985e.stdout +++ b/tests/reference/pass_loop_vectorise-vec_01-be9985e.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 184 {_lpython_main_program: (Function (SymbolTable 183 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [loop_vec] [] [(SubroutineCall 184 loop_vec () [] ())] () Public .false. .false.), loop_vec: (Function (SymbolTable 178 {a: (Variable 178 a [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) Source Public Required .false.), b: (Variable 178 b [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) Source Public Required .false.), i: (Variable 178 i [] Local () () Default (Integer 4 []) Source Public Required .false.), vector_copy_f64f64i32@IntrinsicOptimization: (Function (SymbolTable 185 {__1_k: (Variable 185 __1_k [] Local () () Default (Integer 4 []) Source Public Required .false.), arg0: (Variable 185 arg0 [] In () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) Source Public Required .false.), arg1: (Variable 185 arg1 [] In () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) Source Public Required .false.), arg2: (Variable 185 arg2 [] In () () Default (Integer 4 []) Source Public Required .false.), arg3: (Variable 185 arg3 [] In () () Default (Integer 4 []) Source Public Required .false.), arg4: (Variable 185 arg4 [] In () () Default (Integer 4 []) Source Public Required .false.), arg5: (Variable 185 arg5 [] In () () Default (Integer 4 []) Source Public Required .false.)}) vector_copy_f64f64i32@IntrinsicOptimization (FunctionType [(Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) (Integer 4 []) (Integer 4 []) (Integer 4 []) (Integer 4 [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 185 arg0) (Var 185 arg1) (Var 185 arg2) (Var 185 arg3) (Var 185 arg4) (Var 185 arg5)] [(= (Var 185 __1_k) (IntegerBinOp (Var 185 arg2) Sub (Var 185 arg4) (Integer 4 []) ()) ()) (WhileLoop (IntegerCompare (IntegerBinOp (Var 185 __1_k) Add (Var 185 arg4) (Integer 4 []) ()) Lt (Var 185 arg3) (Logical 4 []) ()) [(= (Var 185 __1_k) (IntegerBinOp (Var 185 __1_k) Add (Var 185 arg4) (Integer 4 []) ()) ()) (= (ArrayItem (Var 185 arg0) [(() (Var 185 __1_k) ())] (Real 8 []) RowMajor ()) (ArrayItem (Var 185 arg1) [(() (Var 185 __1_k) ())] (Real 8 []) RowMajor ()) ())])] () Public .false. .false.)}) loop_vec (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [vector_copy_f64f64i32@IntrinsicOptimization] [] [(DoLoop ((Var 178 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 9216 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9215 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 178 b) [(() (Var 178 i) ())] (Real 8 []) RowMajor ()) (RealConstant 5.000000 (Real 8 [])) ())]) (DoLoop ((Var 178 i) (IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1151 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) [(SubroutineCall 178 vector_copy_f64f64i32@IntrinsicOptimization () [((Var 178 a)) ((Var 178 b)) ((IntegerBinOp (Var 178 i) Mul (IntegerConstant 8 (Integer 4 [])) (Integer 4 []) ())) ((IntegerBinOp (IntegerBinOp (Var 178 i) Add (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) Mul (IntegerConstant 8 (Integer 4 [])) (Integer 4 []) ())) ((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 8 (Integer 4 [])))] ())]) (DoLoop ((Var 178 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 9216 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9215 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(Assert (RealCompare (ArrayItem (Var 178 a) [(() (Var 178 i) ())] (Real 8 []) RowMajor ()) Eq (RealConstant 5.000000 (Real 8 [])) (Logical 4 []) ()) ())])] () Public .false. .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 182 {_lpython_main_program: (ExternalSymbol 182 _lpython_main_program 184 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 182 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) ()) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_2___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [x] Local (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [x] Local (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_0___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_0___mod 79 __lpython_overloaded_0___mod lpython_builtin [] __lpython_overloaded_0___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_0___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_0___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) RealToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) () Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 186 {_lpython_main_program: (Function (SymbolTable 185 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [loop_vec] [] [(SubroutineCall 186 loop_vec () [] ())] () Public .false. .false.), loop_vec: (Function (SymbolTable 180 {a: (Variable 180 a [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) Source Public Required .false.), b: (Variable 180 b [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) Source Public Required .false.), i: (Variable 180 i [] Local () () Default (Integer 4 []) Source Public Required .false.), vector_copy_f64f64i32@IntrinsicOptimization: (Function (SymbolTable 187 {__1_k: (Variable 187 __1_k [] Local () () Default (Integer 4 []) Source Public Required .false.), arg0: (Variable 187 arg0 [] In () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) Source Public Required .false.), arg1: (Variable 187 arg1 [] In () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) Source Public Required .false.), arg2: (Variable 187 arg2 [] In () () Default (Integer 4 []) Source Public Required .false.), arg3: (Variable 187 arg3 [] In () () Default (Integer 4 []) Source Public Required .false.), arg4: (Variable 187 arg4 [] In () () Default (Integer 4 []) Source Public Required .false.), arg5: (Variable 187 arg5 [] In () () Default (Integer 4 []) Source Public Required .false.)}) vector_copy_f64f64i32@IntrinsicOptimization (FunctionType [(Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) (Integer 4 []) (Integer 4 []) (Integer 4 []) (Integer 4 [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 187 arg0) (Var 187 arg1) (Var 187 arg2) (Var 187 arg3) (Var 187 arg4) (Var 187 arg5)] [(= (Var 187 __1_k) (IntegerBinOp (Var 187 arg2) Sub (Var 187 arg4) (Integer 4 []) ()) ()) (WhileLoop (IntegerCompare (IntegerBinOp (Var 187 __1_k) Add (Var 187 arg4) (Integer 4 []) ()) Lt (Var 187 arg3) (Logical 4 []) ()) [(= (Var 187 __1_k) (IntegerBinOp (Var 187 __1_k) Add (Var 187 arg4) (Integer 4 []) ()) ()) (= (ArrayItem (Var 187 arg0) [(() (Var 187 __1_k) ())] (Real 8 []) RowMajor ()) (ArrayItem (Var 187 arg1) [(() (Var 187 __1_k) ())] (Real 8 []) RowMajor ()) ())])] () Public .false. .false.)}) loop_vec (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [vector_copy_f64f64i32@IntrinsicOptimization] [] [(DoLoop ((Var 180 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 9216 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9215 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 180 b) [(() (Var 180 i) ())] (Real 8 []) RowMajor ()) (RealConstant 5.000000 (Real 8 [])) ())]) (DoLoop ((Var 180 i) (IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1151 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) [(SubroutineCall 180 vector_copy_f64f64i32@IntrinsicOptimization () [((Var 180 a)) ((Var 180 b)) ((IntegerBinOp (Var 180 i) Mul (IntegerConstant 8 (Integer 4 [])) (Integer 4 []) ())) ((IntegerBinOp (IntegerBinOp (Var 180 i) Add (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) Mul (IntegerConstant 8 (Integer 4 [])) (Integer 4 []) ())) ((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 8 (Integer 4 [])))] ())]) (DoLoop ((Var 180 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 9216 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9215 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(Assert (RealCompare (ArrayItem (Var 180 a) [(() (Var 180 i) ())] (Real 8 []) RowMajor ()) Eq (RealConstant 5.000000 (Real 8 [])) (Logical 4 []) ()) ())])] () Public .false. .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 184 {_lpython_main_program: (ExternalSymbol 184 _lpython_main_program 186 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 184 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) ()) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_2___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [x] Local (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [x] Local (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_0___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_0___mod 79 __lpython_overloaded_0___mod lpython_builtin [] __lpython_overloaded_0___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_0___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_0___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) ()) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) RealToReal (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) () Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) () Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) From 0903c9dc595e93f29fb4e658c87fd9d8dbae0398 Mon Sep 17 00:00:00 2001 From: Harsh Singh Jadon Date: Sat, 25 Mar 2023 18:02:31 +0530 Subject: [PATCH 2/7] Final Refactoring for compile time evaluation --- src/lpython/semantics/python_ast_to_asr.cpp | 153 +++++++++++--------- 1 file changed, 86 insertions(+), 67 deletions(-) diff --git a/src/lpython/semantics/python_ast_to_asr.cpp b/src/lpython/semantics/python_ast_to_asr.cpp index 6763bf5087..9dda3775ee 100644 --- a/src/lpython/semantics/python_ast_to_asr.cpp +++ b/src/lpython/semantics/python_ast_to_asr.cpp @@ -5798,6 +5798,88 @@ class BodyVisitor : public CommonVisitor { return res; } + void string_create_partition(std::string &s_var, ASR::expr_t* arg_seperator, + const Location &loc, ASR::ttype_t *arg_seperator_type) { + /* + Invoked when Seperator argument is provided as a constant string + */ + ASR::StringConstant_t* seperator_constant = ASR::down_cast(arg_seperator); + std::string seperator = seperator_constant->m_s; + + if(seperator.size() == 0) { + throw SemanticError("empty separator", arg_seperator->base.loc); + } + + /* + using KMP algorithm to find seperator inside string + res_tuple: stores the resulting 3-tuple expression ---> + (if seperator exist) tuple: (left of seperator, seperator, right of seperator) + (if seperator does not exist) tuple: (string, "", "") + res_tuple_type: stores the type of each expression present in resulting 3-tuple + */ + int seperator_pos = KMP_string_match(s_var, seperator); + + Vec res_tuple; + Vec res_tuple_type; + res_tuple.reserve(al, 3); + res_tuple_type.reserve(al, 3); + + std :: string first_res, second_res, third_res; + + if(seperator_pos == -1) { + /* seperator does not exist */ + first_res = s_var; + second_res = ""; + third_res = ""; + } else { + first_res = s_var.substr(0, seperator_pos); + second_res = seperator; + third_res = s_var.substr(seperator_pos + seperator.size()); + } + + res_tuple.push_back(al, ASRUtils::EXPR(ASR::make_StringConstant_t(al, loc, s2c(al, first_res), arg_seperator_type))); + res_tuple.push_back(al, ASRUtils::EXPR(ASR::make_StringConstant_t(al, loc, s2c(al, second_res), arg_seperator_type))); + res_tuple.push_back(al, ASRUtils::EXPR(ASR::make_StringConstant_t(al, loc, s2c(al, third_res), arg_seperator_type))); + res_tuple_type.push_back(al, arg_seperator_type); + res_tuple_type.push_back(al,arg_seperator_type); + res_tuple_type.push_back(al,arg_seperator_type); + + ASR::ttype_t *tuple_type = ASRUtils::TYPE(ASR::make_Tuple_t(al, loc, res_tuple_type.p, res_tuple_type.n)); + tmp = ASR::make_TupleConstant_t(al, loc, res_tuple.p, res_tuple.size(), tuple_type); + + return; + } + + void string_compile_time_evaluation(const Location &loc, std::string attr_name, std::string &s_var, + ASR::expr_t *arg_seperator) { + + if(attr_name == "partition") { + /* + Invoked when Seperator argument is provided as a variable + b: str = "ple" + Eg: "apple".seperator(b) + */ + ASR::symbol_t *fn_div = resolve_intrinsic_function(loc, "_lpython_str_partition"); + Vec args; + args.reserve(al, 1); + ASR::call_arg_t str_arg; + str_arg.loc = loc; + + ASR::ttype_t *str_type = ASRUtils::TYPE(ASR::make_Character_t(al, loc, 1, s_var.size(), nullptr, nullptr, 0)); + str_arg.m_value = ASRUtils::EXPR(ASR::make_StringConstant_t(al, loc, s2c(al, s_var), str_type)); + + ASR::call_arg_t sub_arg; + sub_arg.loc = loc; + sub_arg.m_value = arg_seperator; + args.push_back(al, str_arg); + args.push_back(al, sub_arg); + + tmp = make_call_helper(al, fn_div, current_scope, args, "_lpython_str_partition", loc); + } + + return; + } + void handle_constant_string_attributes(std::string &s_var, Vec &args, std::string attr_name, const Location &loc) { if (attr_name == "capitalize") { @@ -6025,76 +6107,13 @@ class BodyVisitor : public CommonVisitor { } if (ASRUtils::expr_value(arg_seperator) != nullptr) { - /* - Invoked when Seperator argument is provided as a constant string - */ - ASR::StringConstant_t* seperator_constant = ASR::down_cast(arg_seperator); - std::string seperator = seperator_constant->m_s; - - if(seperator.size() == 0) { - throw SemanticError("empty separator", arg_seperator->base.loc); - } - - /* - using KMP algorithm to find seperator inside string - res_tuple: stores the resulting 3-tuple expression ---> - (if seperator exist) tuple: (left of seperator, seperator, right of seperator) - (if seperator does not exist) tuple: (string, "", "") - res_tuple_type: stores the type of each expression present in resulting 3-tuple - */ - int seperator_pos = KMP_string_match(s_var, seperator); - Vec res_tuple; - Vec res_tuple_type; - res_tuple.reserve(al, 3); - res_tuple_type.reserve(al, 3); - - std :: string first_res, second_res, third_res; - - if(seperator_pos == -1) { - /* seperator does not exist */ - first_res = s_var; - second_res = ""; - third_res = ""; - } else { - first_res = s_var.substr(0, seperator_pos); - second_res = seperator; - third_res = s_var.substr(seperator_pos + seperator.size()); - } - - res_tuple.push_back(al, ASRUtils::EXPR(ASR::make_StringConstant_t(al, loc, s2c(al, first_res), arg_seperator_type))); - res_tuple.push_back(al, ASRUtils::EXPR(ASR::make_StringConstant_t(al, loc, s2c(al, second_res), arg_seperator_type))); - res_tuple.push_back(al, ASRUtils::EXPR(ASR::make_StringConstant_t(al, loc, s2c(al, third_res), arg_seperator_type))); - - res_tuple_type.push_back(al, arg_seperator_type); - res_tuple_type.push_back(al,arg_seperator_type); - res_tuple_type.push_back(al,arg_seperator_type); - - ASR::ttype_t *tuple_type = ASRUtils::TYPE(ASR::make_Tuple_t(al, loc, res_tuple_type.p, res_tuple_type.n)); - tmp = ASR::make_TupleConstant_t(al, loc, res_tuple.p, res_tuple.size(), tuple_type); - + string_create_partition(s_var, arg_seperator, loc, arg_seperator_type); + } else { - /* - Invoked when Seperator argument is provided as a variable - b: str = "ple" - Eg: "apple".seperator(b) - */ - ASR::symbol_t *fn_div = resolve_intrinsic_function(loc, "_lpython_str_partition"); - Vec args; - args.reserve(al, 1); - ASR::call_arg_t str_arg; - str_arg.loc = loc; - - ASR::ttype_t *str_type = ASRUtils::TYPE(ASR::make_Character_t(al, loc, 1, s_var.size(), nullptr, nullptr, 0)); - str_arg.m_value = ASRUtils::EXPR(ASR::make_StringConstant_t(al, loc, s2c(al, s_var), str_type)); - - ASR::call_arg_t sub_arg; - sub_arg.loc = loc; - sub_arg.m_value = arg_seperator; - args.push_back(al, str_arg); - args.push_back(al, sub_arg); - tmp = make_call_helper(al, fn_div, current_scope, args, "_lpython_str_partition", loc); + string_compile_time_evaluation(loc, attr_name, s_var, arg_seperator); + } return; From 745b39e42f44bfaee06171302043a4a5dee06a79 Mon Sep 17 00:00:00 2001 From: Harsh Singh Jadon Date: Sun, 26 Mar 2023 14:34:30 +0530 Subject: [PATCH 3/7] Names changed for creation and evaluation --- src/lpython/semantics/python_ast_to_asr.cpp | 99 +++++++++++---------- 1 file changed, 52 insertions(+), 47 deletions(-) diff --git a/src/lpython/semantics/python_ast_to_asr.cpp b/src/lpython/semantics/python_ast_to_asr.cpp index 9dda3775ee..980ca0a61a 100644 --- a/src/lpython/semantics/python_ast_to_asr.cpp +++ b/src/lpython/semantics/python_ast_to_asr.cpp @@ -5798,59 +5798,64 @@ class BodyVisitor : public CommonVisitor { return res; } - void string_create_partition(std::string &s_var, ASR::expr_t* arg_seperator, - const Location &loc, ASR::ttype_t *arg_seperator_type) { - /* - Invoked when Seperator argument is provided as a constant string - */ - ASR::StringConstant_t* seperator_constant = ASR::down_cast(arg_seperator); - std::string seperator = seperator_constant->m_s; + void string_compile_time_evaluation(std::string &s_var, ASR::expr_t* arg_seperator, + const Location &loc, ASR::ttype_t *arg_seperator_type, std::string attr_name) { - if(seperator.size() == 0) { - throw SemanticError("empty separator", arg_seperator->base.loc); - } - - /* - using KMP algorithm to find seperator inside string - res_tuple: stores the resulting 3-tuple expression ---> - (if seperator exist) tuple: (left of seperator, seperator, right of seperator) - (if seperator does not exist) tuple: (string, "", "") - res_tuple_type: stores the type of each expression present in resulting 3-tuple - */ - int seperator_pos = KMP_string_match(s_var, seperator); + if(attr_name == "partition") { + /* + Invoked when Seperator argument is provided as a constant string + */ + ASR::StringConstant_t* seperator_constant = ASR::down_cast(arg_seperator); + std::string seperator = seperator_constant->m_s; - Vec res_tuple; - Vec res_tuple_type; - res_tuple.reserve(al, 3); - res_tuple_type.reserve(al, 3); + if(seperator.size() == 0) { + throw SemanticError("empty separator", arg_seperator->base.loc); + } - std :: string first_res, second_res, third_res; + /* + using KMP algorithm to find seperator inside string + res_tuple: stores the resulting 3-tuple expression ---> + (if seperator exist) tuple: (left of seperator, seperator, right of seperator) + (if seperator does not exist) tuple: (string, "", "") + res_tuple_type: stores the type of each expression present in resulting 3-tuple + */ + int seperator_pos = KMP_string_match(s_var, seperator); - if(seperator_pos == -1) { - /* seperator does not exist */ - first_res = s_var; - second_res = ""; - third_res = ""; - } else { - first_res = s_var.substr(0, seperator_pos); - second_res = seperator; - third_res = s_var.substr(seperator_pos + seperator.size()); - } + Vec res_tuple; + Vec res_tuple_type; + res_tuple.reserve(al, 3); + res_tuple_type.reserve(al, 3); + + std :: string first_res, second_res, third_res; + + if(seperator_pos == -1) { + /* seperator does not exist */ + first_res = s_var; + second_res = ""; + third_res = ""; + } else { + first_res = s_var.substr(0, seperator_pos); + second_res = seperator; + third_res = s_var.substr(seperator_pos + seperator.size()); + } - res_tuple.push_back(al, ASRUtils::EXPR(ASR::make_StringConstant_t(al, loc, s2c(al, first_res), arg_seperator_type))); - res_tuple.push_back(al, ASRUtils::EXPR(ASR::make_StringConstant_t(al, loc, s2c(al, second_res), arg_seperator_type))); - res_tuple.push_back(al, ASRUtils::EXPR(ASR::make_StringConstant_t(al, loc, s2c(al, third_res), arg_seperator_type))); - res_tuple_type.push_back(al, arg_seperator_type); - res_tuple_type.push_back(al,arg_seperator_type); - res_tuple_type.push_back(al,arg_seperator_type); + res_tuple.push_back(al, ASRUtils::EXPR(ASR::make_StringConstant_t(al, loc, s2c(al, first_res), arg_seperator_type))); + res_tuple.push_back(al, ASRUtils::EXPR(ASR::make_StringConstant_t(al, loc, s2c(al, second_res), arg_seperator_type))); + res_tuple.push_back(al, ASRUtils::EXPR(ASR::make_StringConstant_t(al, loc, s2c(al, third_res), arg_seperator_type))); + res_tuple_type.push_back(al, arg_seperator_type); + res_tuple_type.push_back(al,arg_seperator_type); + res_tuple_type.push_back(al,arg_seperator_type); - ASR::ttype_t *tuple_type = ASRUtils::TYPE(ASR::make_Tuple_t(al, loc, res_tuple_type.p, res_tuple_type.n)); - tmp = ASR::make_TupleConstant_t(al, loc, res_tuple.p, res_tuple.size(), tuple_type); + ASR::ttype_t *tuple_type = ASRUtils::TYPE(ASR::make_Tuple_t(al, loc, res_tuple_type.p, res_tuple_type.n)); + tmp = ASR::make_TupleConstant_t(al, loc, res_tuple.p, res_tuple.size(), tuple_type); - return; + + + return; + } } - void string_compile_time_evaluation(const Location &loc, std::string attr_name, std::string &s_var, + void string_create_partition(const Location &loc, std::string attr_name, std::string &s_var, ASR::expr_t *arg_seperator) { if(attr_name == "partition") { @@ -6108,12 +6113,12 @@ class BodyVisitor : public CommonVisitor { if (ASRUtils::expr_value(arg_seperator) != nullptr) { - string_create_partition(s_var, arg_seperator, loc, arg_seperator_type); + string_compile_time_evaluation(s_var, arg_seperator, loc, arg_seperator_type, attr_name); } else { - string_compile_time_evaluation(loc, attr_name, s_var, arg_seperator); - + string_create_partition(loc, attr_name, s_var, arg_seperator); + } return; From 1218583df61609a11bd5b1f3fe79dae6dba25640 Mon Sep 17 00:00:00 2001 From: Harsh Singh Jadon Date: Tue, 28 Mar 2023 21:12:25 +0530 Subject: [PATCH 4/7] Resolved Partition Issues --- src/lpython/semantics/python_ast_to_asr.cpp | 164 ++++++++------------ src/runtime/lpython_builtin.py | 6 - 2 files changed, 67 insertions(+), 103 deletions(-) diff --git a/src/lpython/semantics/python_ast_to_asr.cpp b/src/lpython/semantics/python_ast_to_asr.cpp index 71d94a0263..49334eca1e 100644 --- a/src/lpython/semantics/python_ast_to_asr.cpp +++ b/src/lpython/semantics/python_ast_to_asr.cpp @@ -5798,90 +5798,72 @@ class BodyVisitor : public CommonVisitor { return res; } - void string_compile_time_evaluation(std::string &s_var, ASR::expr_t* arg_seperator, - const Location &loc, ASR::ttype_t *arg_seperator_type, std::string attr_name) { - - if(attr_name == "partition") { - /* - Invoked when Seperator argument is provided as a constant string - */ - ASR::StringConstant_t* seperator_constant = ASR::down_cast(arg_seperator); - std::string seperator = seperator_constant->m_s; - - if(seperator.size() == 0) { - throw SemanticError("empty separator", arg_seperator->base.loc); - } - - /* - using KMP algorithm to find seperator inside string - res_tuple: stores the resulting 3-tuple expression ---> - (if seperator exist) tuple: (left of seperator, seperator, right of seperator) - (if seperator does not exist) tuple: (string, "", "") - res_tuple_type: stores the type of each expression present in resulting 3-tuple - */ - int seperator_pos = KMP_string_match(s_var, seperator); - - Vec res_tuple; - Vec res_tuple_type; - res_tuple.reserve(al, 3); - res_tuple_type.reserve(al, 3); - - std :: string first_res, second_res, third_res; - - if(seperator_pos == -1) { - /* seperator does not exist */ - first_res = s_var; - second_res = ""; - third_res = ""; - } else { - first_res = s_var.substr(0, seperator_pos); - second_res = seperator; - third_res = s_var.substr(seperator_pos + seperator.size()); - } - - res_tuple.push_back(al, ASRUtils::EXPR(ASR::make_StringConstant_t(al, loc, s2c(al, first_res), arg_seperator_type))); - res_tuple.push_back(al, ASRUtils::EXPR(ASR::make_StringConstant_t(al, loc, s2c(al, second_res), arg_seperator_type))); - res_tuple.push_back(al, ASRUtils::EXPR(ASR::make_StringConstant_t(al, loc, s2c(al, third_res), arg_seperator_type))); - res_tuple_type.push_back(al, arg_seperator_type); - res_tuple_type.push_back(al,arg_seperator_type); - res_tuple_type.push_back(al,arg_seperator_type); - - ASR::ttype_t *tuple_type = ASRUtils::TYPE(ASR::make_Tuple_t(al, loc, res_tuple_type.p, res_tuple_type.n)); - tmp = ASR::make_TupleConstant_t(al, loc, res_tuple.p, res_tuple.size(), tuple_type); - - - - return; + ASR::expr_t* evaluate_partition(std::string &s_var, ASR::expr_t* arg_seperator, + const Location &loc, ASR::ttype_t *arg_seperator_type) { + /* + Invoked when Seperator argument is provided as a constant string + */ + ASR::StringConstant_t* seperator_constant = ASR::down_cast(arg_seperator); + std::string seperator = seperator_constant->m_s; + if(seperator.size() == 0) { + throw SemanticError("empty separator", arg_seperator->base.loc); + } + /* + using KMP algorithm to find seperator inside string + res_tuple: stores the resulting 3-tuple expression ---> + (if seperator exist) tuple: (left of seperator, seperator, right of seperator) + (if seperator does not exist) tuple: (string, "", "") + res_tuple_type: stores the type of each expression present in resulting 3-tuple + */ + int seperator_pos = KMP_string_match(s_var, seperator); + Vec res_tuple; + Vec res_tuple_type; + res_tuple.reserve(al, 3); + res_tuple_type.reserve(al, 3); + std :: string first_res, second_res, third_res; + if(seperator_pos == -1) { + /* seperator does not exist */ + first_res = s_var; + second_res = ""; + third_res = ""; + } else { + first_res = s_var.substr(0, seperator_pos); + second_res = seperator; + third_res = s_var.substr(seperator_pos + seperator.size()); } - } - - void string_create_partition(const Location &loc, std::string attr_name, std::string &s_var, - ASR::expr_t *arg_seperator) { - - if(attr_name == "partition") { - /* - Invoked when Seperator argument is provided as a variable - b: str = "ple" - Eg: "apple".seperator(b) - */ - ASR::symbol_t *fn_div = resolve_intrinsic_function(loc, "_lpython_str_partition"); - Vec args; - args.reserve(al, 1); - ASR::call_arg_t str_arg; - str_arg.loc = loc; - - ASR::ttype_t *str_type = ASRUtils::TYPE(ASR::make_Character_t(al, loc, 1, s_var.size(), nullptr, nullptr, 0)); - str_arg.m_value = ASRUtils::EXPR(ASR::make_StringConstant_t(al, loc, s2c(al, s_var), str_type)); - - ASR::call_arg_t sub_arg; - sub_arg.loc = loc; - sub_arg.m_value = arg_seperator; - args.push_back(al, str_arg); - args.push_back(al, sub_arg); - tmp = make_call_helper(al, fn_div, current_scope, args, "_lpython_str_partition", loc); - } + res_tuple.push_back(al, ASRUtils::EXPR(ASR::make_StringConstant_t(al, loc, s2c(al, first_res), arg_seperator_type))); + res_tuple.push_back(al, ASRUtils::EXPR(ASR::make_StringConstant_t(al, loc, s2c(al, second_res), arg_seperator_type))); + res_tuple.push_back(al, ASRUtils::EXPR(ASR::make_StringConstant_t(al, loc, s2c(al, third_res), arg_seperator_type))); + res_tuple_type.push_back(al, arg_seperator_type); + res_tuple_type.push_back(al,arg_seperator_type); + res_tuple_type.push_back(al,arg_seperator_type); + ASR::ttype_t *tuple_type = ASRUtils::TYPE(ASR::make_Tuple_t(al, loc, res_tuple_type.p, res_tuple_type.n)); + ASR::expr_t* value = ASRUtils::EXPR(ASR::make_TupleConstant_t(al, loc, res_tuple.p, res_tuple.size(), tuple_type)); + return value; + } + void create_partition(const Location &loc, std::string &s_var, ASR::expr_t *arg_seperator, + ASR::ttype_t *arg_seperator_type, ASR::expr_t *value) { + /* + Invoked when Seperator argument is provided as a variable + b: str = "ple" + Eg: "apple".seperator(b) + */ + ASR::symbol_t *fn_div = resolve_intrinsic_function(loc, "_lpython_str_partition"); + Vec args; + args.reserve(al, 1); + ASR::call_arg_t str_arg; + str_arg.loc = loc; + ASR::ttype_t *str_type = ASRUtils::TYPE(ASR::make_Character_t(al, loc, 1, s_var.size(), nullptr, nullptr, 0)); + str_arg.m_value = ASRUtils::EXPR(ASR::make_StringConstant_t(al, loc, s2c(al, s_var), str_type)); + ASR::call_arg_t sub_arg; + sub_arg.loc = loc; + sub_arg.m_value = arg_seperator; + args.push_back(al, str_arg); + args.push_back(al, sub_arg); + tmp = make_call_helper(al, fn_div, current_scope, args, "_lpython_str_partition", loc); + ASR::down_cast(tmp)->m_value = value; return; } @@ -6085,44 +6067,32 @@ class BodyVisitor : public CommonVisitor { } return; } else if (attr_name == "partition") { - /* str.partition(seperator) ----> - Split the string at the first occurrence of sep, and return a 3-tuple containing the part before the separator, the separator itself, and the part after the separator. If the separator is not found, return a 3-tuple containing the string itself, followed by two empty strings. */ - if (args.size() != 1) { throw SemanticError("str.partition() takes one arguments", loc); } - ASR::expr_t *arg_seperator = args[0].m_value; ASR::ttype_t *arg_seperator_type = ASRUtils::expr_type(arg_seperator); if (!ASRUtils::is_character(*arg_seperator_type)) { throw SemanticError("str.partition() takes one arguments of type: str", arg_seperator->base.loc); } - if(s_var.size() == 0) { throw SemanticError("string to undergo partition cannot be empty",loc); } - - if (ASRUtils::expr_value(arg_seperator) != nullptr) { - - string_compile_time_evaluation(s_var, arg_seperator, loc, arg_seperator_type, attr_name); - - } else { - - string_create_partition(loc, attr_name, s_var, arg_seperator); - + ASR::expr_t *value = nullptr; + if(ASRUtils::expr_value(arg_seperator)) { + value = evaluate_partition(s_var, arg_seperator, loc, arg_seperator_type); } - + create_partition(loc, s_var, arg_seperator, arg_seperator_type, value); return; - } else { throw SemanticError("'str' object has no attribute '" + attr_name + "'", loc); diff --git a/src/runtime/lpython_builtin.py b/src/runtime/lpython_builtin.py index cc4b338d99..0b13c714a2 100644 --- a/src/runtime/lpython_builtin.py +++ b/src/runtime/lpython_builtin.py @@ -800,26 +800,20 @@ def _lpython_str_endswith(s: str, suffix: str) -> bool: @overload def _lpython_str_partition(s:str, sep: str) -> tuple[str, str, str]: - """ Returns a 3-tuple splitted around seperator """ - if(len(s) == 0): raise ValueError('empty string cannot be partitioned') - if(len(sep) == 0): raise ValueError('empty seperator') - res : tuple[str, str, str] ind : i32 ind = _lpython_str_find(s, sep) - if(ind == -1): res = (s, "", "") else: res = (s[0:ind], sep, s[ind+len(sep): len(s)]) - return res From d25cbfb4d82e81e28e9a7df50265ed1ab4e47e86 Mon Sep 17 00:00:00 2001 From: Harsh Singh Jadon Date: Tue, 28 Mar 2023 21:26:45 +0530 Subject: [PATCH 5/7] Updated Test references --- tests/reference/asr-array_01_decl-39cf894.json | 2 +- tests/reference/asr-array_01_decl-39cf894.stdout | 2 +- tests/reference/asr-array_02_decl-e8f6874.json | 2 +- tests/reference/asr-array_02_decl-e8f6874.stdout | 2 +- tests/reference/asr-bindc_02-bc1a7ea.json | 2 +- tests/reference/asr-bindc_02-bc1a7ea.stdout | 2 +- tests/reference/asr-cast-435c233.json | 2 +- tests/reference/asr-cast-435c233.stdout | 2 +- tests/reference/asr-complex1-f26c460.json | 2 +- tests/reference/asr-complex1-f26c460.stdout | 2 +- tests/reference/asr-constants1-5828e8a.json | 2 +- tests/reference/asr-constants1-5828e8a.stdout | 2 +- tests/reference/asr-elemental_01-b58df26.json | 2 +- tests/reference/asr-elemental_01-b58df26.stdout | 2 +- tests/reference/asr-expr10-efcbb1b.json | 2 +- tests/reference/asr-expr10-efcbb1b.stdout | 2 +- tests/reference/asr-expr13-81bdb5a.json | 2 +- tests/reference/asr-expr13-81bdb5a.stdout | 2 +- tests/reference/asr-expr7-480ba2f.json | 2 +- tests/reference/asr-expr7-480ba2f.stdout | 2 +- tests/reference/asr-expr8-6beda60.json | 2 +- tests/reference/asr-expr8-6beda60.stdout | 2 +- tests/reference/asr-expr_05-3a37324.json | 2 +- tests/reference/asr-expr_05-3a37324.stdout | 2 +- tests/reference/asr-expr_09-f3e89c8.json | 2 +- tests/reference/asr-expr_09-f3e89c8.stdout | 2 +- tests/reference/asr-expr_14-f2bd343.json | 2 +- tests/reference/asr-expr_14-f2bd343.stdout | 2 +- tests/reference/asr-generics_array_01-682b1b2.json | 2 +- tests/reference/asr-generics_array_01-682b1b2.stdout | 2 +- tests/reference/asr-generics_array_02-22c8dc1.json | 2 +- tests/reference/asr-generics_array_02-22c8dc1.stdout | 2 +- tests/reference/asr-generics_array_03-fb3706c.json | 2 +- tests/reference/asr-generics_array_03-fb3706c.stdout | 2 +- tests/reference/asr-structs_05-fa98307.json | 2 +- tests/reference/asr-structs_05-fa98307.stdout | 2 +- tests/reference/asr-test_bool_binop-f856ef0.json | 2 +- tests/reference/asr-test_bool_binop-f856ef0.stdout | 2 +- tests/reference/asr-test_builtin_abs-c74d2c9.json | 2 +- tests/reference/asr-test_builtin_abs-c74d2c9.stdout | 2 +- tests/reference/asr-test_builtin_bin-52ba9fa.json | 2 +- tests/reference/asr-test_builtin_bin-52ba9fa.stdout | 2 +- tests/reference/asr-test_builtin_bool-330223a.json | 2 +- tests/reference/asr-test_builtin_bool-330223a.stdout | 2 +- tests/reference/asr-test_builtin_hex-64bd268.json | 2 +- tests/reference/asr-test_builtin_hex-64bd268.stdout | 2 +- tests/reference/asr-test_builtin_oct-20b9066.json | 2 +- tests/reference/asr-test_builtin_oct-20b9066.stdout | 2 +- tests/reference/asr-test_builtin_pow-f02fcda.json | 2 +- tests/reference/asr-test_builtin_pow-f02fcda.stdout | 2 +- tests/reference/asr-test_builtin_round-7417a21.json | 2 +- tests/reference/asr-test_builtin_round-7417a21.stdout | 2 +- tests/reference/asr-test_c_interop_01-e374f43.json | 2 +- tests/reference/asr-test_c_interop_01-e374f43.stdout | 2 +- tests/reference/asr-test_complex_01-a6def58.json | 2 +- tests/reference/asr-test_complex_01-a6def58.stdout | 2 +- tests/reference/asr-test_complex_02-782ba2d.json | 2 +- tests/reference/asr-test_complex_02-782ba2d.stdout | 2 +- tests/reference/asr-test_max_min-3c2fc51.json | 2 +- tests/reference/asr-test_max_min-3c2fc51.stdout | 2 +- tests/reference/asr-test_numpy_03-e600a49.json | 2 +- tests/reference/asr-test_numpy_03-e600a49.stdout | 2 +- tests/reference/asr-test_numpy_04-ecbb614.json | 2 +- tests/reference/asr-test_numpy_04-ecbb614.stdout | 2 +- tests/reference/asr-test_pow-3f5d550.json | 2 +- tests/reference/asr-test_pow-3f5d550.stdout | 2 +- tests/reference/asr-vec_01-66ac423.json | 2 +- tests/reference/asr-vec_01-66ac423.stdout | 2 +- tests/reference/pass_loop_vectorise-vec_01-be9985e.json | 2 +- tests/reference/pass_loop_vectorise-vec_01-be9985e.stdout | 2 +- 70 files changed, 70 insertions(+), 70 deletions(-) diff --git a/tests/reference/asr-array_01_decl-39cf894.json b/tests/reference/asr-array_01_decl-39cf894.json index 356b0e0986..1e720e3c4f 100644 --- a/tests/reference/asr-array_01_decl-39cf894.json +++ b/tests/reference/asr-array_01_decl-39cf894.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-array_01_decl-39cf894.stdout", - "stdout_hash": "8a16e5822c8482c4852f99853f41a540874a26b728cfa7e9b673c5a4", + "stdout_hash": "3ab4cfa056d997fdbdcc663d3bb8007db20e5cd96d65b964b3585e5b", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-array_01_decl-39cf894.stdout b/tests/reference/asr-array_01_decl-39cf894.stdout index 6bf05e0978..5de70bba1e 100644 --- a/tests/reference/asr-array_01_decl-39cf894.stdout +++ b/tests/reference/asr-array_01_decl-39cf894.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 191 {ArraySizes: (EnumType (SymbolTable 182 {SIZE_10: (Variable 182 SIZE_10 [] Local (IntegerConstant 10 (Integer 4 [])) (IntegerConstant -1 (Integer 8 [])) Default (Integer 4 []) Source Public Required .false.), SIZE_3: (Variable 182 SIZE_3 [] Local (IntegerConstant 3 (Integer 4 [])) (IntegerConstant -1 (Integer 8 [])) Default (Integer 4 []) Source Public Required .false.)}) ArraySizes [] [SIZE_3 SIZE_10] Source Public IntegerUnique (Integer 4 []) ()), _lpython_main_program: (Function (SymbolTable 190 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [declare_arrays] [] [(SubroutineCall 191 declare_arrays () [] ())] () Public .false. .false.), accept_f32_array: (Function (SymbolTable 186 {_lpython_return_variable: (Variable 186 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), xf32: (Variable 186 xf32 [] InOut () () Default (Real 4 [(() ())]) Source Public Required .false.)}) accept_f32_array (FunctionType [(Real 4 [(() ())])] (Real 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 186 xf32)] [(= (ArrayItem (Var 186 xf32) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Real 4 []) RowMajor ()) (Cast (RealConstant 32.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 32.000000 (Real 4 []))) ()) (= (Var 186 _lpython_return_variable) (ArrayItem (Var 186 xf32) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Real 4 []) RowMajor ()) ()) (Return)] (Var 186 _lpython_return_variable) Public .false. .false.), accept_f64_array: (Function (SymbolTable 187 {_lpython_return_variable: (Variable 187 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), xf64: (Variable 187 xf64 [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.)}) accept_f64_array (FunctionType [(Real 8 [(() ())])] (Real 8 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 187 xf64)] [(= (ArrayItem (Var 187 xf64) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Real 8 []) RowMajor ()) (RealConstant 64.000000 (Real 8 [])) ()) (= (Var 187 _lpython_return_variable) (ArrayItem (Var 187 xf64) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Real 8 []) RowMajor ()) ()) (Return)] (Var 187 _lpython_return_variable) Public .false. .false.), accept_i16_array: (Function (SymbolTable 183 {_lpython_return_variable: (Variable 183 _lpython_return_variable [] ReturnVar () () Default (Integer 2 []) Source Public Required .false.), xi16: (Variable 183 xi16 [] InOut () () Default (Integer 2 [(() ())]) Source Public Required .false.)}) accept_i16_array (FunctionType [(Integer 2 [(() ())])] (Integer 2 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 183 xi16)] [(= (ArrayItem (Var 183 xi16) [(() (IntegerConstant 2 (Integer 4 [])) ())] (Integer 2 []) RowMajor ()) (Cast (IntegerConstant 32 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 32 (Integer 2 []))) ()) (= (Var 183 _lpython_return_variable) (ArrayItem (Var 183 xi16) [(() (IntegerConstant 2 (Integer 4 [])) ())] (Integer 2 []) RowMajor ()) ()) (Return)] (Var 183 _lpython_return_variable) Public .false. .false.), accept_i32_array: (Function (SymbolTable 184 {_lpython_return_variable: (Variable 184 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), xi32: (Variable 184 xi32 [] InOut () () Default (Integer 4 [(() ())]) Source Public Required .false.)}) accept_i32_array (FunctionType [(Integer 4 [(() ())])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 184 xi32)] [(= (ArrayItem (Var 184 xi32) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 32 (Integer 4 [])) ()) (= (Var 184 _lpython_return_variable) (ArrayItem (Var 184 xi32) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) ()) (Return)] (Var 184 _lpython_return_variable) Public .false. .false.), accept_i64_array: (Function (SymbolTable 185 {_lpython_return_variable: (Variable 185 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), xi64: (Variable 185 xi64 [] InOut () () Default (Integer 8 [(() ())]) Source Public Required .false.)}) accept_i64_array (FunctionType [(Integer 8 [(() ())])] (Integer 8 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 185 xi64)] [(= (ArrayItem (Var 185 xi64) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 8 []) RowMajor ()) (Cast (IntegerConstant 64 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 64 (Integer 8 []))) ()) (= (Var 185 _lpython_return_variable) (ArrayItem (Var 185 xi64) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 8 []) RowMajor ()) ()) (Return)] (Var 185 _lpython_return_variable) Public .false. .false.), declare_arrays: (Function (SymbolTable 188 {ac32: (Variable 188 ac32 [] Local () () Default (Complex 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.), ac64: (Variable 188 ac64 [] Local () () Default (Complex 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 [])))]) Source Public Required .false.), af32: (Variable 188 af32 [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.), af64: (Variable 188 af64 [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 [])))]) Source Public Required .false.), ai16: (Variable 188 ai16 [] Local () () Default (Integer 2 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.), ai32: (Variable 188 ai32 [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.), ai64: (Variable 188 ai64 [] Local () () Default (Integer 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 [])))]) Source Public Required .false.)}) declare_arrays (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [accept_i16_array accept_i32_array accept_i64_array accept_f32_array accept_f64_array] [] [(Print () [(FunctionCall 191 accept_i16_array () [((Var 188 ai16))] (Integer 2 []) () ())] () ()) (Print () [(FunctionCall 191 accept_i32_array () [((Var 188 ai32))] (Integer 4 []) () ())] () ()) (Print () [(FunctionCall 191 accept_i64_array () [((Var 188 ai64))] (Integer 8 []) () ())] () ()) (Print () [(FunctionCall 191 accept_f32_array () [((Var 188 af32))] (Real 4 []) () ())] () ()) (Print () [(FunctionCall 191 accept_f64_array () [((Var 188 af64))] (Real 8 []) () ())] () ())] () Public .false. .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 189 {_lpython_main_program: (ExternalSymbol 189 _lpython_main_program 191 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 189 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_4___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_4___mod 79 __lpython_overloaded_4___mod lpython_builtin [] __lpython_overloaded_4___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_4___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_4___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_2___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 0.500000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) (RealConstant 3.141593 (Real 4 [])) Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) (RealConstant 3.141593 (Real 8 [])) Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 192 {ArraySizes: (EnumType (SymbolTable 183 {SIZE_10: (Variable 183 SIZE_10 [] Local (IntegerConstant 10 (Integer 4 [])) (IntegerConstant -1 (Integer 8 [])) Default (Integer 4 []) Source Public Required .false.), SIZE_3: (Variable 183 SIZE_3 [] Local (IntegerConstant 3 (Integer 4 [])) (IntegerConstant -1 (Integer 8 [])) Default (Integer 4 []) Source Public Required .false.)}) ArraySizes [] [SIZE_3 SIZE_10] Source Public IntegerUnique (Integer 4 []) ()), _lpython_main_program: (Function (SymbolTable 191 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [declare_arrays] [] [(SubroutineCall 192 declare_arrays () [] ())] () Public .false. .false.), accept_f32_array: (Function (SymbolTable 187 {_lpython_return_variable: (Variable 187 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), xf32: (Variable 187 xf32 [] InOut () () Default (Real 4 [(() ())]) Source Public Required .false.)}) accept_f32_array (FunctionType [(Real 4 [(() ())])] (Real 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 187 xf32)] [(= (ArrayItem (Var 187 xf32) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Real 4 []) RowMajor ()) (Cast (RealConstant 32.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 32.000000 (Real 4 []))) ()) (= (Var 187 _lpython_return_variable) (ArrayItem (Var 187 xf32) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Real 4 []) RowMajor ()) ()) (Return)] (Var 187 _lpython_return_variable) Public .false. .false.), accept_f64_array: (Function (SymbolTable 188 {_lpython_return_variable: (Variable 188 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), xf64: (Variable 188 xf64 [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.)}) accept_f64_array (FunctionType [(Real 8 [(() ())])] (Real 8 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 188 xf64)] [(= (ArrayItem (Var 188 xf64) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Real 8 []) RowMajor ()) (RealConstant 64.000000 (Real 8 [])) ()) (= (Var 188 _lpython_return_variable) (ArrayItem (Var 188 xf64) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Real 8 []) RowMajor ()) ()) (Return)] (Var 188 _lpython_return_variable) Public .false. .false.), accept_i16_array: (Function (SymbolTable 184 {_lpython_return_variable: (Variable 184 _lpython_return_variable [] ReturnVar () () Default (Integer 2 []) Source Public Required .false.), xi16: (Variable 184 xi16 [] InOut () () Default (Integer 2 [(() ())]) Source Public Required .false.)}) accept_i16_array (FunctionType [(Integer 2 [(() ())])] (Integer 2 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 184 xi16)] [(= (ArrayItem (Var 184 xi16) [(() (IntegerConstant 2 (Integer 4 [])) ())] (Integer 2 []) RowMajor ()) (Cast (IntegerConstant 32 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 32 (Integer 2 []))) ()) (= (Var 184 _lpython_return_variable) (ArrayItem (Var 184 xi16) [(() (IntegerConstant 2 (Integer 4 [])) ())] (Integer 2 []) RowMajor ()) ()) (Return)] (Var 184 _lpython_return_variable) Public .false. .false.), accept_i32_array: (Function (SymbolTable 185 {_lpython_return_variable: (Variable 185 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), xi32: (Variable 185 xi32 [] InOut () () Default (Integer 4 [(() ())]) Source Public Required .false.)}) accept_i32_array (FunctionType [(Integer 4 [(() ())])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 185 xi32)] [(= (ArrayItem (Var 185 xi32) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 32 (Integer 4 [])) ()) (= (Var 185 _lpython_return_variable) (ArrayItem (Var 185 xi32) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) ()) (Return)] (Var 185 _lpython_return_variable) Public .false. .false.), accept_i64_array: (Function (SymbolTable 186 {_lpython_return_variable: (Variable 186 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), xi64: (Variable 186 xi64 [] InOut () () Default (Integer 8 [(() ())]) Source Public Required .false.)}) accept_i64_array (FunctionType [(Integer 8 [(() ())])] (Integer 8 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 186 xi64)] [(= (ArrayItem (Var 186 xi64) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 8 []) RowMajor ()) (Cast (IntegerConstant 64 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 64 (Integer 8 []))) ()) (= (Var 186 _lpython_return_variable) (ArrayItem (Var 186 xi64) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 8 []) RowMajor ()) ()) (Return)] (Var 186 _lpython_return_variable) Public .false. .false.), declare_arrays: (Function (SymbolTable 189 {ac32: (Variable 189 ac32 [] Local () () Default (Complex 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.), ac64: (Variable 189 ac64 [] Local () () Default (Complex 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 [])))]) Source Public Required .false.), af32: (Variable 189 af32 [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.), af64: (Variable 189 af64 [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 [])))]) Source Public Required .false.), ai16: (Variable 189 ai16 [] Local () () Default (Integer 2 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.), ai32: (Variable 189 ai32 [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.), ai64: (Variable 189 ai64 [] Local () () Default (Integer 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 [])))]) Source Public Required .false.)}) declare_arrays (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [accept_i16_array accept_i32_array accept_i64_array accept_f32_array accept_f64_array] [] [(Print () [(FunctionCall 192 accept_i16_array () [((Var 189 ai16))] (Integer 2 []) () ())] () ()) (Print () [(FunctionCall 192 accept_i32_array () [((Var 189 ai32))] (Integer 4 []) () ())] () ()) (Print () [(FunctionCall 192 accept_i64_array () [((Var 189 ai64))] (Integer 8 []) () ())] () ()) (Print () [(FunctionCall 192 accept_f32_array () [((Var 189 af32))] (Real 4 []) () ())] () ()) (Print () [(FunctionCall 192 accept_f64_array () [((Var 189 af64))] (Real 8 []) () ())] () ())] () Public .false. .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 190 {_lpython_main_program: (ExternalSymbol 190 _lpython_main_program 192 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 190 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_4___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_4___mod 79 __lpython_overloaded_4___mod lpython_builtin [] __lpython_overloaded_4___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_4___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_4___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_2___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 0.500000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) (RealConstant 3.141593 (Real 4 [])) Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) (RealConstant 3.141593 (Real 8 [])) Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) diff --git a/tests/reference/asr-array_02_decl-e8f6874.json b/tests/reference/asr-array_02_decl-e8f6874.json index cd43adeddb..34c00a7917 100644 --- a/tests/reference/asr-array_02_decl-e8f6874.json +++ b/tests/reference/asr-array_02_decl-e8f6874.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-array_02_decl-e8f6874.stdout", - "stdout_hash": "f12c18aa34d16d8cf0410f0b814b31772763b329843bb762d8ef9c7c", + "stdout_hash": "b5e35cbd9bebc76478eb79a404c87abf7bb7a44b0aee62c525386542", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-array_02_decl-e8f6874.stdout b/tests/reference/asr-array_02_decl-e8f6874.stdout index ffa9cc3a70..9e708bff10 100644 --- a/tests/reference/asr-array_02_decl-e8f6874.stdout +++ b/tests/reference/asr-array_02_decl-e8f6874.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 189 {_lpython_main_program: (Function (SymbolTable 188 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [declare_arrays] [] [(SubroutineCall 189 declare_arrays () [] ())] () Public .false. .false.), accept_multidim_f32_array: (Function (SymbolTable 184 {_lpython_return_variable: (Variable 184 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), xf32: (Variable 184 xf32 [] InOut () () Default (Real 4 [(() ())]) Source Public Required .false.)}) accept_multidim_f32_array (FunctionType [(Real 4 [(() ())])] (Real 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 184 xf32)] [(= (Var 184 _lpython_return_variable) (ArrayItem (Var 184 xf32) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Real 4 []) RowMajor ()) ()) (Return)] (Var 184 _lpython_return_variable) Public .false. .false.), accept_multidim_f64_array: (Function (SymbolTable 185 {_lpython_return_variable: (Variable 185 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), xf64: (Variable 185 xf64 [] InOut () () Default (Real 8 [(() ()) (() ())]) Source Public Required .false.)}) accept_multidim_f64_array (FunctionType [(Real 8 [(() ()) (() ())])] (Real 8 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 185 xf64)] [(= (Var 185 _lpython_return_variable) (ArrayItem (Var 185 xf64) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 1 (Integer 4 [])) ())] (Real 8 []) RowMajor ()) ()) (Return)] (Var 185 _lpython_return_variable) Public .false. .false.), accept_multidim_i32_array: (Function (SymbolTable 182 {_lpython_return_variable: (Variable 182 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), xi32: (Variable 182 xi32 [] InOut () () Default (Integer 4 [(() ()) (() ())]) Source Public Required .false.)}) accept_multidim_i32_array (FunctionType [(Integer 4 [(() ()) (() ())])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 182 xi32)] [(= (Var 182 _lpython_return_variable) (ArrayItem (Var 182 xi32) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) ()) (Return)] (Var 182 _lpython_return_variable) Public .false. .false.), accept_multidim_i64_array: (Function (SymbolTable 183 {_lpython_return_variable: (Variable 183 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), xi64: (Variable 183 xi64 [] InOut () () Default (Integer 8 [(() ()) (() ()) (() ())]) Source Public Required .false.)}) accept_multidim_i64_array (FunctionType [(Integer 8 [(() ()) (() ()) (() ())])] (Integer 8 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 183 xi64)] [(= (Var 183 _lpython_return_variable) (ArrayItem (Var 183 xi64) [(() (IntegerConstant 9 (Integer 4 [])) ()) (() (IntegerConstant 9 (Integer 4 [])) ()) (() (IntegerConstant 9 (Integer 4 [])) ())] (Integer 8 []) RowMajor ()) ()) (Return)] (Var 183 _lpython_return_variable) Public .false. .false.), declare_arrays: (Function (SymbolTable 186 {ac32: (Variable 186 ac32 [] Local () () Default (Complex 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 5 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 99 (Integer 4 [])))]) Source Public Required .false.), ac64: (Variable 186 ac64 [] Local () () Default (Complex 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 13 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 11 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) Source Public Required .false.), af32: (Variable 186 af32 [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.), af64: (Variable 186 af64 [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) Source Public Required .false.), ai32: (Variable 186 ai32 [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.), ai64: (Variable 186 ai64 [] Local () () Default (Integer 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 [])))]) Source Public Required .false.)}) declare_arrays (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [accept_multidim_i32_array accept_multidim_i64_array accept_multidim_f32_array accept_multidim_f64_array] [] [(Print () [(FunctionCall 189 accept_multidim_i32_array () [((Var 186 ai32))] (Integer 4 []) () ())] () ()) (Print () [(FunctionCall 189 accept_multidim_i64_array () [((Var 186 ai64))] (Integer 8 []) () ())] () ()) (Print () [(FunctionCall 189 accept_multidim_f32_array () [((Var 186 af32))] (Real 4 []) () ())] () ()) (Print () [(FunctionCall 189 accept_multidim_f64_array () [((Var 186 af64))] (Real 8 []) () ())] () ())] () Public .false. .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 187 {_lpython_main_program: (ExternalSymbol 187 _lpython_main_program 189 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 187 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_4___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_4___mod 79 __lpython_overloaded_4___mod lpython_builtin [] __lpython_overloaded_4___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_4___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_4___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_2___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 0.500000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) (RealConstant 3.141593 (Real 4 [])) Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) (RealConstant 3.141593 (Real 8 [])) Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 190 {_lpython_main_program: (Function (SymbolTable 189 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [declare_arrays] [] [(SubroutineCall 190 declare_arrays () [] ())] () Public .false. .false.), accept_multidim_f32_array: (Function (SymbolTable 185 {_lpython_return_variable: (Variable 185 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), xf32: (Variable 185 xf32 [] InOut () () Default (Real 4 [(() ())]) Source Public Required .false.)}) accept_multidim_f32_array (FunctionType [(Real 4 [(() ())])] (Real 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 185 xf32)] [(= (Var 185 _lpython_return_variable) (ArrayItem (Var 185 xf32) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Real 4 []) RowMajor ()) ()) (Return)] (Var 185 _lpython_return_variable) Public .false. .false.), accept_multidim_f64_array: (Function (SymbolTable 186 {_lpython_return_variable: (Variable 186 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), xf64: (Variable 186 xf64 [] InOut () () Default (Real 8 [(() ()) (() ())]) Source Public Required .false.)}) accept_multidim_f64_array (FunctionType [(Real 8 [(() ()) (() ())])] (Real 8 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 186 xf64)] [(= (Var 186 _lpython_return_variable) (ArrayItem (Var 186 xf64) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 1 (Integer 4 [])) ())] (Real 8 []) RowMajor ()) ()) (Return)] (Var 186 _lpython_return_variable) Public .false. .false.), accept_multidim_i32_array: (Function (SymbolTable 183 {_lpython_return_variable: (Variable 183 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), xi32: (Variable 183 xi32 [] InOut () () Default (Integer 4 [(() ()) (() ())]) Source Public Required .false.)}) accept_multidim_i32_array (FunctionType [(Integer 4 [(() ()) (() ())])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 183 xi32)] [(= (Var 183 _lpython_return_variable) (ArrayItem (Var 183 xi32) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) ()) (Return)] (Var 183 _lpython_return_variable) Public .false. .false.), accept_multidim_i64_array: (Function (SymbolTable 184 {_lpython_return_variable: (Variable 184 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), xi64: (Variable 184 xi64 [] InOut () () Default (Integer 8 [(() ()) (() ()) (() ())]) Source Public Required .false.)}) accept_multidim_i64_array (FunctionType [(Integer 8 [(() ()) (() ()) (() ())])] (Integer 8 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 184 xi64)] [(= (Var 184 _lpython_return_variable) (ArrayItem (Var 184 xi64) [(() (IntegerConstant 9 (Integer 4 [])) ()) (() (IntegerConstant 9 (Integer 4 [])) ()) (() (IntegerConstant 9 (Integer 4 [])) ())] (Integer 8 []) RowMajor ()) ()) (Return)] (Var 184 _lpython_return_variable) Public .false. .false.), declare_arrays: (Function (SymbolTable 187 {ac32: (Variable 187 ac32 [] Local () () Default (Complex 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 5 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 99 (Integer 4 [])))]) Source Public Required .false.), ac64: (Variable 187 ac64 [] Local () () Default (Complex 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 13 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 11 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) Source Public Required .false.), af32: (Variable 187 af32 [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.), af64: (Variable 187 af64 [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) Source Public Required .false.), ai32: (Variable 187 ai32 [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.), ai64: (Variable 187 ai64 [] Local () () Default (Integer 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 10 (Integer 4 [])))]) Source Public Required .false.)}) declare_arrays (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [accept_multidim_i32_array accept_multidim_i64_array accept_multidim_f32_array accept_multidim_f64_array] [] [(Print () [(FunctionCall 190 accept_multidim_i32_array () [((Var 187 ai32))] (Integer 4 []) () ())] () ()) (Print () [(FunctionCall 190 accept_multidim_i64_array () [((Var 187 ai64))] (Integer 8 []) () ())] () ()) (Print () [(FunctionCall 190 accept_multidim_f32_array () [((Var 187 af32))] (Real 4 []) () ())] () ()) (Print () [(FunctionCall 190 accept_multidim_f64_array () [((Var 187 af64))] (Real 8 []) () ())] () ())] () Public .false. .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 188 {_lpython_main_program: (ExternalSymbol 188 _lpython_main_program 190 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 188 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_4___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_4___mod 79 __lpython_overloaded_4___mod lpython_builtin [] __lpython_overloaded_4___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_4___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_4___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_2___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 0.500000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) (RealConstant 3.141593 (Real 4 [])) Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) (RealConstant 3.141593 (Real 8 [])) Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) diff --git a/tests/reference/asr-bindc_02-bc1a7ea.json b/tests/reference/asr-bindc_02-bc1a7ea.json index 10de819461..caf3ac9260 100644 --- a/tests/reference/asr-bindc_02-bc1a7ea.json +++ b/tests/reference/asr-bindc_02-bc1a7ea.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-bindc_02-bc1a7ea.stdout", - "stdout_hash": "6e529f9be21fccf158f130d6e19de9f1f082c54ec129a34a6474d027", + "stdout_hash": "a6d61c15dcefd11bf7f11a0eea824e9584afc245e97407914db7527c", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-bindc_02-bc1a7ea.stdout b/tests/reference/asr-bindc_02-bc1a7ea.stdout index de4cf53277..38b9bf01e7 100644 --- a/tests/reference/asr-bindc_02-bc1a7ea.stdout +++ b/tests/reference/asr-bindc_02-bc1a7ea.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 185 {_lpython_main_program: (Function (SymbolTable 184 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [f] [] [(CPtrToPointer (Var 185 queries) (Var 185 x) ()) (Print () [(Var 185 queries) (Var 185 x)] () ()) (SubroutineCall 185 f () [] ())] () Public .false. .false.), f: (Function (SymbolTable 182 {y: (Variable 182 y [] Local () () Default (Integer 2 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])))]) Source Public Required .false.), yptr1: (Variable 182 yptr1 [] Local () () Default (Pointer (Integer 2 [(() ())])) Source Public Required .false.), yq: (Variable 182 yq [] Local () () Default (CPtr) Source Public Required .false.)}) f (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (ArrayItem (Var 182 y) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 2 []) RowMajor ()) (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 1 (Integer 2 []))) ()) (= (ArrayItem (Var 182 y) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 2 []) RowMajor ()) (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 2 (Integer 2 []))) ()) (= (Var 182 yptr1) (GetPointer (Var 182 y) (Pointer (Integer 2 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])))])) ()) ()) (Print () [(GetPointer (Var 182 y) (Pointer (Integer 2 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])))])) ()) (Var 182 yptr1)] () ()) (Print () [(ArrayItem (Var 182 yptr1) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 2 []) RowMajor ()) (ArrayItem (Var 182 yptr1) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 2 []) RowMajor ())] () ()) (Assert (IntegerCompare (ArrayItem (Var 182 yptr1) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 2 []) RowMajor ()) Eq (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 1 (Integer 2 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (ArrayItem (Var 182 yptr1) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 2 []) RowMajor ()) Eq (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 2 (Integer 2 []))) (Logical 4 []) ()) ()) (CPtrToPointer (Var 182 yq) (Var 182 yptr1) ()) (Print () [(Var 182 yq) (Var 182 yptr1)] () ())] () Public .false. .false.), queries: (Variable 185 queries [] Local () () Default (CPtr) Source Public Required .false.), x: (Variable 185 x [] Local () () Default (Pointer (Integer 2 [(() ())])) Source Public Required .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 183 {_lpython_main_program: (ExternalSymbol 183 _lpython_main_program 185 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 183 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_4___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_4___mod 79 __lpython_overloaded_4___mod lpython_builtin [] __lpython_overloaded_4___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_4___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_4___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_2___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 0.500000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) (RealConstant 3.141593 (Real 4 [])) Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) (RealConstant 3.141593 (Real 8 [])) Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 186 {_lpython_main_program: (Function (SymbolTable 185 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [f] [] [(CPtrToPointer (Var 186 queries) (Var 186 x) ()) (Print () [(Var 186 queries) (Var 186 x)] () ()) (SubroutineCall 186 f () [] ())] () Public .false. .false.), f: (Function (SymbolTable 183 {y: (Variable 183 y [] Local () () Default (Integer 2 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])))]) Source Public Required .false.), yptr1: (Variable 183 yptr1 [] Local () () Default (Pointer (Integer 2 [(() ())])) Source Public Required .false.), yq: (Variable 183 yq [] Local () () Default (CPtr) Source Public Required .false.)}) f (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (ArrayItem (Var 183 y) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 2 []) RowMajor ()) (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 1 (Integer 2 []))) ()) (= (ArrayItem (Var 183 y) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 2 []) RowMajor ()) (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 2 (Integer 2 []))) ()) (= (Var 183 yptr1) (GetPointer (Var 183 y) (Pointer (Integer 2 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])))])) ()) ()) (Print () [(GetPointer (Var 183 y) (Pointer (Integer 2 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])))])) ()) (Var 183 yptr1)] () ()) (Print () [(ArrayItem (Var 183 yptr1) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 2 []) RowMajor ()) (ArrayItem (Var 183 yptr1) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 2 []) RowMajor ())] () ()) (Assert (IntegerCompare (ArrayItem (Var 183 yptr1) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 2 []) RowMajor ()) Eq (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 1 (Integer 2 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (ArrayItem (Var 183 yptr1) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 2 []) RowMajor ()) Eq (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 2 (Integer 2 []))) (Logical 4 []) ()) ()) (CPtrToPointer (Var 183 yq) (Var 183 yptr1) ()) (Print () [(Var 183 yq) (Var 183 yptr1)] () ())] () Public .false. .false.), queries: (Variable 186 queries [] Local () () Default (CPtr) Source Public Required .false.), x: (Variable 186 x [] Local () () Default (Pointer (Integer 2 [(() ())])) Source Public Required .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 184 {_lpython_main_program: (ExternalSymbol 184 _lpython_main_program 186 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 184 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_4___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_4___mod 79 __lpython_overloaded_4___mod lpython_builtin [] __lpython_overloaded_4___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_4___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_4___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_2___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 0.500000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) (RealConstant 3.141593 (Real 4 [])) Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) (RealConstant 3.141593 (Real 8 [])) Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) diff --git a/tests/reference/asr-cast-435c233.json b/tests/reference/asr-cast-435c233.json index c60f127188..f54ffaada8 100644 --- a/tests/reference/asr-cast-435c233.json +++ b/tests/reference/asr-cast-435c233.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-cast-435c233.stdout", - "stdout_hash": "70edccbfb356b0b020c44c491d975bd26b6629a825b207805c7bad99", + "stdout_hash": "b70656e1110deb358c9eea9b88c04b0755b95fc3ba7ce19ff9e2093d", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-cast-435c233.stdout b/tests/reference/asr-cast-435c233.stdout index 962be46546..d7d82f34cb 100644 --- a/tests/reference/asr-cast-435c233.stdout +++ b/tests/reference/asr-cast-435c233.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 109 {_lpython_main_program: (Function (SymbolTable 108 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [f] [] [(SubroutineCall 109 f () [] ())] () Public .false. .false.), f: (Function (SymbolTable 2 {list: (ExternalSymbol 2 list 4 list lpython_builtin [] list Private), s: (Variable 2 s [] Local () () Default (Character 1 -2 () []) Source Public Required .false.), x: (Variable 2 x [] Local () () Default (List (Character 1 -2 () [])) Source Public Required .false.), y: (Variable 2 y [] Local () () Default (List (Character 1 -2 () [])) Source Public Required .false.)}) f (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [list list list] [] [(= (Var 2 s) (StringConstant "lpython" (Character 1 7 () [])) ()) (= (Var 2 x) (FunctionCall 2 list () [((Var 2 s))] (List (Character 1 -2 () [])) () ()) ()) (= (Var 2 y) (ListConstant [(StringConstant "a" (Character 1 1 () [])) (StringConstant "b" (Character 1 1 () [])) (StringConstant "c" (Character 1 1 () []))] (List (Character 1 1 () []))) ()) (= (Var 2 x) (FunctionCall 2 list () [((Var 2 y))] (List (Character 1 -2 () [])) () ()) ()) (= (Var 2 x) (FunctionCall 2 list () [((StringConstant "lpython" (Character 1 7 () [])))] (List (Character 1 -2 () [])) (ListConstant [(StringConstant "l" (Character 1 1 () [])) (StringConstant "p" (Character 1 1 () [])) (StringConstant "y" (Character 1 1 () [])) (StringConstant "t" (Character 1 1 () [])) (StringConstant "h" (Character 1 1 () [])) (StringConstant "o" (Character 1 1 () [])) (StringConstant "n" (Character 1 1 () []))] (List (Character 1 1 () []))) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 107 {_lpython_main_program: (ExternalSymbol 107 _lpython_main_program 109 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 107 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 110 {_lpython_main_program: (Function (SymbolTable 109 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [f] [] [(SubroutineCall 110 f () [] ())] () Public .false. .false.), f: (Function (SymbolTable 2 {list: (ExternalSymbol 2 list 4 list lpython_builtin [] list Private), s: (Variable 2 s [] Local () () Default (Character 1 -2 () []) Source Public Required .false.), x: (Variable 2 x [] Local () () Default (List (Character 1 -2 () [])) Source Public Required .false.), y: (Variable 2 y [] Local () () Default (List (Character 1 -2 () [])) Source Public Required .false.)}) f (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [list list list] [] [(= (Var 2 s) (StringConstant "lpython" (Character 1 7 () [])) ()) (= (Var 2 x) (FunctionCall 2 list () [((Var 2 s))] (List (Character 1 -2 () [])) () ()) ()) (= (Var 2 y) (ListConstant [(StringConstant "a" (Character 1 1 () [])) (StringConstant "b" (Character 1 1 () [])) (StringConstant "c" (Character 1 1 () []))] (List (Character 1 1 () []))) ()) (= (Var 2 x) (FunctionCall 2 list () [((Var 2 y))] (List (Character 1 -2 () [])) () ()) ()) (= (Var 2 x) (FunctionCall 2 list () [((StringConstant "lpython" (Character 1 7 () [])))] (List (Character 1 -2 () [])) (ListConstant [(StringConstant "l" (Character 1 1 () [])) (StringConstant "p" (Character 1 1 () [])) (StringConstant "y" (Character 1 1 () [])) (StringConstant "t" (Character 1 1 () [])) (StringConstant "h" (Character 1 1 () [])) (StringConstant "o" (Character 1 1 () [])) (StringConstant "n" (Character 1 1 () []))] (List (Character 1 1 () []))) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 108 {_lpython_main_program: (ExternalSymbol 108 _lpython_main_program 110 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 108 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-complex1-f26c460.json b/tests/reference/asr-complex1-f26c460.json index f9482045c3..310215321a 100644 --- a/tests/reference/asr-complex1-f26c460.json +++ b/tests/reference/asr-complex1-f26c460.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-complex1-f26c460.stdout", - "stdout_hash": "f062aa258b34f58a45dd65e8278772c13afcdb1e5be88bdf9a798d42", + "stdout_hash": "bb1714d801538a68149bf48a623a8991ce7d8fa755f1cf6194e8f743", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-complex1-f26c460.stdout b/tests/reference/asr-complex1-f26c460.stdout index 2209e7f643..0f75439d3d 100644 --- a/tests/reference/asr-complex1-f26c460.stdout +++ b/tests/reference/asr-complex1-f26c460.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 108 {}) main_program [] []), test: (Function (SymbolTable 3 {x: (Variable 3 x [] Local () () Default (Complex 8 []) Source Public Required .false.), y: (Variable 3 y [] Local () () Default (Complex 8 []) Source Public Required .false.), z: (Variable 3 z [] Local () () Default (Complex 4 []) Source Public Required .false.)}) test (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 3 x) (ComplexBinOp (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 2.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 3.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 2.000000 3.000000 (Complex 8 []))) ()) (= (Var 3 y) (ComplexBinOp (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 5.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 5.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 5.000000 5.000000 (Complex 8 []))) ()) (= (Var 3 z) (Cast (ComplexBinOp (Var 3 x) Add (Var 3 y) (Complex 8 []) ()) ComplexToComplex (Complex 4 []) ()) ()) (= (Var 3 z) (Cast (ComplexBinOp (Var 3 x) Sub (Var 3 y) (Complex 8 []) ()) ComplexToComplex (Complex 4 []) ()) ()) (= (Var 3 z) (Cast (ComplexBinOp (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 2.000000 0.000000 (Complex 8 []))) Mul (Var 3 x) (Complex 8 []) ()) ComplexToComplex (Complex 4 []) ()) ())] () Public .false. .false.), test_complex: (Function (SymbolTable 2 {b: (Variable 2 b [] Local () () Default (Logical 4 []) Source Public Required .false.), c: (Variable 2 c [] Local () () Default (Complex 4 []) Source Public Required .false.), c1: (Variable 2 c1 [] Local () () Default (Complex 4 []) Source Public Required .false.), c2: (Variable 2 c2 [] Local () () Default (Complex 4 []) Source Public Required .false.), c3: (Variable 2 c3 [] Local () () Default (Complex 8 []) Source Public Required .false.), complex: (ExternalSymbol 2 complex 5 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_0__complex: (ExternalSymbol 2 complex@__lpython_overloaded_0__complex 5 __lpython_overloaded_0__complex lpython_builtin [] __lpython_overloaded_0__complex Public), complex@__lpython_overloaded_13__complex: (ExternalSymbol 2 complex@__lpython_overloaded_13__complex 5 __lpython_overloaded_13__complex lpython_builtin [] __lpython_overloaded_13__complex Public), complex@__lpython_overloaded_1__complex: (ExternalSymbol 2 complex@__lpython_overloaded_1__complex 5 __lpython_overloaded_1__complex lpython_builtin [] __lpython_overloaded_1__complex Public), complex@__lpython_overloaded_2__complex: (ExternalSymbol 2 complex@__lpython_overloaded_2__complex 5 __lpython_overloaded_2__complex lpython_builtin [] __lpython_overloaded_2__complex Public), complex@__lpython_overloaded_5__complex: (ExternalSymbol 2 complex@__lpython_overloaded_5__complex 5 __lpython_overloaded_5__complex lpython_builtin [] __lpython_overloaded_5__complex Public), complex@__lpython_overloaded_9__complex: (ExternalSymbol 2 complex@__lpython_overloaded_9__complex 5 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public)}) test_complex (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_0__complex complex@__lpython_overloaded_13__complex complex@__lpython_overloaded_1__complex complex@__lpython_overloaded_2__complex complex@__lpython_overloaded_5__complex complex@__lpython_overloaded_9__complex] [] [(= (Var 2 c) (Cast (FunctionCall 2 complex@__lpython_overloaded_0__complex 2 complex [] (Complex 8 []) (ComplexConstant 0.000000 0.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 0.000000 0.000000 (Complex 4 []))) ()) (= (Var 2 c) (Cast (FunctionCall 2 complex@__lpython_overloaded_1__complex 2 complex [((RealConstant 3.400000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 3.400000 0.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 3.400000 0.000000 (Complex 4 []))) ()) (= (Var 2 c) (Cast (FunctionCall 2 complex@__lpython_overloaded_5__complex 2 complex [((RealConstant 5.000000 (Real 8 []))) ((RealConstant 4.300000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 5.000000 4.300000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 5.000000 4.300000 (Complex 4 []))) ()) (= (Var 2 c) (FunctionCall 2 complex@__lpython_overloaded_2__complex 2 complex [((IntegerConstant 1 (Integer 4 [])))] (Complex 4 []) (ComplexConstant 1.000000 0.000000 (Complex 8 [])) ()) ()) (= (Var 2 c1) (Cast (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 4 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 3.000000 4.000000 (Complex 4 []))) ()) (= (Var 2 c2) (Cast (FunctionCall 2 complex@__lpython_overloaded_13__complex 2 complex [((IntegerConstant 2 (Integer 4 []))) ((RealConstant 4.500000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 2.000000 4.500000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 2.000000 4.500000 (Complex 4 []))) ()) (= (Var 2 c3) (FunctionCall 2 complex@__lpython_overloaded_5__complex 2 complex [((RealConstant 3.000000 (Real 8 []))) ((RealConstant 4.000000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 [])) ()) ()) (= (Var 2 b) (ComplexCompare (Var 2 c1) NotEq (Var 2 c2) (Logical 4 []) ()) ()) (= (Var 2 b) (ComplexCompare (Cast (Var 2 c1) ComplexToComplex (Complex 8 []) ()) Eq (Var 2 c3) (Logical 4 []) ()) ()) (= (Var 2 c) (ComplexBinOp (Var 2 c1) Add (Var 2 c2) (Complex 4 []) ()) ()) (= (Var 2 c) (ComplexBinOp (Var 2 c2) Sub (Var 2 c1) (Complex 4 []) ()) ()) (= (Var 2 c) (ComplexBinOp (Var 2 c1) Mul (Var 2 c2) (Complex 4 []) ()) ()) (= (Var 2 c) (Cast (ComplexBinOp (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 1.000000 2.000000 (Complex 8 [])) ()) Pow (FunctionCall 2 complex@__lpython_overloaded_5__complex 2 complex [((RealConstant 3.345340 (Real 8 []))) ((RealConstant 4.867868 (Real 8 [])))] (Complex 8 []) (ComplexConstant 3.345340 4.867868 (Complex 8 [])) ()) (Complex 8 []) (ComplexConstant 0.015553 0.065561 (Complex 8 []))) ComplexToComplex (Complex 4 []) (ComplexConstant 0.015553 0.065561 (Complex 4 []))) ()) (= (Var 2 c) (Cast (ComplexBinOp (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 1.000000 2.000000 (Complex 8 [])) ()) Mul (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 4 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 [])) ()) (Complex 8 []) (ComplexConstant -5.000000 10.000000 (Complex 8 []))) ComplexToComplex (Complex 4 []) (ComplexConstant -5.000000 10.000000 (Complex 4 []))) ()) (= (Var 2 c) (Cast (ComplexBinOp (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 4 (Integer 4 []))) ((IntegerConstant 5 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 4.000000 5.000000 (Complex 8 [])) ()) Sub (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 4 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 [])) ()) (Complex 8 []) (ComplexConstant 1.000000 1.000000 (Complex 8 []))) ComplexToComplex (Complex 4 []) (ComplexConstant 1.000000 1.000000 (Complex 4 []))) ())] () Public .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 109 {}) main_program [] []), test: (Function (SymbolTable 3 {x: (Variable 3 x [] Local () () Default (Complex 8 []) Source Public Required .false.), y: (Variable 3 y [] Local () () Default (Complex 8 []) Source Public Required .false.), z: (Variable 3 z [] Local () () Default (Complex 4 []) Source Public Required .false.)}) test (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 3 x) (ComplexBinOp (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 2.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 3.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 2.000000 3.000000 (Complex 8 []))) ()) (= (Var 3 y) (ComplexBinOp (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 5.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 5.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 5.000000 5.000000 (Complex 8 []))) ()) (= (Var 3 z) (Cast (ComplexBinOp (Var 3 x) Add (Var 3 y) (Complex 8 []) ()) ComplexToComplex (Complex 4 []) ()) ()) (= (Var 3 z) (Cast (ComplexBinOp (Var 3 x) Sub (Var 3 y) (Complex 8 []) ()) ComplexToComplex (Complex 4 []) ()) ()) (= (Var 3 z) (Cast (ComplexBinOp (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 2.000000 0.000000 (Complex 8 []))) Mul (Var 3 x) (Complex 8 []) ()) ComplexToComplex (Complex 4 []) ()) ())] () Public .false. .false.), test_complex: (Function (SymbolTable 2 {b: (Variable 2 b [] Local () () Default (Logical 4 []) Source Public Required .false.), c: (Variable 2 c [] Local () () Default (Complex 4 []) Source Public Required .false.), c1: (Variable 2 c1 [] Local () () Default (Complex 4 []) Source Public Required .false.), c2: (Variable 2 c2 [] Local () () Default (Complex 4 []) Source Public Required .false.), c3: (Variable 2 c3 [] Local () () Default (Complex 8 []) Source Public Required .false.), complex: (ExternalSymbol 2 complex 5 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_0__complex: (ExternalSymbol 2 complex@__lpython_overloaded_0__complex 5 __lpython_overloaded_0__complex lpython_builtin [] __lpython_overloaded_0__complex Public), complex@__lpython_overloaded_13__complex: (ExternalSymbol 2 complex@__lpython_overloaded_13__complex 5 __lpython_overloaded_13__complex lpython_builtin [] __lpython_overloaded_13__complex Public), complex@__lpython_overloaded_1__complex: (ExternalSymbol 2 complex@__lpython_overloaded_1__complex 5 __lpython_overloaded_1__complex lpython_builtin [] __lpython_overloaded_1__complex Public), complex@__lpython_overloaded_2__complex: (ExternalSymbol 2 complex@__lpython_overloaded_2__complex 5 __lpython_overloaded_2__complex lpython_builtin [] __lpython_overloaded_2__complex Public), complex@__lpython_overloaded_5__complex: (ExternalSymbol 2 complex@__lpython_overloaded_5__complex 5 __lpython_overloaded_5__complex lpython_builtin [] __lpython_overloaded_5__complex Public), complex@__lpython_overloaded_9__complex: (ExternalSymbol 2 complex@__lpython_overloaded_9__complex 5 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public)}) test_complex (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_0__complex complex@__lpython_overloaded_13__complex complex@__lpython_overloaded_1__complex complex@__lpython_overloaded_2__complex complex@__lpython_overloaded_5__complex complex@__lpython_overloaded_9__complex] [] [(= (Var 2 c) (Cast (FunctionCall 2 complex@__lpython_overloaded_0__complex 2 complex [] (Complex 8 []) (ComplexConstant 0.000000 0.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 0.000000 0.000000 (Complex 4 []))) ()) (= (Var 2 c) (Cast (FunctionCall 2 complex@__lpython_overloaded_1__complex 2 complex [((RealConstant 3.400000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 3.400000 0.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 3.400000 0.000000 (Complex 4 []))) ()) (= (Var 2 c) (Cast (FunctionCall 2 complex@__lpython_overloaded_5__complex 2 complex [((RealConstant 5.000000 (Real 8 []))) ((RealConstant 4.300000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 5.000000 4.300000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 5.000000 4.300000 (Complex 4 []))) ()) (= (Var 2 c) (FunctionCall 2 complex@__lpython_overloaded_2__complex 2 complex [((IntegerConstant 1 (Integer 4 [])))] (Complex 4 []) (ComplexConstant 1.000000 0.000000 (Complex 8 [])) ()) ()) (= (Var 2 c1) (Cast (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 4 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 3.000000 4.000000 (Complex 4 []))) ()) (= (Var 2 c2) (Cast (FunctionCall 2 complex@__lpython_overloaded_13__complex 2 complex [((IntegerConstant 2 (Integer 4 []))) ((RealConstant 4.500000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 2.000000 4.500000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 2.000000 4.500000 (Complex 4 []))) ()) (= (Var 2 c3) (FunctionCall 2 complex@__lpython_overloaded_5__complex 2 complex [((RealConstant 3.000000 (Real 8 []))) ((RealConstant 4.000000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 [])) ()) ()) (= (Var 2 b) (ComplexCompare (Var 2 c1) NotEq (Var 2 c2) (Logical 4 []) ()) ()) (= (Var 2 b) (ComplexCompare (Cast (Var 2 c1) ComplexToComplex (Complex 8 []) ()) Eq (Var 2 c3) (Logical 4 []) ()) ()) (= (Var 2 c) (ComplexBinOp (Var 2 c1) Add (Var 2 c2) (Complex 4 []) ()) ()) (= (Var 2 c) (ComplexBinOp (Var 2 c2) Sub (Var 2 c1) (Complex 4 []) ()) ()) (= (Var 2 c) (ComplexBinOp (Var 2 c1) Mul (Var 2 c2) (Complex 4 []) ()) ()) (= (Var 2 c) (Cast (ComplexBinOp (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 1.000000 2.000000 (Complex 8 [])) ()) Pow (FunctionCall 2 complex@__lpython_overloaded_5__complex 2 complex [((RealConstant 3.345340 (Real 8 []))) ((RealConstant 4.867868 (Real 8 [])))] (Complex 8 []) (ComplexConstant 3.345340 4.867868 (Complex 8 [])) ()) (Complex 8 []) (ComplexConstant 0.015553 0.065561 (Complex 8 []))) ComplexToComplex (Complex 4 []) (ComplexConstant 0.015553 0.065561 (Complex 4 []))) ()) (= (Var 2 c) (Cast (ComplexBinOp (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 1.000000 2.000000 (Complex 8 [])) ()) Mul (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 4 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 [])) ()) (Complex 8 []) (ComplexConstant -5.000000 10.000000 (Complex 8 []))) ComplexToComplex (Complex 4 []) (ComplexConstant -5.000000 10.000000 (Complex 4 []))) ()) (= (Var 2 c) (Cast (ComplexBinOp (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 4 (Integer 4 []))) ((IntegerConstant 5 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 4.000000 5.000000 (Complex 8 [])) ()) Sub (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 4 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 [])) ()) (Complex 8 []) (ComplexConstant 1.000000 1.000000 (Complex 8 []))) ComplexToComplex (Complex 4 []) (ComplexConstant 1.000000 1.000000 (Complex 4 []))) ())] () Public .false. .false.)}) []) diff --git a/tests/reference/asr-constants1-5828e8a.json b/tests/reference/asr-constants1-5828e8a.json index 9a8dcb7e43..bdffefd99e 100644 --- a/tests/reference/asr-constants1-5828e8a.json +++ b/tests/reference/asr-constants1-5828e8a.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-constants1-5828e8a.stdout", - "stdout_hash": "2e406ff68f41d9cbdd8dfab92b79e19fffff7888675fe4de2b620fa8", + "stdout_hash": "2970cce71fa1f45302d5333f3c977dd5d4c31134099391b5342822e1", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-constants1-5828e8a.stdout b/tests/reference/asr-constants1-5828e8a.stdout index f74e650b86..a47da00d4d 100644 --- a/tests/reference/asr-constants1-5828e8a.stdout +++ b/tests/reference/asr-constants1-5828e8a.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 116 {}) main_program [] []), test_abs: (Function (SymbolTable 4 {a: (Variable 4 a [] Local () () Default (Integer 4 []) Source Public Required .false.), abs: (ExternalSymbol 4 abs 13 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 4 abs@__lpython_overloaded_0__abs 13 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), abs@__lpython_overloaded_4__abs: (ExternalSymbol 4 abs@__lpython_overloaded_4__abs 13 __lpython_overloaded_4__abs lpython_builtin [] __lpython_overloaded_4__abs Public), abs@__lpython_overloaded_6__abs: (ExternalSymbol 4 abs@__lpython_overloaded_6__abs 13 __lpython_overloaded_6__abs lpython_builtin [] __lpython_overloaded_6__abs Public), abs@__lpython_overloaded_8__abs: (ExternalSymbol 4 abs@__lpython_overloaded_8__abs 13 __lpython_overloaded_8__abs lpython_builtin [] __lpython_overloaded_8__abs Public), b: (Variable 4 b [] Local () () Default (Real 4 []) Source Public Required .false.), complex: (ExternalSymbol 4 complex 13 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_5__complex: (ExternalSymbol 4 complex@__lpython_overloaded_5__complex 13 __lpython_overloaded_5__complex lpython_builtin [] __lpython_overloaded_5__complex Public)}) test_abs (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_4__abs abs@__lpython_overloaded_6__abs abs@__lpython_overloaded_8__abs complex@__lpython_overloaded_5__complex] [] [(= (Var 4 a) (FunctionCall 4 abs@__lpython_overloaded_4__abs 4 abs [((IntegerConstant 5 (Integer 4 [])))] (Integer 4 []) (IntegerConstant 5 (Integer 4 [])) ()) ()) (= (Var 4 a) (FunctionCall 4 abs@__lpython_overloaded_4__abs 4 abs [((IntegerUnaryMinus (IntegerConstant 500 (Integer 4 [])) (Integer 4 []) (IntegerConstant -500 (Integer 4 []))))] (Integer 4 []) (IntegerConstant 500 (Integer 4 [])) ()) ()) (= (Var 4 a) (FunctionCall 4 abs@__lpython_overloaded_6__abs 4 abs [((LogicalConstant .false. (Logical 4 [])))] (Integer 4 []) (IntegerConstant 0 (Integer 4 [])) ()) ()) (= (Var 4 a) (FunctionCall 4 abs@__lpython_overloaded_6__abs 4 abs [((LogicalConstant .true. (Logical 4 [])))] (Integer 4 []) (IntegerConstant 1 (Integer 4 [])) ()) ()) (= (Var 4 b) (Cast (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealConstant 3.450000 (Real 8 [])))] (Real 8 []) (RealConstant 3.450000 (Real 8 [])) ()) RealToReal (Real 4 []) (RealConstant 3.450000 (Real 4 []))) ()) (= (Var 4 b) (Cast (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealUnaryMinus (RealConstant 5346.340000 (Real 8 [])) (Real 8 []) (RealConstant -5346.340000 (Real 8 []))))] (Real 8 []) (RealConstant 5346.340000 (Real 8 [])) ()) RealToReal (Real 4 []) (RealConstant 5346.340000 (Real 4 []))) ()) (= (Var 4 b) (Cast (FunctionCall 4 abs@__lpython_overloaded_8__abs 4 abs [((FunctionCall 4 complex@__lpython_overloaded_5__complex 4 complex [((RealConstant 3.450000 (Real 8 []))) ((RealConstant 5.600000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 3.450000 5.600000 (Complex 8 [])) ()))] (Real 8 []) (RealConstant 6.577424 (Real 8 [])) ()) RealToReal (Real 4 []) (RealConstant 6.577424 (Real 4 []))) ())] () Public .false. .false.), test_bool: (Function (SymbolTable 6 {a: (Variable 6 a [] Local () () Default (Logical 4 []) Source Public Required .false.), complex: (ExternalSymbol 6 complex 13 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_9__complex: (ExternalSymbol 6 complex@__lpython_overloaded_9__complex 13 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public)}) test_bool (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_9__complex] [] [(= (Var 6 a) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 6 a) (Cast (IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))) IntegerToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 6 a) (Cast (StringConstant "" (Character 1 0 () [])) CharacterToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 6 a) (Cast (FunctionCall 6 complex@__lpython_overloaded_9__complex 6 complex [((IntegerConstant 0 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 0.000000 0.000000 (Complex 8 [])) ()) ComplexToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (Assert (LogicalCompare (Var 6 a) Eq (LogicalConstant .false. (Logical 4 [])) (Logical 4 []) ()) ()) (= (Var 6 a) (Cast (StringConstant "t" (Character 1 1 () [])) CharacterToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 6 a) (Cast (RealConstant 2.300000 (Real 8 [])) RealToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (LogicalCompare (Var 6 a) Eq (LogicalConstant .true. (Logical 4 [])) (Logical 4 []) ()) ())] () Public .false. .false.), test_boz: (Function (SymbolTable 2 {b: (Variable 2 b [] Local () () Default (Character 1 -2 () []) Source Public Required .false.), bin: (ExternalSymbol 2 bin 13 bin lpython_builtin [] bin Private), hex: (ExternalSymbol 2 hex 13 hex lpython_builtin [] hex Private), oct: (ExternalSymbol 2 oct 13 oct lpython_builtin [] oct Private)}) test_boz (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [bin hex oct] [] [(= (Var 2 b) (FunctionCall 2 bin () [((IntegerConstant 5 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0b101" (Character 1 5 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 bin () [((IntegerConstant 64 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0b1000000" (Character 1 9 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 bin () [((IntegerUnaryMinus (IntegerConstant 534 (Integer 4 [])) (Integer 4 []) (IntegerConstant -534 (Integer 4 []))))] (Character 1 -2 () []) (StringConstant "-0b1000010110" (Character 1 13 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 oct () [((IntegerConstant 8 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0o10" (Character 1 4 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 oct () [((IntegerConstant 56 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0o70" (Character 1 4 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 oct () [((IntegerUnaryMinus (IntegerConstant 534 (Integer 4 [])) (Integer 4 []) (IntegerConstant -534 (Integer 4 []))))] (Character 1 -2 () []) (StringConstant "-0o1026" (Character 1 7 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 hex () [((IntegerConstant 42 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0x2a" (Character 1 4 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 hex () [((IntegerConstant 12648430 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0xc0ffee" (Character 1 8 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 hex () [((IntegerUnaryMinus (IntegerConstant 534 (Integer 4 [])) (Integer 4 []) (IntegerConstant -534 (Integer 4 []))))] (Character 1 -2 () []) (StringConstant "-0x216" (Character 1 6 () [])) ()) ())] () Public .false. .false.), test_callable: (Function (SymbolTable 8 {a: (Variable 8 a [] Local () () Default (Logical 4 []) Source Public Required .false.), b: (Variable 8 b [] Local () () Default (Integer 4 []) Source Public Required .false.)}) test_callable (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 8 b) (IntegerConstant 2 (Integer 4 [])) ()) (= (Var 8 a) (LogicalConstant .true. (Logical 4 [])) ()) (Assert (LogicalCompare (Var 8 a) Eq (LogicalConstant .true. (Logical 4 [])) (Logical 4 []) ()) ()) (= (Var 8 a) (LogicalConstant .false. (Logical 4 [])) ()) (Assert (LogicalCompare (Var 8 a) Eq (LogicalConstant .false. (Logical 4 [])) (Logical 4 []) ()) ()) (= (Var 8 a) (LogicalConstant .false. (Logical 4 [])) ()) (Assert (LogicalCompare (Var 8 a) Eq (LogicalConstant .false. (Logical 4 [])) (Logical 4 []) ()) ())] () Public .false. .false.), test_divmod: (Function (SymbolTable 11 {a: (Variable 11 a [] Local () () Default (Tuple [(Integer 4 []) (Integer 4 [])]) Source Public Required .false.), divmod: (ExternalSymbol 11 divmod 13 divmod lpython_builtin [] divmod Private)}) test_divmod (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [divmod] [] [(= (Var 11 a) (FunctionCall 11 divmod () [((IntegerConstant 9 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 [])))] (Tuple [(Integer 4 []) (Integer 4 [])]) (TupleConstant [(IntegerConstant 3 (Integer 4 [])) (IntegerConstant 0 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 [])])) ()) ()) (= (Var 11 a) (FunctionCall 11 divmod () [((IntegerConstant 9 (Integer 4 []))) ((IntegerUnaryMinus (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) (IntegerConstant -3 (Integer 4 []))))] (Tuple [(Integer 4 []) (Integer 4 [])]) (TupleConstant [(IntegerConstant -3 (Integer 4 [])) (IntegerConstant 0 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 [])])) ()) ()) (= (Var 11 a) (FunctionCall 11 divmod () [((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 [])))] (Tuple [(Integer 4 []) (Integer 4 [])]) (TupleConstant [(IntegerConstant 1 (Integer 4 [])) (IntegerConstant 0 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 [])])) ()) ()) (= (Var 11 a) (FunctionCall 11 divmod () [((IntegerConstant 4 (Integer 4 []))) ((IntegerConstant 5 (Integer 4 [])))] (Tuple [(Integer 4 []) (Integer 4 [])]) (TupleConstant [(IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 [])])) ()) ()) (= (Var 11 a) (FunctionCall 11 divmod () [((IntegerConstant 0 (Integer 4 []))) ((IntegerConstant 5 (Integer 4 [])))] (Tuple [(Integer 4 []) (Integer 4 [])]) (TupleConstant [(IntegerConstant 0 (Integer 4 [])) (IntegerConstant 0 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 [])])) ()) ())] () Public .false. .false.), test_float: (Function (SymbolTable 10 {a: (Variable 10 a [] Local () () Default (Real 8 []) Source Public Required .false.)}) test_float (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 10 a) (RealConstant 0.000000 (Real 8 [])) ()) (= (Var 10 a) (RealConstant 4.560000 (Real 8 [])) ()) (= (Var 10 a) (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 5.000000 (Real 8 []))) ()) (= (Var 10 a) (Cast (IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))) IntegerToReal (Real 8 []) (RealConstant -1.000000 (Real 8 []))) ()) (= (Var 10 a) (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) ()) (= (Var 10 a) (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) ())] () Public .false. .false.), test_int: (Function (SymbolTable 9 {a: (Variable 9 a [] Local () () Default (Integer 8 []) Source Public Required .false.)}) test_int (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 9 a) (IntegerConstant 0 (Integer 8 [])) ()) (= (Var 9 a) (Cast (RealConstant 4.560000 (Real 8 [])) RealToInteger (Integer 8 []) (IntegerConstant 4 (Integer 8 []))) ()) (= (Var 9 a) (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 5 (Integer 8 []))) ()) (= (Var 9 a) (Cast (RealUnaryMinus (RealConstant 5.000010 (Real 8 [])) (Real 8 []) (RealConstant -5.000010 (Real 8 []))) RealToInteger (Integer 8 []) (IntegerConstant -5 (Integer 8 []))) ()) (= (Var 9 a) (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) ()) (= (Var 9 a) (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (= (Var 9 a) (IntegerConstant 5346 (Integer 8 [])) ())] () Public .false. .false.), test_len: (Function (SymbolTable 5 {a: (Variable 5 a [] Local () () Default (Integer 4 []) Source Public Required .false.), l: (Variable 5 l [] Local () () Default (List (Integer 4 [])) Source Public Required .false.)}) test_len (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 5 a) (StringLen (StringConstant "" (Character 1 0 () [])) (Integer 4 []) (IntegerConstant 0 (Integer 4 []))) ()) (= (Var 5 a) (StringLen (StringConstant "test" (Character 1 4 () [])) (Integer 4 []) (IntegerConstant 4 (Integer 4 []))) ()) (= (Var 5 a) (StringLen (StringConstant "this is a test" (Character 1 14 () [])) (Integer 4 []) (IntegerConstant 14 (Integer 4 []))) ()) (= (Var 5 a) (TupleLen (TupleConstant [(IntegerConstant 1 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])) (IntegerConstant 3 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 []) (Integer 4 [])])) (Integer 4 []) (IntegerConstant 3 (Integer 4 []))) ()) (= (Var 5 a) (TupleLen (TupleConstant [(TupleConstant [(StringConstant "c" (Character 1 1 () [])) (StringConstant "b" (Character 1 1 () [])) (RealConstant 3.400000 (Real 8 []))] (Tuple [(Character 1 1 () []) (Character 1 1 () []) (Real 8 [])])) (TupleConstant [(StringConstant "c" (Character 1 1 () [])) (IntegerConstant 3 (Integer 4 [])) (RealConstant 5.600000 (Real 8 []))] (Tuple [(Character 1 1 () []) (Integer 4 []) (Real 8 [])]))] (Tuple [(Tuple [(Character 1 1 () []) (Character 1 1 () []) (Real 8 [])]) (Tuple [(Character 1 1 () []) (Integer 4 []) (Real 8 [])])])) (Integer 4 []) (IntegerConstant 2 (Integer 4 []))) ()) (= (Var 5 a) (ListLen (ListConstant [(IntegerConstant 1 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])) (IntegerConstant 3 (Integer 4 []))] (List (Integer 4 []))) (Integer 4 []) (IntegerConstant 3 (Integer 4 []))) ()) (= (Var 5 a) (ListLen (ListConstant [(ListConstant [(IntegerUnaryMinus (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4 (Integer 4 []))) (IntegerUnaryMinus (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5 (Integer 4 []))) (IntegerUnaryMinus (IntegerConstant 6 (Integer 4 [])) (Integer 4 []) (IntegerConstant -6 (Integer 4 [])))] (List (Integer 4 []))) (ListConstant [(IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))) (IntegerUnaryMinus (IntegerConstant 2 (Integer 4 [])) (Integer 4 []) (IntegerConstant -2 (Integer 4 []))) (IntegerUnaryMinus (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) (IntegerConstant -3 (Integer 4 [])))] (List (Integer 4 [])))] (List (List (Integer 4 [])))) (Integer 4 []) (IntegerConstant 2 (Integer 4 []))) ()) (= (Var 5 a) (SetLen (SetConstant [(IntegerConstant 1 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])) (IntegerConstant 3 (Integer 4 []))] (Set (Integer 4 []))) (Integer 4 []) (IntegerConstant 3 (Integer 4 []))) ()) (= (Var 5 a) (DictLen (DictConstant [(IntegerConstant 1 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])) (IntegerConstant 3 (Integer 4 []))] [(StringConstant "c" (Character 1 1 () [])) (StringConstant "b" (Character 1 1 () [])) (StringConstant "c" (Character 1 1 () []))] (Dict (Integer 4 []) (Character 1 1 () []))) (Integer 4 []) (IntegerConstant 3 (Integer 4 []))) ()) (= (Var 5 l) (ListConstant [(IntegerConstant 1 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])) (IntegerConstant 4 (Integer 4 []))] (List (Integer 4 []))) ()) (= (Var 5 a) (ListLen (Var 5 l) (Integer 4 []) ()) ()) (ListAppend (Var 5 l) (IntegerConstant 5 (Integer 4 []))) (= (Var 5 a) (ListLen (Var 5 l) (Integer 4 []) ()) ())] () Public .false. .false.), test_ord_chr: (Function (SymbolTable 3 {a: (Variable 3 a [] Local () () Default (Integer 4 []) Source Public Required .false.), s: (Variable 3 s [] Local () () Default (Character 1 -2 () []) Source Public Required .false.)}) test_ord_chr (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 3 a) (StringOrd (StringConstant "5" (Character 1 1 () [])) (Integer 4 []) (IntegerConstant 53 (Integer 4 []))) ()) (= (Var 3 s) (StringChr (IntegerConstant 43 (Integer 4 [])) (Character 1 1 () []) (StringConstant "+" (Character 1 1 () []))) ())] () Public .false. .false.), test_str: (Function (SymbolTable 7 {s: (Variable 7 s [] Local () () Default (Character 1 -2 () []) Source Public Required .false.)}) test_str (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 7 s) (StringConstant "" (Character 1 0 () [])) ()) (= (Var 7 s) (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToCharacter (Character 1 -2 () []) (StringConstant "5" (Character 1 1 () []))) ()) (= (Var 7 s) (Cast (IntegerUnaryMinus (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4 (Integer 4 []))) IntegerToCharacter (Character 1 -2 () []) (StringConstant "-4" (Character 1 2 () []))) ()) (= (Var 7 s) (Cast (RealConstant 5.600000 (Real 8 [])) RealToCharacter (Character 1 -2 () []) (StringConstant "5.6" (Character 1 3 () []))) ()) (= (Var 7 s) (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToCharacter (Character 1 -2 () []) (StringConstant "True" (Character 1 4 () []))) ()) (= (Var 7 s) (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToCharacter (Character 1 -2 () []) (StringConstant "False" (Character 1 5 () []))) ()) (= (Var 7 s) (StringConstant "5346" (Character 1 4 () [])) ())] () Public .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 117 {}) main_program [] []), test_abs: (Function (SymbolTable 4 {a: (Variable 4 a [] Local () () Default (Integer 4 []) Source Public Required .false.), abs: (ExternalSymbol 4 abs 13 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 4 abs@__lpython_overloaded_0__abs 13 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), abs@__lpython_overloaded_4__abs: (ExternalSymbol 4 abs@__lpython_overloaded_4__abs 13 __lpython_overloaded_4__abs lpython_builtin [] __lpython_overloaded_4__abs Public), abs@__lpython_overloaded_6__abs: (ExternalSymbol 4 abs@__lpython_overloaded_6__abs 13 __lpython_overloaded_6__abs lpython_builtin [] __lpython_overloaded_6__abs Public), abs@__lpython_overloaded_8__abs: (ExternalSymbol 4 abs@__lpython_overloaded_8__abs 13 __lpython_overloaded_8__abs lpython_builtin [] __lpython_overloaded_8__abs Public), b: (Variable 4 b [] Local () () Default (Real 4 []) Source Public Required .false.), complex: (ExternalSymbol 4 complex 13 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_5__complex: (ExternalSymbol 4 complex@__lpython_overloaded_5__complex 13 __lpython_overloaded_5__complex lpython_builtin [] __lpython_overloaded_5__complex Public)}) test_abs (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_4__abs abs@__lpython_overloaded_6__abs abs@__lpython_overloaded_8__abs complex@__lpython_overloaded_5__complex] [] [(= (Var 4 a) (FunctionCall 4 abs@__lpython_overloaded_4__abs 4 abs [((IntegerConstant 5 (Integer 4 [])))] (Integer 4 []) (IntegerConstant 5 (Integer 4 [])) ()) ()) (= (Var 4 a) (FunctionCall 4 abs@__lpython_overloaded_4__abs 4 abs [((IntegerUnaryMinus (IntegerConstant 500 (Integer 4 [])) (Integer 4 []) (IntegerConstant -500 (Integer 4 []))))] (Integer 4 []) (IntegerConstant 500 (Integer 4 [])) ()) ()) (= (Var 4 a) (FunctionCall 4 abs@__lpython_overloaded_6__abs 4 abs [((LogicalConstant .false. (Logical 4 [])))] (Integer 4 []) (IntegerConstant 0 (Integer 4 [])) ()) ()) (= (Var 4 a) (FunctionCall 4 abs@__lpython_overloaded_6__abs 4 abs [((LogicalConstant .true. (Logical 4 [])))] (Integer 4 []) (IntegerConstant 1 (Integer 4 [])) ()) ()) (= (Var 4 b) (Cast (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealConstant 3.450000 (Real 8 [])))] (Real 8 []) (RealConstant 3.450000 (Real 8 [])) ()) RealToReal (Real 4 []) (RealConstant 3.450000 (Real 4 []))) ()) (= (Var 4 b) (Cast (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealUnaryMinus (RealConstant 5346.340000 (Real 8 [])) (Real 8 []) (RealConstant -5346.340000 (Real 8 []))))] (Real 8 []) (RealConstant 5346.340000 (Real 8 [])) ()) RealToReal (Real 4 []) (RealConstant 5346.340000 (Real 4 []))) ()) (= (Var 4 b) (Cast (FunctionCall 4 abs@__lpython_overloaded_8__abs 4 abs [((FunctionCall 4 complex@__lpython_overloaded_5__complex 4 complex [((RealConstant 3.450000 (Real 8 []))) ((RealConstant 5.600000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 3.450000 5.600000 (Complex 8 [])) ()))] (Real 8 []) (RealConstant 6.577424 (Real 8 [])) ()) RealToReal (Real 4 []) (RealConstant 6.577424 (Real 4 []))) ())] () Public .false. .false.), test_bool: (Function (SymbolTable 6 {a: (Variable 6 a [] Local () () Default (Logical 4 []) Source Public Required .false.), complex: (ExternalSymbol 6 complex 13 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_9__complex: (ExternalSymbol 6 complex@__lpython_overloaded_9__complex 13 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public)}) test_bool (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_9__complex] [] [(= (Var 6 a) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 6 a) (Cast (IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))) IntegerToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 6 a) (Cast (StringConstant "" (Character 1 0 () [])) CharacterToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 6 a) (Cast (FunctionCall 6 complex@__lpython_overloaded_9__complex 6 complex [((IntegerConstant 0 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 0.000000 0.000000 (Complex 8 [])) ()) ComplexToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (Assert (LogicalCompare (Var 6 a) Eq (LogicalConstant .false. (Logical 4 [])) (Logical 4 []) ()) ()) (= (Var 6 a) (Cast (StringConstant "t" (Character 1 1 () [])) CharacterToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 6 a) (Cast (RealConstant 2.300000 (Real 8 [])) RealToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (LogicalCompare (Var 6 a) Eq (LogicalConstant .true. (Logical 4 [])) (Logical 4 []) ()) ())] () Public .false. .false.), test_boz: (Function (SymbolTable 2 {b: (Variable 2 b [] Local () () Default (Character 1 -2 () []) Source Public Required .false.), bin: (ExternalSymbol 2 bin 13 bin lpython_builtin [] bin Private), hex: (ExternalSymbol 2 hex 13 hex lpython_builtin [] hex Private), oct: (ExternalSymbol 2 oct 13 oct lpython_builtin [] oct Private)}) test_boz (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [bin hex oct] [] [(= (Var 2 b) (FunctionCall 2 bin () [((IntegerConstant 5 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0b101" (Character 1 5 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 bin () [((IntegerConstant 64 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0b1000000" (Character 1 9 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 bin () [((IntegerUnaryMinus (IntegerConstant 534 (Integer 4 [])) (Integer 4 []) (IntegerConstant -534 (Integer 4 []))))] (Character 1 -2 () []) (StringConstant "-0b1000010110" (Character 1 13 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 oct () [((IntegerConstant 8 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0o10" (Character 1 4 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 oct () [((IntegerConstant 56 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0o70" (Character 1 4 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 oct () [((IntegerUnaryMinus (IntegerConstant 534 (Integer 4 [])) (Integer 4 []) (IntegerConstant -534 (Integer 4 []))))] (Character 1 -2 () []) (StringConstant "-0o1026" (Character 1 7 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 hex () [((IntegerConstant 42 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0x2a" (Character 1 4 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 hex () [((IntegerConstant 12648430 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0xc0ffee" (Character 1 8 () [])) ()) ()) (= (Var 2 b) (FunctionCall 2 hex () [((IntegerUnaryMinus (IntegerConstant 534 (Integer 4 [])) (Integer 4 []) (IntegerConstant -534 (Integer 4 []))))] (Character 1 -2 () []) (StringConstant "-0x216" (Character 1 6 () [])) ()) ())] () Public .false. .false.), test_callable: (Function (SymbolTable 8 {a: (Variable 8 a [] Local () () Default (Logical 4 []) Source Public Required .false.), b: (Variable 8 b [] Local () () Default (Integer 4 []) Source Public Required .false.)}) test_callable (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 8 b) (IntegerConstant 2 (Integer 4 [])) ()) (= (Var 8 a) (LogicalConstant .true. (Logical 4 [])) ()) (Assert (LogicalCompare (Var 8 a) Eq (LogicalConstant .true. (Logical 4 [])) (Logical 4 []) ()) ()) (= (Var 8 a) (LogicalConstant .false. (Logical 4 [])) ()) (Assert (LogicalCompare (Var 8 a) Eq (LogicalConstant .false. (Logical 4 [])) (Logical 4 []) ()) ()) (= (Var 8 a) (LogicalConstant .false. (Logical 4 [])) ()) (Assert (LogicalCompare (Var 8 a) Eq (LogicalConstant .false. (Logical 4 [])) (Logical 4 []) ()) ())] () Public .false. .false.), test_divmod: (Function (SymbolTable 11 {a: (Variable 11 a [] Local () () Default (Tuple [(Integer 4 []) (Integer 4 [])]) Source Public Required .false.), divmod: (ExternalSymbol 11 divmod 13 divmod lpython_builtin [] divmod Private)}) test_divmod (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [divmod] [] [(= (Var 11 a) (FunctionCall 11 divmod () [((IntegerConstant 9 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 [])))] (Tuple [(Integer 4 []) (Integer 4 [])]) (TupleConstant [(IntegerConstant 3 (Integer 4 [])) (IntegerConstant 0 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 [])])) ()) ()) (= (Var 11 a) (FunctionCall 11 divmod () [((IntegerConstant 9 (Integer 4 []))) ((IntegerUnaryMinus (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) (IntegerConstant -3 (Integer 4 []))))] (Tuple [(Integer 4 []) (Integer 4 [])]) (TupleConstant [(IntegerConstant -3 (Integer 4 [])) (IntegerConstant 0 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 [])])) ()) ()) (= (Var 11 a) (FunctionCall 11 divmod () [((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 [])))] (Tuple [(Integer 4 []) (Integer 4 [])]) (TupleConstant [(IntegerConstant 1 (Integer 4 [])) (IntegerConstant 0 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 [])])) ()) ()) (= (Var 11 a) (FunctionCall 11 divmod () [((IntegerConstant 4 (Integer 4 []))) ((IntegerConstant 5 (Integer 4 [])))] (Tuple [(Integer 4 []) (Integer 4 [])]) (TupleConstant [(IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 [])])) ()) ()) (= (Var 11 a) (FunctionCall 11 divmod () [((IntegerConstant 0 (Integer 4 []))) ((IntegerConstant 5 (Integer 4 [])))] (Tuple [(Integer 4 []) (Integer 4 [])]) (TupleConstant [(IntegerConstant 0 (Integer 4 [])) (IntegerConstant 0 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 [])])) ()) ())] () Public .false. .false.), test_float: (Function (SymbolTable 10 {a: (Variable 10 a [] Local () () Default (Real 8 []) Source Public Required .false.)}) test_float (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 10 a) (RealConstant 0.000000 (Real 8 [])) ()) (= (Var 10 a) (RealConstant 4.560000 (Real 8 [])) ()) (= (Var 10 a) (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 5.000000 (Real 8 []))) ()) (= (Var 10 a) (Cast (IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))) IntegerToReal (Real 8 []) (RealConstant -1.000000 (Real 8 []))) ()) (= (Var 10 a) (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) ()) (= (Var 10 a) (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) ())] () Public .false. .false.), test_int: (Function (SymbolTable 9 {a: (Variable 9 a [] Local () () Default (Integer 8 []) Source Public Required .false.)}) test_int (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 9 a) (IntegerConstant 0 (Integer 8 [])) ()) (= (Var 9 a) (Cast (RealConstant 4.560000 (Real 8 [])) RealToInteger (Integer 8 []) (IntegerConstant 4 (Integer 8 []))) ()) (= (Var 9 a) (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 5 (Integer 8 []))) ()) (= (Var 9 a) (Cast (RealUnaryMinus (RealConstant 5.000010 (Real 8 [])) (Real 8 []) (RealConstant -5.000010 (Real 8 []))) RealToInteger (Integer 8 []) (IntegerConstant -5 (Integer 8 []))) ()) (= (Var 9 a) (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) ()) (= (Var 9 a) (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (= (Var 9 a) (IntegerConstant 5346 (Integer 8 [])) ())] () Public .false. .false.), test_len: (Function (SymbolTable 5 {a: (Variable 5 a [] Local () () Default (Integer 4 []) Source Public Required .false.), l: (Variable 5 l [] Local () () Default (List (Integer 4 [])) Source Public Required .false.)}) test_len (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 5 a) (StringLen (StringConstant "" (Character 1 0 () [])) (Integer 4 []) (IntegerConstant 0 (Integer 4 []))) ()) (= (Var 5 a) (StringLen (StringConstant "test" (Character 1 4 () [])) (Integer 4 []) (IntegerConstant 4 (Integer 4 []))) ()) (= (Var 5 a) (StringLen (StringConstant "this is a test" (Character 1 14 () [])) (Integer 4 []) (IntegerConstant 14 (Integer 4 []))) ()) (= (Var 5 a) (TupleLen (TupleConstant [(IntegerConstant 1 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])) (IntegerConstant 3 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 []) (Integer 4 [])])) (Integer 4 []) (IntegerConstant 3 (Integer 4 []))) ()) (= (Var 5 a) (TupleLen (TupleConstant [(TupleConstant [(StringConstant "c" (Character 1 1 () [])) (StringConstant "b" (Character 1 1 () [])) (RealConstant 3.400000 (Real 8 []))] (Tuple [(Character 1 1 () []) (Character 1 1 () []) (Real 8 [])])) (TupleConstant [(StringConstant "c" (Character 1 1 () [])) (IntegerConstant 3 (Integer 4 [])) (RealConstant 5.600000 (Real 8 []))] (Tuple [(Character 1 1 () []) (Integer 4 []) (Real 8 [])]))] (Tuple [(Tuple [(Character 1 1 () []) (Character 1 1 () []) (Real 8 [])]) (Tuple [(Character 1 1 () []) (Integer 4 []) (Real 8 [])])])) (Integer 4 []) (IntegerConstant 2 (Integer 4 []))) ()) (= (Var 5 a) (ListLen (ListConstant [(IntegerConstant 1 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])) (IntegerConstant 3 (Integer 4 []))] (List (Integer 4 []))) (Integer 4 []) (IntegerConstant 3 (Integer 4 []))) ()) (= (Var 5 a) (ListLen (ListConstant [(ListConstant [(IntegerUnaryMinus (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4 (Integer 4 []))) (IntegerUnaryMinus (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5 (Integer 4 []))) (IntegerUnaryMinus (IntegerConstant 6 (Integer 4 [])) (Integer 4 []) (IntegerConstant -6 (Integer 4 [])))] (List (Integer 4 []))) (ListConstant [(IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))) (IntegerUnaryMinus (IntegerConstant 2 (Integer 4 [])) (Integer 4 []) (IntegerConstant -2 (Integer 4 []))) (IntegerUnaryMinus (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) (IntegerConstant -3 (Integer 4 [])))] (List (Integer 4 [])))] (List (List (Integer 4 [])))) (Integer 4 []) (IntegerConstant 2 (Integer 4 []))) ()) (= (Var 5 a) (SetLen (SetConstant [(IntegerConstant 1 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])) (IntegerConstant 3 (Integer 4 []))] (Set (Integer 4 []))) (Integer 4 []) (IntegerConstant 3 (Integer 4 []))) ()) (= (Var 5 a) (DictLen (DictConstant [(IntegerConstant 1 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])) (IntegerConstant 3 (Integer 4 []))] [(StringConstant "c" (Character 1 1 () [])) (StringConstant "b" (Character 1 1 () [])) (StringConstant "c" (Character 1 1 () []))] (Dict (Integer 4 []) (Character 1 1 () []))) (Integer 4 []) (IntegerConstant 3 (Integer 4 []))) ()) (= (Var 5 l) (ListConstant [(IntegerConstant 1 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])) (IntegerConstant 4 (Integer 4 []))] (List (Integer 4 []))) ()) (= (Var 5 a) (ListLen (Var 5 l) (Integer 4 []) ()) ()) (ListAppend (Var 5 l) (IntegerConstant 5 (Integer 4 []))) (= (Var 5 a) (ListLen (Var 5 l) (Integer 4 []) ()) ())] () Public .false. .false.), test_ord_chr: (Function (SymbolTable 3 {a: (Variable 3 a [] Local () () Default (Integer 4 []) Source Public Required .false.), s: (Variable 3 s [] Local () () Default (Character 1 -2 () []) Source Public Required .false.)}) test_ord_chr (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 3 a) (StringOrd (StringConstant "5" (Character 1 1 () [])) (Integer 4 []) (IntegerConstant 53 (Integer 4 []))) ()) (= (Var 3 s) (StringChr (IntegerConstant 43 (Integer 4 [])) (Character 1 1 () []) (StringConstant "+" (Character 1 1 () []))) ())] () Public .false. .false.), test_str: (Function (SymbolTable 7 {s: (Variable 7 s [] Local () () Default (Character 1 -2 () []) Source Public Required .false.)}) test_str (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 7 s) (StringConstant "" (Character 1 0 () [])) ()) (= (Var 7 s) (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToCharacter (Character 1 -2 () []) (StringConstant "5" (Character 1 1 () []))) ()) (= (Var 7 s) (Cast (IntegerUnaryMinus (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4 (Integer 4 []))) IntegerToCharacter (Character 1 -2 () []) (StringConstant "-4" (Character 1 2 () []))) ()) (= (Var 7 s) (Cast (RealConstant 5.600000 (Real 8 [])) RealToCharacter (Character 1 -2 () []) (StringConstant "5.6" (Character 1 3 () []))) ()) (= (Var 7 s) (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToCharacter (Character 1 -2 () []) (StringConstant "True" (Character 1 4 () []))) ()) (= (Var 7 s) (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToCharacter (Character 1 -2 () []) (StringConstant "False" (Character 1 5 () []))) ()) (= (Var 7 s) (StringConstant "5346" (Character 1 4 () [])) ())] () Public .false. .false.)}) []) diff --git a/tests/reference/asr-elemental_01-b58df26.json b/tests/reference/asr-elemental_01-b58df26.json index 3a27107f1b..8e70b3bc0f 100644 --- a/tests/reference/asr-elemental_01-b58df26.json +++ b/tests/reference/asr-elemental_01-b58df26.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-elemental_01-b58df26.stdout", - "stdout_hash": "5aa7cae4897be7b758871921f51c63b3156450997735fd00e09bb193", + "stdout_hash": "093febb8c22bc69223a0efc63c7e64f218f550a3be57a81b7860ecf1", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-elemental_01-b58df26.stdout b/tests/reference/asr-elemental_01-b58df26.stdout index d797a85400..894637e3ce 100644 --- a/tests/reference/asr-elemental_01-b58df26.stdout +++ b/tests/reference/asr-elemental_01-b58df26.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 217 {_lpython_main_program: (Function (SymbolTable 216 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [elemental_sin elemental_cos elemental_trig_identity elemental_sum elemental_mul] [] [(SubroutineCall 217 elemental_sin () [] ()) (SubroutineCall 217 elemental_cos () [] ()) (SubroutineCall 217 elemental_trig_identity () [] ()) (SubroutineCall 217 elemental_sum () [] ()) (SubroutineCall 217 elemental_mul () [] ())] () Public .false. .false.), cos: (ExternalSymbol 217 cos 3 cos numpy [] cos Public), elemental_cos: (Function (SymbolTable 190 {array2d: (Variable 190 array2d [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 [])))]) Source Public Required .false.), cos2d: (Variable 190 cos2d [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 [])))]) Source Public Required .false.), cos@__lpython_overloaded_0__cos: (ExternalSymbol 190 cos@__lpython_overloaded_0__cos 3 __lpython_overloaded_0__cos numpy [] __lpython_overloaded_0__cos Public), i: (Variable 190 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 190 j [] Local () () Default (Integer 4 []) Source Public Required .false.)}) elemental_cos (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [cos@__lpython_overloaded_0__cos verify2d] [] [(DoLoop ((Var 190 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 256 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 255 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 190 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 64 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 63 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 190 array2d) [(() (Var 190 i) ()) (() (Var 190 j) ())] (Real 8 []) RowMajor ()) (Cast (IntegerBinOp (Var 190 i) Add (Var 190 j) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) ())])]) (= (Var 190 cos2d) (RealBinOp (FunctionCall 190 cos@__lpython_overloaded_0__cos 217 cos [((Var 190 array2d))] (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 [])))]) () ()) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 [])))]) ()) ()) (SubroutineCall 217 verify2d () [((Var 190 array2d)) ((Var 190 cos2d)) ((IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 64 (Integer 4 [])))] ())] () Public .false. .false.), elemental_mul: (Function (SymbolTable 188 {array_a: (Variable 188 array_a [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) Source Public Required .false.), array_b: (Variable 188 array_b [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) Source Public Required .false.), array_c: (Variable 188 array_c [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) Source Public Required .false.), i: (Variable 188 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 188 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 188 k [] Local () () Default (Integer 4 []) Source Public Required .false.)}) elemental_mul (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [verify1d_mul] [] [(DoLoop ((Var 188 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 100 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 99 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 188 array_a) [(() (Var 188 i) ())] (Real 8 []) RowMajor ()) (Cast (Var 188 i) IntegerToReal (Real 8 []) ()) ())]) (DoLoop ((Var 188 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 100 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 99 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 188 array_b) [(() (Var 188 j) ())] (Real 8 []) RowMajor ()) (Cast (IntegerBinOp (Var 188 j) Add (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) ())]) (= (Var 188 array_c) (RealBinOp (RealBinOp (RealBinOp (Var 188 array_a) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) Mul (RealConstant 5.000000 (Real 8 [])) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) Mul (RealBinOp (Var 188 array_b) Pow (RealConstant 3.000000 (Real 8 [])) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) ()) (SubroutineCall 217 verify1d_mul () [((Var 188 array_a)) ((Var 188 array_b)) ((Var 188 array_c)) ((IntegerConstant 100 (Integer 4 [])))] ())] () Public .false. .false.), elemental_sin: (Function (SymbolTable 189 {array1d: (Variable 189 array1d [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 [])))]) Source Public Required .false.), arraynd: (Variable 189 arraynd [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) Source Public Required .false.), i: (Variable 189 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 189 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 189 k [] Local () () Default (Integer 4 []) Source Public Required .false.), sin1d: (Variable 189 sin1d [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 [])))]) Source Public Required .false.), sin@__lpython_overloaded_0__sin: (ExternalSymbol 189 sin@__lpython_overloaded_0__sin 3 __lpython_overloaded_0__sin numpy [] __lpython_overloaded_0__sin Public), sin@__lpython_overloaded_1__sin: (ExternalSymbol 189 sin@__lpython_overloaded_1__sin 3 __lpython_overloaded_1__sin numpy [] __lpython_overloaded_1__sin Public), sinnd: (Variable 189 sinnd [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) Source Public Required .false.)}) elemental_sin (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [sin@__lpython_overloaded_1__sin sin@__lpython_overloaded_1__sin verify1d sin@__lpython_overloaded_0__sin verifynd] [] [(DoLoop ((Var 189 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 256 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 255 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 189 array1d) [(() (Var 189 i) ())] (Real 4 []) RowMajor ()) (Cast (Var 189 i) IntegerToReal (Real 4 []) ()) ())]) (= (Var 189 sin1d) (FunctionCall 189 sin@__lpython_overloaded_1__sin 217 sin [((FunctionCall 189 sin@__lpython_overloaded_1__sin 217 sin [((Var 189 array1d))] (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 [])))]) () ()))] (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 [])))]) () ()) ()) (SubroutineCall 217 verify1d () [((Var 189 array1d)) ((Var 189 sin1d)) ((IntegerConstant 256 (Integer 4 [])))] ()) (DoLoop ((Var 189 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 256 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 255 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 189 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 64 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 63 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 189 k) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 189 arraynd) [(() (Var 189 i) ()) (() (Var 189 j) ()) (() (Var 189 k) ())] (Real 8 []) RowMajor ()) (Cast (IntegerBinOp (IntegerBinOp (Var 189 i) Add (Var 189 j) (Integer 4 []) ()) Add (Var 189 k) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) ())])])]) (= (Var 189 sinnd) (RealBinOp (FunctionCall 189 sin@__lpython_overloaded_0__sin 217 sin [((Var 189 arraynd))] (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) () ()) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) ()) ()) (SubroutineCall 217 verifynd () [((Var 189 arraynd)) ((Var 189 sinnd)) ((IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 16 (Integer 4 [])))] ())] () Public .false. .false.), elemental_sum: (Function (SymbolTable 187 {array_a: (Variable 187 array_a [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) Source Public Required .false.), array_b: (Variable 187 array_b [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) Source Public Required .false.), array_c: (Variable 187 array_c [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) Source Public Required .false.), i: (Variable 187 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 187 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 187 k [] Local () () Default (Integer 4 []) Source Public Required .false.)}) elemental_sum (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [verify1d_sum] [] [(DoLoop ((Var 187 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 100 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 99 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 187 array_a) [(() (Var 187 i) ())] (Real 8 []) RowMajor ()) (Cast (Var 187 i) IntegerToReal (Real 8 []) ()) ())]) (DoLoop ((Var 187 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 100 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 99 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 187 array_b) [(() (Var 187 j) ())] (Real 8 []) RowMajor ()) (Cast (IntegerBinOp (Var 187 j) Add (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) ())]) (= (Var 187 array_c) (RealBinOp (RealBinOp (Var 187 array_a) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) Add (RealBinOp (RealConstant 5.000000 (Real 8 [])) Mul (RealBinOp (Var 187 array_b) Pow (RealConstant 3.000000 (Real 8 [])) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) ()) (SubroutineCall 217 verify1d_sum () [((Var 187 array_a)) ((Var 187 array_b)) ((Var 187 array_c)) ((IntegerConstant 100 (Integer 4 [])))] ())] () Public .false. .false.), elemental_trig_identity: (Function (SymbolTable 191 {arraynd: (Variable 191 arraynd [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 32 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 8 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) Source Public Required .false.), block: (Block (SymbolTable 214 {abs: (ExternalSymbol 214 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_1__abs: (ExternalSymbol 214 abs@__lpython_overloaded_1__abs 79 __lpython_overloaded_1__abs lpython_builtin [] __lpython_overloaded_1__abs Public)}) block [(Assert (RealCompare (FunctionCall 214 abs@__lpython_overloaded_1__abs 214 abs [((RealBinOp (ArrayItem (Var 191 observed1d) [(() (Var 191 i) ())] (Real 4 []) RowMajor ()) Sub (Cast (RealConstant 1.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()))] (Real 4 []) () ()) LtE (Var 191 eps) (Logical 4 []) ()) ())]), cos@__lpython_overloaded_1__cos: (ExternalSymbol 191 cos@__lpython_overloaded_1__cos 3 __lpython_overloaded_1__cos numpy [] __lpython_overloaded_1__cos Public), eps: (Variable 191 eps [] Local () () Default (Real 4 []) Source Public Required .false.), i: (Variable 191 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 191 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 191 k [] Local () () Default (Integer 4 []) Source Public Required .false.), l: (Variable 191 l [] Local () () Default (Integer 4 []) Source Public Required .false.), newshape: (Variable 191 newshape [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), observed: (Variable 191 observed [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 32 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 8 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) Source Public Required .false.), observed1d: (Variable 191 observed1d [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 65536 (Integer 4 [])))]) Source Public Required .false.), sin@__lpython_overloaded_1__sin: (ExternalSymbol 191 sin@__lpython_overloaded_1__sin 3 __lpython_overloaded_1__sin numpy [] __lpython_overloaded_1__sin Public)}) elemental_trig_identity (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_1__abs sin@__lpython_overloaded_1__sin cos@__lpython_overloaded_1__cos abs@__lpython_overloaded_1__abs] [] [(= (Var 191 eps) (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) ()) (DoLoop ((Var 191 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 64 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 63 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 191 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 32 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 31 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 191 k) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 8 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 7 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 191 l) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 4 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 3 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 191 arraynd) [(() (Var 191 i) ()) (() (Var 191 j) ()) (() (Var 191 k) ()) (() (Var 191 l) ())] (Real 4 []) RowMajor ()) (Cast (IntegerBinOp (IntegerBinOp (IntegerBinOp (Var 191 i) Add (Var 191 j) (Integer 4 []) ()) Add (Var 191 k) (Integer 4 []) ()) Add (Var 191 l) (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ())])])])]) (= (Var 191 observed) (RealBinOp (RealBinOp (FunctionCall 191 sin@__lpython_overloaded_1__sin 217 sin [((Var 191 arraynd))] (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 32 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 8 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) () ()) Pow (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))) (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 32 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 8 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) ()) Add (RealBinOp (FunctionCall 191 cos@__lpython_overloaded_1__cos 217 cos [((Var 191 arraynd))] (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 32 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 8 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) () ()) Pow (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))) (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 32 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 8 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) ()) (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 32 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 8 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) ()) ()) (= (ArrayItem (Var 191 newshape) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 65536 (Integer 4 [])) ()) (= (Var 191 observed1d) (ArrayReshape (Var 191 observed) (Var 191 newshape) (Real 4 [(() ())]) ()) ()) (DoLoop ((Var 191 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 65536 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 65535 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 191 block)])] () Public .false. .false.), sin: (ExternalSymbol 217 sin 3 sin numpy [] sin Public), verify1d: (Function (SymbolTable 182 {array: (Variable 182 array [] InOut () () Default (Real 4 [(() ())]) Source Public Required .false.), block: (Block (SymbolTable 192 {abs: (ExternalSymbol 192 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_1__abs: (ExternalSymbol 192 abs@__lpython_overloaded_1__abs 79 __lpython_overloaded_1__abs lpython_builtin [] __lpython_overloaded_1__abs Public), sin@__lpython_overloaded_1__sin: (ExternalSymbol 192 sin@__lpython_overloaded_1__sin 3 __lpython_overloaded_1__sin numpy [] __lpython_overloaded_1__sin Public)}) block [(Assert (RealCompare (FunctionCall 192 abs@__lpython_overloaded_1__abs 192 abs [((RealBinOp (FunctionCall 192 sin@__lpython_overloaded_1__sin 217 sin [((FunctionCall 192 sin@__lpython_overloaded_1__sin 217 sin [((ArrayItem (Var 182 array) [(() (Var 182 i) ())] (Real 4 []) RowMajor ()))] (Real 4 []) () ()))] (Real 4 []) () ()) Sub (ArrayItem (Var 182 result) [(() (Var 182 i) ())] (Real 4 []) RowMajor ()) (Real 4 []) ()))] (Real 4 []) () ()) LtE (Var 182 eps) (Logical 4 []) ()) ())]), eps: (Variable 182 eps [] Local () () Default (Real 4 []) Source Public Required .false.), i: (Variable 182 i [] Local () () Default (Integer 4 []) Source Public Required .false.), result: (Variable 182 result [] InOut () () Default (Real 4 [(() ())]) Source Public Required .false.), size: (Variable 182 size [] In () () Default (Integer 4 []) Source Public Required .false.)}) verify1d (FunctionType [(Real 4 [(() ())]) (Real 4 [(() ())]) (Integer 4 [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_1__abs sin@__lpython_overloaded_1__sin sin@__lpython_overloaded_1__sin abs@__lpython_overloaded_1__abs sin@__lpython_overloaded_1__sin sin@__lpython_overloaded_1__sin] [(Var 182 array) (Var 182 result) (Var 182 size)] [(= (Var 182 eps) (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) ()) (DoLoop ((Var 182 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 182 size) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 182 block)])] () Public .false. .false.), verify1d_mul: (Function (SymbolTable 186 {array_a: (Variable 186 array_a [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.), array_b: (Variable 186 array_b [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.), block: (Block (SymbolTable 199 {abs: (ExternalSymbol 199 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 199 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public)}) block [(Assert (RealCompare (FunctionCall 199 abs@__lpython_overloaded_0__abs 199 abs [((RealBinOp (RealBinOp (RealBinOp (RealBinOp (ArrayItem (Var 186 array_a) [(() (Var 186 i) ())] (Real 8 []) RowMajor ()) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()) Mul (RealConstant 5.000000 (Real 8 [])) (Real 8 []) ()) Mul (RealBinOp (ArrayItem (Var 186 array_b) [(() (Var 186 i) ())] (Real 8 []) RowMajor ()) Pow (RealConstant 3.000000 (Real 8 [])) (Real 8 []) ()) (Real 8 []) ()) Sub (ArrayItem (Var 186 result) [(() (Var 186 i) ())] (Real 8 []) RowMajor ()) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 186 eps) (Logical 4 []) ()) ())]), eps: (Variable 186 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 186 i [] Local () () Default (Integer 4 []) Source Public Required .false.), result: (Variable 186 result [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.), size: (Variable 186 size [] In () () Default (Integer 4 []) Source Public Required .false.)}) verify1d_mul (FunctionType [(Real 8 [(() ())]) (Real 8 [(() ())]) (Real 8 [(() ())]) (Integer 4 [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs] [(Var 186 array_a) (Var 186 array_b) (Var 186 result) (Var 186 size)] [(= (Var 186 eps) (RealConstant 0.000000 (Real 8 [])) ()) (DoLoop ((Var 186 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 186 size) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 186 block)])] () Public .false. .false.), verify1d_sum: (Function (SymbolTable 185 {array_a: (Variable 185 array_a [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.), array_b: (Variable 185 array_b [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.), block: (Block (SymbolTable 198 {abs: (ExternalSymbol 198 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 198 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public)}) block [(Assert (RealCompare (FunctionCall 198 abs@__lpython_overloaded_0__abs 198 abs [((RealBinOp (RealBinOp (RealBinOp (ArrayItem (Var 185 array_a) [(() (Var 185 i) ())] (Real 8 []) RowMajor ()) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()) Add (RealBinOp (RealConstant 5.000000 (Real 8 [])) Mul (RealBinOp (ArrayItem (Var 185 array_b) [(() (Var 185 i) ())] (Real 8 []) RowMajor ()) Pow (RealConstant 3.000000 (Real 8 [])) (Real 8 []) ()) (Real 8 []) ()) (Real 8 []) ()) Sub (ArrayItem (Var 185 result) [(() (Var 185 i) ())] (Real 8 []) RowMajor ()) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 185 eps) (Logical 4 []) ()) ())]), eps: (Variable 185 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 185 i [] Local () () Default (Integer 4 []) Source Public Required .false.), result: (Variable 185 result [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.), size: (Variable 185 size [] In () () Default (Integer 4 []) Source Public Required .false.)}) verify1d_sum (FunctionType [(Real 8 [(() ())]) (Real 8 [(() ())]) (Real 8 [(() ())]) (Integer 4 [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs] [(Var 185 array_a) (Var 185 array_b) (Var 185 result) (Var 185 size)] [(= (Var 185 eps) (RealConstant 0.000000 (Real 8 [])) ()) (DoLoop ((Var 185 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 185 size) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 185 block)])] () Public .false. .false.), verify2d: (Function (SymbolTable 184 {array: (Variable 184 array [] InOut () () Default (Real 8 [(() ()) (() ())]) Source Public Required .false.), block: (Block (SymbolTable 196 {block: (Block (SymbolTable 197 {abs: (ExternalSymbol 197 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 197 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), cos@__lpython_overloaded_0__cos: (ExternalSymbol 197 cos@__lpython_overloaded_0__cos 3 __lpython_overloaded_0__cos numpy [] __lpython_overloaded_0__cos Public)}) block [(Assert (RealCompare (FunctionCall 197 abs@__lpython_overloaded_0__abs 197 abs [((RealBinOp (RealBinOp (FunctionCall 197 cos@__lpython_overloaded_0__cos 217 cos [((ArrayItem (Var 184 array) [(() (Var 184 i) ()) (() (Var 184 j) ())] (Real 8 []) RowMajor ()))] (Real 8 []) () ()) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()) Sub (ArrayItem (Var 184 result) [(() (Var 184 i) ()) (() (Var 184 j) ())] (Real 8 []) RowMajor ()) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 184 eps) (Logical 4 []) ()) ())])}) block [(DoLoop ((Var 184 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 184 size2) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 196 block)])]), eps: (Variable 184 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 184 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 184 j [] Local () () Default (Integer 4 []) Source Public Required .false.), result: (Variable 184 result [] InOut () () Default (Real 8 [(() ()) (() ())]) Source Public Required .false.), size1: (Variable 184 size1 [] In () () Default (Integer 4 []) Source Public Required .false.), size2: (Variable 184 size2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) verify2d (FunctionType [(Real 8 [(() ()) (() ())]) (Real 8 [(() ()) (() ())]) (Integer 4 []) (Integer 4 [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs cos@__lpython_overloaded_0__cos abs@__lpython_overloaded_0__abs cos@__lpython_overloaded_0__cos abs@__lpython_overloaded_0__abs cos@__lpython_overloaded_0__cos] [(Var 184 array) (Var 184 result) (Var 184 size1) (Var 184 size2)] [(= (Var 184 eps) (RealConstant 0.000000 (Real 8 [])) ()) (DoLoop ((Var 184 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 184 size1) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 184 block)])] () Public .false. .false.), verifynd: (Function (SymbolTable 183 {array: (Variable 183 array [] InOut () () Default (Real 8 [(() ()) (() ()) (() ())]) Source Public Required .false.), block: (Block (SymbolTable 193 {block: (Block (SymbolTable 194 {block: (Block (SymbolTable 195 {abs: (ExternalSymbol 195 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 195 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), sin@__lpython_overloaded_0__sin: (ExternalSymbol 195 sin@__lpython_overloaded_0__sin 3 __lpython_overloaded_0__sin numpy [] __lpython_overloaded_0__sin Public)}) block [(Assert (RealCompare (FunctionCall 195 abs@__lpython_overloaded_0__abs 195 abs [((RealBinOp (RealBinOp (FunctionCall 195 sin@__lpython_overloaded_0__sin 217 sin [((ArrayItem (Var 183 array) [(() (Var 183 i) ()) (() (Var 183 j) ()) (() (Var 183 k) ())] (Real 8 []) RowMajor ()))] (Real 8 []) () ()) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()) Sub (ArrayItem (Var 183 result) [(() (Var 183 i) ()) (() (Var 183 j) ()) (() (Var 183 k) ())] (Real 8 []) RowMajor ()) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 183 eps) (Logical 4 []) ()) ())])}) block [(DoLoop ((Var 183 k) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 183 size3) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 194 block)])])}) block [(DoLoop ((Var 183 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 183 size2) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 193 block)])]), eps: (Variable 183 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 183 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 183 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 183 k [] Local () () Default (Integer 4 []) Source Public Required .false.), result: (Variable 183 result [] InOut () () Default (Real 8 [(() ()) (() ()) (() ())]) Source Public Required .false.), size1: (Variable 183 size1 [] In () () Default (Integer 4 []) Source Public Required .false.), size2: (Variable 183 size2 [] In () () Default (Integer 4 []) Source Public Required .false.), size3: (Variable 183 size3 [] In () () Default (Integer 4 []) Source Public Required .false.)}) verifynd (FunctionType [(Real 8 [(() ()) (() ()) (() ())]) (Real 8 [(() ()) (() ()) (() ())]) (Integer 4 []) (Integer 4 []) (Integer 4 [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs sin@__lpython_overloaded_0__sin abs@__lpython_overloaded_0__abs sin@__lpython_overloaded_0__sin abs@__lpython_overloaded_0__abs sin@__lpython_overloaded_0__sin abs@__lpython_overloaded_0__abs sin@__lpython_overloaded_0__sin] [(Var 183 array) (Var 183 result) (Var 183 size1) (Var 183 size2) (Var 183 size3)] [(= (Var 183 eps) (RealConstant 0.000000 (Real 8 [])) ()) (DoLoop ((Var 183 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 183 size1) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 183 block)])] () Public .false. .false.)}) _global_symbols [numpy lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 215 {_lpython_main_program: (ExternalSymbol 215 _lpython_main_program 217 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 215 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_4___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_4___mod 79 __lpython_overloaded_4___mod lpython_builtin [] __lpython_overloaded_4___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_4___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_4___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_2___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 0.500000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) (RealConstant 3.141593 (Real 4 [])) Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) (RealConstant 3.141593 (Real 8 [])) Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 218 {_lpython_main_program: (Function (SymbolTable 217 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [elemental_sin elemental_cos elemental_trig_identity elemental_sum elemental_mul] [] [(SubroutineCall 218 elemental_sin () [] ()) (SubroutineCall 218 elemental_cos () [] ()) (SubroutineCall 218 elemental_trig_identity () [] ()) (SubroutineCall 218 elemental_sum () [] ()) (SubroutineCall 218 elemental_mul () [] ())] () Public .false. .false.), cos: (ExternalSymbol 218 cos 3 cos numpy [] cos Public), elemental_cos: (Function (SymbolTable 191 {array2d: (Variable 191 array2d [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 [])))]) Source Public Required .false.), cos2d: (Variable 191 cos2d [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 [])))]) Source Public Required .false.), cos@__lpython_overloaded_0__cos: (ExternalSymbol 191 cos@__lpython_overloaded_0__cos 3 __lpython_overloaded_0__cos numpy [] __lpython_overloaded_0__cos Public), i: (Variable 191 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 191 j [] Local () () Default (Integer 4 []) Source Public Required .false.)}) elemental_cos (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [cos@__lpython_overloaded_0__cos verify2d] [] [(DoLoop ((Var 191 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 256 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 255 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 191 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 64 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 63 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 191 array2d) [(() (Var 191 i) ()) (() (Var 191 j) ())] (Real 8 []) RowMajor ()) (Cast (IntegerBinOp (Var 191 i) Add (Var 191 j) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) ())])]) (= (Var 191 cos2d) (RealBinOp (FunctionCall 191 cos@__lpython_overloaded_0__cos 218 cos [((Var 191 array2d))] (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 [])))]) () ()) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 [])))]) ()) ()) (SubroutineCall 218 verify2d () [((Var 191 array2d)) ((Var 191 cos2d)) ((IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 64 (Integer 4 [])))] ())] () Public .false. .false.), elemental_mul: (Function (SymbolTable 189 {array_a: (Variable 189 array_a [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) Source Public Required .false.), array_b: (Variable 189 array_b [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) Source Public Required .false.), array_c: (Variable 189 array_c [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) Source Public Required .false.), i: (Variable 189 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 189 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 189 k [] Local () () Default (Integer 4 []) Source Public Required .false.)}) elemental_mul (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [verify1d_mul] [] [(DoLoop ((Var 189 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 100 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 99 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 189 array_a) [(() (Var 189 i) ())] (Real 8 []) RowMajor ()) (Cast (Var 189 i) IntegerToReal (Real 8 []) ()) ())]) (DoLoop ((Var 189 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 100 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 99 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 189 array_b) [(() (Var 189 j) ())] (Real 8 []) RowMajor ()) (Cast (IntegerBinOp (Var 189 j) Add (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) ())]) (= (Var 189 array_c) (RealBinOp (RealBinOp (RealBinOp (Var 189 array_a) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) Mul (RealConstant 5.000000 (Real 8 [])) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) Mul (RealBinOp (Var 189 array_b) Pow (RealConstant 3.000000 (Real 8 [])) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) ()) (SubroutineCall 218 verify1d_mul () [((Var 189 array_a)) ((Var 189 array_b)) ((Var 189 array_c)) ((IntegerConstant 100 (Integer 4 [])))] ())] () Public .false. .false.), elemental_sin: (Function (SymbolTable 190 {array1d: (Variable 190 array1d [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 [])))]) Source Public Required .false.), arraynd: (Variable 190 arraynd [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) Source Public Required .false.), i: (Variable 190 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 190 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 190 k [] Local () () Default (Integer 4 []) Source Public Required .false.), sin1d: (Variable 190 sin1d [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 [])))]) Source Public Required .false.), sin@__lpython_overloaded_0__sin: (ExternalSymbol 190 sin@__lpython_overloaded_0__sin 3 __lpython_overloaded_0__sin numpy [] __lpython_overloaded_0__sin Public), sin@__lpython_overloaded_1__sin: (ExternalSymbol 190 sin@__lpython_overloaded_1__sin 3 __lpython_overloaded_1__sin numpy [] __lpython_overloaded_1__sin Public), sinnd: (Variable 190 sinnd [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) Source Public Required .false.)}) elemental_sin (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [sin@__lpython_overloaded_1__sin sin@__lpython_overloaded_1__sin verify1d sin@__lpython_overloaded_0__sin verifynd] [] [(DoLoop ((Var 190 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 256 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 255 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 190 array1d) [(() (Var 190 i) ())] (Real 4 []) RowMajor ()) (Cast (Var 190 i) IntegerToReal (Real 4 []) ()) ())]) (= (Var 190 sin1d) (FunctionCall 190 sin@__lpython_overloaded_1__sin 218 sin [((FunctionCall 190 sin@__lpython_overloaded_1__sin 218 sin [((Var 190 array1d))] (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 [])))]) () ()))] (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 [])))]) () ()) ()) (SubroutineCall 218 verify1d () [((Var 190 array1d)) ((Var 190 sin1d)) ((IntegerConstant 256 (Integer 4 [])))] ()) (DoLoop ((Var 190 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 256 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 255 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 190 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 64 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 63 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 190 k) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 190 arraynd) [(() (Var 190 i) ()) (() (Var 190 j) ()) (() (Var 190 k) ())] (Real 8 []) RowMajor ()) (Cast (IntegerBinOp (IntegerBinOp (Var 190 i) Add (Var 190 j) (Integer 4 []) ()) Add (Var 190 k) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) ())])])]) (= (Var 190 sinnd) (RealBinOp (FunctionCall 190 sin@__lpython_overloaded_0__sin 218 sin [((Var 190 arraynd))] (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) () ()) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) ()) ()) (SubroutineCall 218 verifynd () [((Var 190 arraynd)) ((Var 190 sinnd)) ((IntegerConstant 256 (Integer 4 []))) ((IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 16 (Integer 4 [])))] ())] () Public .false. .false.), elemental_sum: (Function (SymbolTable 188 {array_a: (Variable 188 array_a [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) Source Public Required .false.), array_b: (Variable 188 array_b [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) Source Public Required .false.), array_c: (Variable 188 array_c [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) Source Public Required .false.), i: (Variable 188 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 188 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 188 k [] Local () () Default (Integer 4 []) Source Public Required .false.)}) elemental_sum (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [verify1d_sum] [] [(DoLoop ((Var 188 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 100 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 99 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 188 array_a) [(() (Var 188 i) ())] (Real 8 []) RowMajor ()) (Cast (Var 188 i) IntegerToReal (Real 8 []) ()) ())]) (DoLoop ((Var 188 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 100 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 99 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 188 array_b) [(() (Var 188 j) ())] (Real 8 []) RowMajor ()) (Cast (IntegerBinOp (Var 188 j) Add (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) ())]) (= (Var 188 array_c) (RealBinOp (RealBinOp (Var 188 array_a) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) Add (RealBinOp (RealConstant 5.000000 (Real 8 [])) Mul (RealBinOp (Var 188 array_b) Pow (RealConstant 3.000000 (Real 8 [])) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 100 (Integer 4 [])))]) ()) ()) (SubroutineCall 218 verify1d_sum () [((Var 188 array_a)) ((Var 188 array_b)) ((Var 188 array_c)) ((IntegerConstant 100 (Integer 4 [])))] ())] () Public .false. .false.), elemental_trig_identity: (Function (SymbolTable 192 {arraynd: (Variable 192 arraynd [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 32 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 8 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) Source Public Required .false.), block: (Block (SymbolTable 215 {abs: (ExternalSymbol 215 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_1__abs: (ExternalSymbol 215 abs@__lpython_overloaded_1__abs 79 __lpython_overloaded_1__abs lpython_builtin [] __lpython_overloaded_1__abs Public)}) block [(Assert (RealCompare (FunctionCall 215 abs@__lpython_overloaded_1__abs 215 abs [((RealBinOp (ArrayItem (Var 192 observed1d) [(() (Var 192 i) ())] (Real 4 []) RowMajor ()) Sub (Cast (RealConstant 1.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()))] (Real 4 []) () ()) LtE (Var 192 eps) (Logical 4 []) ()) ())]), cos@__lpython_overloaded_1__cos: (ExternalSymbol 192 cos@__lpython_overloaded_1__cos 3 __lpython_overloaded_1__cos numpy [] __lpython_overloaded_1__cos Public), eps: (Variable 192 eps [] Local () () Default (Real 4 []) Source Public Required .false.), i: (Variable 192 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 192 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 192 k [] Local () () Default (Integer 4 []) Source Public Required .false.), l: (Variable 192 l [] Local () () Default (Integer 4 []) Source Public Required .false.), newshape: (Variable 192 newshape [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), observed: (Variable 192 observed [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 32 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 8 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) Source Public Required .false.), observed1d: (Variable 192 observed1d [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 65536 (Integer 4 [])))]) Source Public Required .false.), sin@__lpython_overloaded_1__sin: (ExternalSymbol 192 sin@__lpython_overloaded_1__sin 3 __lpython_overloaded_1__sin numpy [] __lpython_overloaded_1__sin Public)}) elemental_trig_identity (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_1__abs sin@__lpython_overloaded_1__sin cos@__lpython_overloaded_1__cos abs@__lpython_overloaded_1__abs] [] [(= (Var 192 eps) (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) ()) (DoLoop ((Var 192 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 64 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 63 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 192 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 32 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 31 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 192 k) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 8 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 7 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 192 l) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 4 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 3 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 192 arraynd) [(() (Var 192 i) ()) (() (Var 192 j) ()) (() (Var 192 k) ()) (() (Var 192 l) ())] (Real 4 []) RowMajor ()) (Cast (IntegerBinOp (IntegerBinOp (IntegerBinOp (Var 192 i) Add (Var 192 j) (Integer 4 []) ()) Add (Var 192 k) (Integer 4 []) ()) Add (Var 192 l) (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ())])])])]) (= (Var 192 observed) (RealBinOp (RealBinOp (FunctionCall 192 sin@__lpython_overloaded_1__sin 218 sin [((Var 192 arraynd))] (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 32 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 8 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) () ()) Pow (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))) (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 32 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 8 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) ()) Add (RealBinOp (FunctionCall 192 cos@__lpython_overloaded_1__cos 218 cos [((Var 192 arraynd))] (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 32 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 8 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) () ()) Pow (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))) (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 32 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 8 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) ()) (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 64 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 32 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 8 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4 (Integer 4 [])))]) ()) ()) (= (ArrayItem (Var 192 newshape) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 65536 (Integer 4 [])) ()) (= (Var 192 observed1d) (ArrayReshape (Var 192 observed) (Var 192 newshape) (Real 4 [(() ())]) ()) ()) (DoLoop ((Var 192 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 65536 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 65535 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 192 block)])] () Public .false. .false.), sin: (ExternalSymbol 218 sin 3 sin numpy [] sin Public), verify1d: (Function (SymbolTable 183 {array: (Variable 183 array [] InOut () () Default (Real 4 [(() ())]) Source Public Required .false.), block: (Block (SymbolTable 193 {abs: (ExternalSymbol 193 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_1__abs: (ExternalSymbol 193 abs@__lpython_overloaded_1__abs 79 __lpython_overloaded_1__abs lpython_builtin [] __lpython_overloaded_1__abs Public), sin@__lpython_overloaded_1__sin: (ExternalSymbol 193 sin@__lpython_overloaded_1__sin 3 __lpython_overloaded_1__sin numpy [] __lpython_overloaded_1__sin Public)}) block [(Assert (RealCompare (FunctionCall 193 abs@__lpython_overloaded_1__abs 193 abs [((RealBinOp (FunctionCall 193 sin@__lpython_overloaded_1__sin 218 sin [((FunctionCall 193 sin@__lpython_overloaded_1__sin 218 sin [((ArrayItem (Var 183 array) [(() (Var 183 i) ())] (Real 4 []) RowMajor ()))] (Real 4 []) () ()))] (Real 4 []) () ()) Sub (ArrayItem (Var 183 result) [(() (Var 183 i) ())] (Real 4 []) RowMajor ()) (Real 4 []) ()))] (Real 4 []) () ()) LtE (Var 183 eps) (Logical 4 []) ()) ())]), eps: (Variable 183 eps [] Local () () Default (Real 4 []) Source Public Required .false.), i: (Variable 183 i [] Local () () Default (Integer 4 []) Source Public Required .false.), result: (Variable 183 result [] InOut () () Default (Real 4 [(() ())]) Source Public Required .false.), size: (Variable 183 size [] In () () Default (Integer 4 []) Source Public Required .false.)}) verify1d (FunctionType [(Real 4 [(() ())]) (Real 4 [(() ())]) (Integer 4 [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_1__abs sin@__lpython_overloaded_1__sin sin@__lpython_overloaded_1__sin abs@__lpython_overloaded_1__abs sin@__lpython_overloaded_1__sin sin@__lpython_overloaded_1__sin] [(Var 183 array) (Var 183 result) (Var 183 size)] [(= (Var 183 eps) (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) ()) (DoLoop ((Var 183 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 183 size) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 183 block)])] () Public .false. .false.), verify1d_mul: (Function (SymbolTable 187 {array_a: (Variable 187 array_a [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.), array_b: (Variable 187 array_b [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.), block: (Block (SymbolTable 200 {abs: (ExternalSymbol 200 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 200 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public)}) block [(Assert (RealCompare (FunctionCall 200 abs@__lpython_overloaded_0__abs 200 abs [((RealBinOp (RealBinOp (RealBinOp (RealBinOp (ArrayItem (Var 187 array_a) [(() (Var 187 i) ())] (Real 8 []) RowMajor ()) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()) Mul (RealConstant 5.000000 (Real 8 [])) (Real 8 []) ()) Mul (RealBinOp (ArrayItem (Var 187 array_b) [(() (Var 187 i) ())] (Real 8 []) RowMajor ()) Pow (RealConstant 3.000000 (Real 8 [])) (Real 8 []) ()) (Real 8 []) ()) Sub (ArrayItem (Var 187 result) [(() (Var 187 i) ())] (Real 8 []) RowMajor ()) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 187 eps) (Logical 4 []) ()) ())]), eps: (Variable 187 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 187 i [] Local () () Default (Integer 4 []) Source Public Required .false.), result: (Variable 187 result [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.), size: (Variable 187 size [] In () () Default (Integer 4 []) Source Public Required .false.)}) verify1d_mul (FunctionType [(Real 8 [(() ())]) (Real 8 [(() ())]) (Real 8 [(() ())]) (Integer 4 [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs] [(Var 187 array_a) (Var 187 array_b) (Var 187 result) (Var 187 size)] [(= (Var 187 eps) (RealConstant 0.000000 (Real 8 [])) ()) (DoLoop ((Var 187 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 187 size) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 187 block)])] () Public .false. .false.), verify1d_sum: (Function (SymbolTable 186 {array_a: (Variable 186 array_a [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.), array_b: (Variable 186 array_b [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.), block: (Block (SymbolTable 199 {abs: (ExternalSymbol 199 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 199 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public)}) block [(Assert (RealCompare (FunctionCall 199 abs@__lpython_overloaded_0__abs 199 abs [((RealBinOp (RealBinOp (RealBinOp (ArrayItem (Var 186 array_a) [(() (Var 186 i) ())] (Real 8 []) RowMajor ()) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()) Add (RealBinOp (RealConstant 5.000000 (Real 8 [])) Mul (RealBinOp (ArrayItem (Var 186 array_b) [(() (Var 186 i) ())] (Real 8 []) RowMajor ()) Pow (RealConstant 3.000000 (Real 8 [])) (Real 8 []) ()) (Real 8 []) ()) (Real 8 []) ()) Sub (ArrayItem (Var 186 result) [(() (Var 186 i) ())] (Real 8 []) RowMajor ()) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 186 eps) (Logical 4 []) ()) ())]), eps: (Variable 186 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 186 i [] Local () () Default (Integer 4 []) Source Public Required .false.), result: (Variable 186 result [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.), size: (Variable 186 size [] In () () Default (Integer 4 []) Source Public Required .false.)}) verify1d_sum (FunctionType [(Real 8 [(() ())]) (Real 8 [(() ())]) (Real 8 [(() ())]) (Integer 4 [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs] [(Var 186 array_a) (Var 186 array_b) (Var 186 result) (Var 186 size)] [(= (Var 186 eps) (RealConstant 0.000000 (Real 8 [])) ()) (DoLoop ((Var 186 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 186 size) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 186 block)])] () Public .false. .false.), verify2d: (Function (SymbolTable 185 {array: (Variable 185 array [] InOut () () Default (Real 8 [(() ()) (() ())]) Source Public Required .false.), block: (Block (SymbolTable 197 {block: (Block (SymbolTable 198 {abs: (ExternalSymbol 198 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 198 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), cos@__lpython_overloaded_0__cos: (ExternalSymbol 198 cos@__lpython_overloaded_0__cos 3 __lpython_overloaded_0__cos numpy [] __lpython_overloaded_0__cos Public)}) block [(Assert (RealCompare (FunctionCall 198 abs@__lpython_overloaded_0__abs 198 abs [((RealBinOp (RealBinOp (FunctionCall 198 cos@__lpython_overloaded_0__cos 218 cos [((ArrayItem (Var 185 array) [(() (Var 185 i) ()) (() (Var 185 j) ())] (Real 8 []) RowMajor ()))] (Real 8 []) () ()) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()) Sub (ArrayItem (Var 185 result) [(() (Var 185 i) ()) (() (Var 185 j) ())] (Real 8 []) RowMajor ()) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 185 eps) (Logical 4 []) ()) ())])}) block [(DoLoop ((Var 185 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 185 size2) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 197 block)])]), eps: (Variable 185 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 185 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 185 j [] Local () () Default (Integer 4 []) Source Public Required .false.), result: (Variable 185 result [] InOut () () Default (Real 8 [(() ()) (() ())]) Source Public Required .false.), size1: (Variable 185 size1 [] In () () Default (Integer 4 []) Source Public Required .false.), size2: (Variable 185 size2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) verify2d (FunctionType [(Real 8 [(() ()) (() ())]) (Real 8 [(() ()) (() ())]) (Integer 4 []) (Integer 4 [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs cos@__lpython_overloaded_0__cos abs@__lpython_overloaded_0__abs cos@__lpython_overloaded_0__cos abs@__lpython_overloaded_0__abs cos@__lpython_overloaded_0__cos] [(Var 185 array) (Var 185 result) (Var 185 size1) (Var 185 size2)] [(= (Var 185 eps) (RealConstant 0.000000 (Real 8 [])) ()) (DoLoop ((Var 185 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 185 size1) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 185 block)])] () Public .false. .false.), verifynd: (Function (SymbolTable 184 {array: (Variable 184 array [] InOut () () Default (Real 8 [(() ()) (() ()) (() ())]) Source Public Required .false.), block: (Block (SymbolTable 194 {block: (Block (SymbolTable 195 {block: (Block (SymbolTable 196 {abs: (ExternalSymbol 196 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 196 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), sin@__lpython_overloaded_0__sin: (ExternalSymbol 196 sin@__lpython_overloaded_0__sin 3 __lpython_overloaded_0__sin numpy [] __lpython_overloaded_0__sin Public)}) block [(Assert (RealCompare (FunctionCall 196 abs@__lpython_overloaded_0__abs 196 abs [((RealBinOp (RealBinOp (FunctionCall 196 sin@__lpython_overloaded_0__sin 218 sin [((ArrayItem (Var 184 array) [(() (Var 184 i) ()) (() (Var 184 j) ()) (() (Var 184 k) ())] (Real 8 []) RowMajor ()))] (Real 8 []) () ()) Pow (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()) Sub (ArrayItem (Var 184 result) [(() (Var 184 i) ()) (() (Var 184 j) ()) (() (Var 184 k) ())] (Real 8 []) RowMajor ()) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 184 eps) (Logical 4 []) ()) ())])}) block [(DoLoop ((Var 184 k) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 184 size3) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 195 block)])])}) block [(DoLoop ((Var 184 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 184 size2) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 194 block)])]), eps: (Variable 184 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 184 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 184 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 184 k [] Local () () Default (Integer 4 []) Source Public Required .false.), result: (Variable 184 result [] InOut () () Default (Real 8 [(() ()) (() ()) (() ())]) Source Public Required .false.), size1: (Variable 184 size1 [] In () () Default (Integer 4 []) Source Public Required .false.), size2: (Variable 184 size2 [] In () () Default (Integer 4 []) Source Public Required .false.), size3: (Variable 184 size3 [] In () () Default (Integer 4 []) Source Public Required .false.)}) verifynd (FunctionType [(Real 8 [(() ()) (() ()) (() ())]) (Real 8 [(() ()) (() ()) (() ())]) (Integer 4 []) (Integer 4 []) (Integer 4 [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs sin@__lpython_overloaded_0__sin abs@__lpython_overloaded_0__abs sin@__lpython_overloaded_0__sin abs@__lpython_overloaded_0__abs sin@__lpython_overloaded_0__sin abs@__lpython_overloaded_0__abs sin@__lpython_overloaded_0__sin] [(Var 184 array) (Var 184 result) (Var 184 size1) (Var 184 size2) (Var 184 size3)] [(= (Var 184 eps) (RealConstant 0.000000 (Real 8 [])) ()) (DoLoop ((Var 184 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 184 size1) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 184 block)])] () Public .false. .false.)}) _global_symbols [numpy lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 216 {_lpython_main_program: (ExternalSymbol 216 _lpython_main_program 218 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 216 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_4___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_4___mod 79 __lpython_overloaded_4___mod lpython_builtin [] __lpython_overloaded_4___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_4___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_4___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_2___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 0.500000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) (RealConstant 3.141593 (Real 4 [])) Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) (RealConstant 3.141593 (Real 8 [])) Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) diff --git a/tests/reference/asr-expr10-efcbb1b.json b/tests/reference/asr-expr10-efcbb1b.json index 91610758bd..f207ac0504 100644 --- a/tests/reference/asr-expr10-efcbb1b.json +++ b/tests/reference/asr-expr10-efcbb1b.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr10-efcbb1b.stdout", - "stdout_hash": "04e7cfb40574b46f857074de470fad72f86f495b6ca743a5e7907c8b", + "stdout_hash": "7f1257dc3fca22cd69c061b924c15950413591f8704a67366fcd1558", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr10-efcbb1b.stdout b/tests/reference/asr-expr10-efcbb1b.stdout index 20e3b2dd9f..c79fb9b1a8 100644 --- a/tests/reference/asr-expr10-efcbb1b.stdout +++ b/tests/reference/asr-expr10-efcbb1b.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 107 {}) main_program [] []), test_UnaryOp: (Function (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Integer 4 []) Source Public Required .false.), b: (Variable 2 b [] Local () () Default (Logical 4 []) Source Public Required .false.), b1: (Variable 2 b1 [] Local () () Default (Logical 4 []) Source Public Required .false.), b2: (Variable 2 b2 [] Local () () Default (Logical 4 []) Source Public Required .false.), b3: (Variable 2 b3 [] Local () () Default (Logical 4 []) Source Public Required .false.), c: (Variable 2 c [] Local () () Default (Complex 4 []) Source Public Required .false.), complex: (ExternalSymbol 2 complex 4 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_13__complex: (ExternalSymbol 2 complex@__lpython_overloaded_13__complex 4 __lpython_overloaded_13__complex lpython_builtin [] __lpython_overloaded_13__complex Public), complex@__lpython_overloaded_9__complex: (ExternalSymbol 2 complex@__lpython_overloaded_9__complex 4 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public), f: (Variable 2 f [] Local () () Default (Real 4 []) Source Public Required .false.)}) test_UnaryOp (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_13__complex] [] [(= (Var 2 a) (IntegerConstant 4 (Integer 4 [])) ()) (= (Var 2 a) (IntegerUnaryMinus (IntegerConstant 500 (Integer 4 [])) (Integer 4 []) (IntegerConstant -500 (Integer 4 []))) ()) (= (Var 2 a) (IntegerBitNot (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -6 (Integer 4 []))) ()) (= (Var 2 b) (LogicalNot (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 2 b) (LogicalNot (Cast (IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))) IntegerToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 2 b) (LogicalNot (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 f) (RealConstant 1.000000 (Real 4 [])) ()) (= (Var 2 f) (RealUnaryMinus (Cast (RealConstant 183745.534000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 183745.534000 (Real 4 []))) (Real 4 []) (RealConstant -183745.534000 (Real 4 []))) ()) (= (Var 2 b1) (LogicalConstant .true. (Logical 4 [])) ()) (= (Var 2 b2) (LogicalNot (LogicalConstant .false. (Logical 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 b3) (LogicalNot (Var 2 b2) (Logical 4 []) ()) ()) (= (Var 2 a) (IntegerConstant 1 (Integer 4 [])) ()) (= (Var 2 a) (IntegerUnaryMinus (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToInteger (Integer 4 []) (IntegerConstant 0 (Integer 4 []))) (Integer 4 []) (IntegerConstant 0 (Integer 4 []))) ()) (= (Var 2 a) (IntegerBitNot (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) (IntegerConstant -2 (Integer 4 []))) (Integer 4 []) (IntegerConstant -2 (Integer 4 []))) ()) (= (Var 2 c) (ComplexConstant 1.000000 2.000000 (Complex 4 [])) ()) (= (Var 2 c) (ComplexUnaryMinus (Cast (FunctionCall 2 complex@__lpython_overloaded_13__complex 2 complex [((IntegerConstant 3 (Integer 4 []))) ((RealConstant 65.000000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 3.000000 65.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 3.000000 65.000000 (Complex 4 []))) (Complex 4 []) (ComplexConstant -3.000000 -65.000000 (Complex 4 []))) ()) (= (Var 2 b1) (LogicalConstant .false. (Logical 4 [])) ()) (= (Var 2 b2) (LogicalConstant .true. (Logical 4 [])) ())] () Public .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 108 {}) main_program [] []), test_UnaryOp: (Function (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Integer 4 []) Source Public Required .false.), b: (Variable 2 b [] Local () () Default (Logical 4 []) Source Public Required .false.), b1: (Variable 2 b1 [] Local () () Default (Logical 4 []) Source Public Required .false.), b2: (Variable 2 b2 [] Local () () Default (Logical 4 []) Source Public Required .false.), b3: (Variable 2 b3 [] Local () () Default (Logical 4 []) Source Public Required .false.), c: (Variable 2 c [] Local () () Default (Complex 4 []) Source Public Required .false.), complex: (ExternalSymbol 2 complex 4 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_13__complex: (ExternalSymbol 2 complex@__lpython_overloaded_13__complex 4 __lpython_overloaded_13__complex lpython_builtin [] __lpython_overloaded_13__complex Public), complex@__lpython_overloaded_9__complex: (ExternalSymbol 2 complex@__lpython_overloaded_9__complex 4 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public), f: (Variable 2 f [] Local () () Default (Real 4 []) Source Public Required .false.)}) test_UnaryOp (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_13__complex] [] [(= (Var 2 a) (IntegerConstant 4 (Integer 4 [])) ()) (= (Var 2 a) (IntegerUnaryMinus (IntegerConstant 500 (Integer 4 [])) (Integer 4 []) (IntegerConstant -500 (Integer 4 []))) ()) (= (Var 2 a) (IntegerBitNot (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -6 (Integer 4 []))) ()) (= (Var 2 b) (LogicalNot (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 2 b) (LogicalNot (Cast (IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))) IntegerToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 2 b) (LogicalNot (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 f) (RealConstant 1.000000 (Real 4 [])) ()) (= (Var 2 f) (RealUnaryMinus (Cast (RealConstant 183745.534000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 183745.534000 (Real 4 []))) (Real 4 []) (RealConstant -183745.534000 (Real 4 []))) ()) (= (Var 2 b1) (LogicalConstant .true. (Logical 4 [])) ()) (= (Var 2 b2) (LogicalNot (LogicalConstant .false. (Logical 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 b3) (LogicalNot (Var 2 b2) (Logical 4 []) ()) ()) (= (Var 2 a) (IntegerConstant 1 (Integer 4 [])) ()) (= (Var 2 a) (IntegerUnaryMinus (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToInteger (Integer 4 []) (IntegerConstant 0 (Integer 4 []))) (Integer 4 []) (IntegerConstant 0 (Integer 4 []))) ()) (= (Var 2 a) (IntegerBitNot (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) (IntegerConstant -2 (Integer 4 []))) (Integer 4 []) (IntegerConstant -2 (Integer 4 []))) ()) (= (Var 2 c) (ComplexConstant 1.000000 2.000000 (Complex 4 [])) ()) (= (Var 2 c) (ComplexUnaryMinus (Cast (FunctionCall 2 complex@__lpython_overloaded_13__complex 2 complex [((IntegerConstant 3 (Integer 4 []))) ((RealConstant 65.000000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 3.000000 65.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 3.000000 65.000000 (Complex 4 []))) (Complex 4 []) (ComplexConstant -3.000000 -65.000000 (Complex 4 []))) ()) (= (Var 2 b1) (LogicalConstant .false. (Logical 4 [])) ()) (= (Var 2 b2) (LogicalConstant .true. (Logical 4 [])) ())] () Public .false. .false.)}) []) diff --git a/tests/reference/asr-expr13-81bdb5a.json b/tests/reference/asr-expr13-81bdb5a.json index 29dc390266..32c62f1aaa 100644 --- a/tests/reference/asr-expr13-81bdb5a.json +++ b/tests/reference/asr-expr13-81bdb5a.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr13-81bdb5a.stdout", - "stdout_hash": "d21700b600504cbb9a130bdb79889c3fdbbd9542511e0ad305951c60", + "stdout_hash": "f0062f2b85f25f7c2f830bc8f9d0f5c88ce6b65367766a910fe65981", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr13-81bdb5a.stdout b/tests/reference/asr-expr13-81bdb5a.stdout index 43e9431148..ed724931a1 100644 --- a/tests/reference/asr-expr13-81bdb5a.stdout +++ b/tests/reference/asr-expr13-81bdb5a.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 107 {}) main_program [] []), test_Compare: (Function (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Logical 4 []) Source Public Required .false.), complex: (ExternalSymbol 2 complex 4 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_5__complex: (ExternalSymbol 2 complex@__lpython_overloaded_5__complex 4 __lpython_overloaded_5__complex lpython_builtin [] __lpython_overloaded_5__complex Public), complex@__lpython_overloaded_9__complex: (ExternalSymbol 2 complex@__lpython_overloaded_9__complex 4 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public)}) test_Compare (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_5__complex complex@__lpython_overloaded_9__complex] [] [(= (Var 2 a) (IntegerCompare (IntegerConstant 5 (Integer 4 [])) Gt (IntegerConstant 4 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (IntegerCompare (IntegerConstant 5 (Integer 4 [])) LtE (IntegerConstant 4 (Integer 4 [])) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 2 a) (IntegerCompare (IntegerConstant 5 (Integer 4 [])) Lt (IntegerConstant 4 (Integer 4 [])) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 2 a) (RealCompare (RealConstant 5.600000 (Real 8 [])) GtE (RealConstant 5.599990 (Real 8 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (RealCompare (RealConstant 3.300000 (Real 8 [])) Eq (RealConstant 3.300000 (Real 8 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (RealCompare (RealConstant 3.300000 (Real 8 [])) NotEq (RealConstant 3.400000 (Real 8 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (ComplexCompare (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 4 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 [])) ()) Eq (FunctionCall 2 complex@__lpython_overloaded_5__complex 2 complex [((RealConstant 3.000000 (Real 8 []))) ((RealConstant 4.000000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 [])) ()) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (StringCompare (StringConstant "abc" (Character 1 3 () [])) Gt (StringConstant "abd" (Character 1 3 () [])) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 2 a) (StringCompare (StringConstant "" (Character 1 0 () [])) Lt (StringConstant "s" (Character 1 1 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (StringCompare (StringConstant "-abs" (Character 1 4 () [])) GtE (StringConstant "abs" (Character 1 3 () [])) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 2 a) (StringCompare (StringConstant "abcd" (Character 1 4 () [])) LtE (StringConstant "abcde" (Character 1 5 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (StringCompare (StringConstant "abc" (Character 1 3 () [])) Eq (StringConstant "abc" (Character 1 3 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (StringCompare (StringConstant "abc" (Character 1 3 () [])) NotEq (StringConstant "abd" (Character 1 3 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (StringCompare (StringConstant "" (Character 1 0 () [])) Eq (StringConstant "+" (Character 1 1 () [])) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 2 a) (LogicalCompare (LogicalConstant .true. (Logical 4 [])) Gt (LogicalConstant .false. (Logical 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (LogicalCompare (LogicalConstant .true. (Logical 4 [])) Eq (LogicalConstant .true. (Logical 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (LogicalCompare (LogicalConstant .false. (Logical 4 [])) NotEq (LogicalConstant .true. (Logical 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (LogicalCompare (LogicalConstant .false. (Logical 4 [])) GtE (LogicalConstant .true. (Logical 4 [])) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ())] () Public .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 108 {}) main_program [] []), test_Compare: (Function (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Logical 4 []) Source Public Required .false.), complex: (ExternalSymbol 2 complex 4 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_5__complex: (ExternalSymbol 2 complex@__lpython_overloaded_5__complex 4 __lpython_overloaded_5__complex lpython_builtin [] __lpython_overloaded_5__complex Public), complex@__lpython_overloaded_9__complex: (ExternalSymbol 2 complex@__lpython_overloaded_9__complex 4 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public)}) test_Compare (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_5__complex complex@__lpython_overloaded_9__complex] [] [(= (Var 2 a) (IntegerCompare (IntegerConstant 5 (Integer 4 [])) Gt (IntegerConstant 4 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (IntegerCompare (IntegerConstant 5 (Integer 4 [])) LtE (IntegerConstant 4 (Integer 4 [])) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 2 a) (IntegerCompare (IntegerConstant 5 (Integer 4 [])) Lt (IntegerConstant 4 (Integer 4 [])) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 2 a) (RealCompare (RealConstant 5.600000 (Real 8 [])) GtE (RealConstant 5.599990 (Real 8 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (RealCompare (RealConstant 3.300000 (Real 8 [])) Eq (RealConstant 3.300000 (Real 8 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (RealCompare (RealConstant 3.300000 (Real 8 [])) NotEq (RealConstant 3.400000 (Real 8 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (ComplexCompare (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 4 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 [])) ()) Eq (FunctionCall 2 complex@__lpython_overloaded_5__complex 2 complex [((RealConstant 3.000000 (Real 8 []))) ((RealConstant 4.000000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 [])) ()) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (StringCompare (StringConstant "abc" (Character 1 3 () [])) Gt (StringConstant "abd" (Character 1 3 () [])) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 2 a) (StringCompare (StringConstant "" (Character 1 0 () [])) Lt (StringConstant "s" (Character 1 1 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (StringCompare (StringConstant "-abs" (Character 1 4 () [])) GtE (StringConstant "abs" (Character 1 3 () [])) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 2 a) (StringCompare (StringConstant "abcd" (Character 1 4 () [])) LtE (StringConstant "abcde" (Character 1 5 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (StringCompare (StringConstant "abc" (Character 1 3 () [])) Eq (StringConstant "abc" (Character 1 3 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (StringCompare (StringConstant "abc" (Character 1 3 () [])) NotEq (StringConstant "abd" (Character 1 3 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (StringCompare (StringConstant "" (Character 1 0 () [])) Eq (StringConstant "+" (Character 1 1 () [])) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ()) (= (Var 2 a) (LogicalCompare (LogicalConstant .true. (Logical 4 [])) Gt (LogicalConstant .false. (Logical 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (LogicalCompare (LogicalConstant .true. (Logical 4 [])) Eq (LogicalConstant .true. (Logical 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (LogicalCompare (LogicalConstant .false. (Logical 4 [])) NotEq (LogicalConstant .true. (Logical 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a) (LogicalCompare (LogicalConstant .false. (Logical 4 [])) GtE (LogicalConstant .true. (Logical 4 [])) (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) ())] () Public .false. .false.)}) []) diff --git a/tests/reference/asr-expr7-480ba2f.json b/tests/reference/asr-expr7-480ba2f.json index 93e75b0bbc..35d179703d 100644 --- a/tests/reference/asr-expr7-480ba2f.json +++ b/tests/reference/asr-expr7-480ba2f.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr7-480ba2f.stdout", - "stdout_hash": "94b52ea74d83b1bd0627288d561a9306298b3f3dc16c3c8a19eab055", + "stdout_hash": "4e9b52bb9593ae58c33de2f43f062d803e0316111fd21f637dadb0fb", "stderr": "asr-expr7-480ba2f.stderr", "stderr_hash": "6e9790ac88db1a9ead8f64a91ba8a6605de67167037908a74b77be0c", "returncode": 0 diff --git a/tests/reference/asr-expr7-480ba2f.stdout b/tests/reference/asr-expr7-480ba2f.stdout index 129bf71beb..f9229fa2cc 100644 --- a/tests/reference/asr-expr7-480ba2f.stdout +++ b/tests/reference/asr-expr7-480ba2f.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 111 {_lpython_main_program: (Function (SymbolTable 110 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [main0] [] [(SubroutineCall 111 main0 () [] ())] () Public .false. .false.), main0: (Function (SymbolTable 4 {c: (Variable 4 c [] Local () () Default (Integer 4 []) Source Public Required .false.)}) main0 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_pow test_pow_1] [] [(SubroutineCall 111 test_pow () [] ()) (= (Var 4 c) (FunctionCall 111 test_pow_1 () [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 [])))] (Integer 4 []) () ()) ())] () Public .false. .false.), test_pow: (Function (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Integer 4 []) Source Public Required .false.), pow: (ExternalSymbol 2 pow 6 pow lpython_builtin [] pow Private), pow@__lpython_overloaded_0__pow: (ExternalSymbol 2 pow@__lpython_overloaded_0__pow 6 __lpython_overloaded_0__pow lpython_builtin [] __lpython_overloaded_0__pow Public)}) test_pow (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [pow@__lpython_overloaded_0__pow] [] [(= (Var 2 a) (Cast (FunctionCall 2 pow@__lpython_overloaded_0__pow 2 pow [((IntegerConstant 2 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 [])))] (Real 8 []) (RealConstant 4.000000 (Real 8 [])) ()) RealToInteger (Integer 4 []) (IntegerConstant 4 (Integer 4 []))) ())] () Public .false. .false.), test_pow_1: (Function (SymbolTable 3 {_lpython_return_variable: (Variable 3 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), a: (Variable 3 a [] In () () Default (Integer 4 []) Source Public Required .false.), b: (Variable 3 b [] In () () Default (Integer 4 []) Source Public Required .false.), pow: (ExternalSymbol 3 pow 6 pow lpython_builtin [] pow Private), pow@__lpython_overloaded_0__pow: (ExternalSymbol 3 pow@__lpython_overloaded_0__pow 6 __lpython_overloaded_0__pow lpython_builtin [] __lpython_overloaded_0__pow Public), res: (Variable 3 res [] Local () () Default (Integer 4 []) Source Public Required .false.)}) test_pow_1 (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [pow@__lpython_overloaded_0__pow] [(Var 3 a) (Var 3 b)] [(= (Var 3 res) (Cast (FunctionCall 3 pow@__lpython_overloaded_0__pow 3 pow [((Var 3 a)) ((Var 3 b))] (Real 8 []) () ()) RealToInteger (Integer 4 []) ()) ()) (= (Var 3 _lpython_return_variable) (Var 3 res) ()) (Return)] (Var 3 _lpython_return_variable) Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 109 {_lpython_main_program: (ExternalSymbol 109 _lpython_main_program 111 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 109 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 112 {_lpython_main_program: (Function (SymbolTable 111 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [main0] [] [(SubroutineCall 112 main0 () [] ())] () Public .false. .false.), main0: (Function (SymbolTable 4 {c: (Variable 4 c [] Local () () Default (Integer 4 []) Source Public Required .false.)}) main0 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_pow test_pow_1] [] [(SubroutineCall 112 test_pow () [] ()) (= (Var 4 c) (FunctionCall 112 test_pow_1 () [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 [])))] (Integer 4 []) () ()) ())] () Public .false. .false.), test_pow: (Function (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Integer 4 []) Source Public Required .false.), pow: (ExternalSymbol 2 pow 6 pow lpython_builtin [] pow Private), pow@__lpython_overloaded_0__pow: (ExternalSymbol 2 pow@__lpython_overloaded_0__pow 6 __lpython_overloaded_0__pow lpython_builtin [] __lpython_overloaded_0__pow Public)}) test_pow (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [pow@__lpython_overloaded_0__pow] [] [(= (Var 2 a) (Cast (FunctionCall 2 pow@__lpython_overloaded_0__pow 2 pow [((IntegerConstant 2 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 [])))] (Real 8 []) (RealConstant 4.000000 (Real 8 [])) ()) RealToInteger (Integer 4 []) (IntegerConstant 4 (Integer 4 []))) ())] () Public .false. .false.), test_pow_1: (Function (SymbolTable 3 {_lpython_return_variable: (Variable 3 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), a: (Variable 3 a [] In () () Default (Integer 4 []) Source Public Required .false.), b: (Variable 3 b [] In () () Default (Integer 4 []) Source Public Required .false.), pow: (ExternalSymbol 3 pow 6 pow lpython_builtin [] pow Private), pow@__lpython_overloaded_0__pow: (ExternalSymbol 3 pow@__lpython_overloaded_0__pow 6 __lpython_overloaded_0__pow lpython_builtin [] __lpython_overloaded_0__pow Public), res: (Variable 3 res [] Local () () Default (Integer 4 []) Source Public Required .false.)}) test_pow_1 (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [pow@__lpython_overloaded_0__pow] [(Var 3 a) (Var 3 b)] [(= (Var 3 res) (Cast (FunctionCall 3 pow@__lpython_overloaded_0__pow 3 pow [((Var 3 a)) ((Var 3 b))] (Real 8 []) () ()) RealToInteger (Integer 4 []) ()) ()) (= (Var 3 _lpython_return_variable) (Var 3 res) ()) (Return)] (Var 3 _lpython_return_variable) Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 110 {_lpython_main_program: (ExternalSymbol 110 _lpython_main_program 112 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 110 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-expr8-6beda60.json b/tests/reference/asr-expr8-6beda60.json index 2535bb3328..b36525ca6f 100644 --- a/tests/reference/asr-expr8-6beda60.json +++ b/tests/reference/asr-expr8-6beda60.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr8-6beda60.stdout", - "stdout_hash": "a492200eef881466e8b4aae0417c6e454de9707221b9d3e6287b3a68", + "stdout_hash": "18c7eb37705836b3ab44d25b29e84c3da65bc4c96bc6857ed69e7851", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr8-6beda60.stdout b/tests/reference/asr-expr8-6beda60.stdout index 007be27e39..5243586be3 100644 --- a/tests/reference/asr-expr8-6beda60.stdout +++ b/tests/reference/asr-expr8-6beda60.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 107 {}) main_program [] []), test_binop: (Function (SymbolTable 2 {_lpython_floordiv: (ExternalSymbol 2 _lpython_floordiv 4 _lpython_floordiv lpython_builtin [] _lpython_floordiv Private), _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv: (ExternalSymbol 2 _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv 4 __lpython_overloaded_6___lpython_floordiv lpython_builtin [] __lpython_overloaded_6___lpython_floordiv Public), b1: (Variable 2 b1 [] Local () () Default (Logical 4 []) Source Public Required .false.), b2: (Variable 2 b2 [] Local () () Default (Logical 4 []) Source Public Required .false.), x: (Variable 2 x [] Local () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 2 x2 [] Local () () Default (Real 4 []) Source Public Required .false.)}) test_binop (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [_lpython_floordiv@__lpython_overloaded_6___lpython_floordiv] [] [(= (Var 2 x) (IntegerBinOp (IntegerConstant 2 (Integer 4 [])) Pow (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) (IntegerConstant 8 (Integer 4 []))) ()) (= (Var 2 x2) (Cast (RealBinOp (RealConstant 2.000000 (Real 8 [])) Pow (RealConstant 3.500000 (Real 8 [])) (Real 8 []) (RealConstant 11.313708 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 11.313708 (Real 4 []))) ()) (= (Var 2 x) (IntegerBinOp (IntegerConstant 54 (Integer 4 [])) Sub (IntegerConstant 100 (Integer 4 [])) (Integer 4 []) (IntegerConstant -46 (Integer 4 []))) ()) (= (Var 2 x2) (Cast (RealBinOp (RealBinOp (RealConstant 3.454000 (Real 8 [])) Sub (RealConstant 765.430000 (Real 8 [])) (Real 8 []) (RealConstant -761.976000 (Real 8 []))) Add (RealConstant 534.600000 (Real 8 [])) (Real 8 []) (RealConstant -227.376000 (Real 8 []))) RealToReal (Real 4 []) (RealConstant -227.376000 (Real 4 []))) ()) (= (Var 2 x2) (Cast (RealBinOp (RealConstant 5346.565000 (Real 8 [])) Mul (RealConstant 3.450000 (Real 8 [])) (Real 8 []) (RealConstant 18445.649250 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 18445.649250 (Real 4 []))) ()) (= (Var 2 x2) (Cast (RealBinOp (RealConstant 5346.565000 (Real 8 [])) Pow (RealConstant 3.450000 (Real 8 [])) (Real 8 []) (RealConstant 7275422789925.217773 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 7275422789925.217773 (Real 4 []))) ()) (= (Var 2 x) (IntegerBinOp (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Add (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (= (Var 2 x) (IntegerBinOp (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Sub (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (= (Var 2 x) (IntegerBinOp (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Mul (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (= (Var 2 x) (IntegerBinOp (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Pow (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (= (Var 2 b1) (LogicalConstant .true. (Logical 4 [])) ()) (= (Var 2 b2) (LogicalConstant .false. (Logical 4 [])) ()) (= (Var 2 x) (Cast (FunctionCall 2 _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv 2 _lpython_floordiv [((Var 2 b1)) ((Var 2 b1))] (Logical 4 []) () ()) LogicalToInteger (Integer 4 []) ()) ()) (= (Var 2 x) (IntegerBinOp (Cast (Var 2 b1) LogicalToInteger (Integer 4 []) ()) Pow (Cast (Var 2 b2) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ())] () Public .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 108 {}) main_program [] []), test_binop: (Function (SymbolTable 2 {_lpython_floordiv: (ExternalSymbol 2 _lpython_floordiv 4 _lpython_floordiv lpython_builtin [] _lpython_floordiv Private), _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv: (ExternalSymbol 2 _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv 4 __lpython_overloaded_6___lpython_floordiv lpython_builtin [] __lpython_overloaded_6___lpython_floordiv Public), b1: (Variable 2 b1 [] Local () () Default (Logical 4 []) Source Public Required .false.), b2: (Variable 2 b2 [] Local () () Default (Logical 4 []) Source Public Required .false.), x: (Variable 2 x [] Local () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 2 x2 [] Local () () Default (Real 4 []) Source Public Required .false.)}) test_binop (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [_lpython_floordiv@__lpython_overloaded_6___lpython_floordiv] [] [(= (Var 2 x) (IntegerBinOp (IntegerConstant 2 (Integer 4 [])) Pow (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) (IntegerConstant 8 (Integer 4 []))) ()) (= (Var 2 x2) (Cast (RealBinOp (RealConstant 2.000000 (Real 8 [])) Pow (RealConstant 3.500000 (Real 8 [])) (Real 8 []) (RealConstant 11.313708 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 11.313708 (Real 4 []))) ()) (= (Var 2 x) (IntegerBinOp (IntegerConstant 54 (Integer 4 [])) Sub (IntegerConstant 100 (Integer 4 [])) (Integer 4 []) (IntegerConstant -46 (Integer 4 []))) ()) (= (Var 2 x2) (Cast (RealBinOp (RealBinOp (RealConstant 3.454000 (Real 8 [])) Sub (RealConstant 765.430000 (Real 8 [])) (Real 8 []) (RealConstant -761.976000 (Real 8 []))) Add (RealConstant 534.600000 (Real 8 [])) (Real 8 []) (RealConstant -227.376000 (Real 8 []))) RealToReal (Real 4 []) (RealConstant -227.376000 (Real 4 []))) ()) (= (Var 2 x2) (Cast (RealBinOp (RealConstant 5346.565000 (Real 8 [])) Mul (RealConstant 3.450000 (Real 8 [])) (Real 8 []) (RealConstant 18445.649250 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 18445.649250 (Real 4 []))) ()) (= (Var 2 x2) (Cast (RealBinOp (RealConstant 5346.565000 (Real 8 [])) Pow (RealConstant 3.450000 (Real 8 [])) (Real 8 []) (RealConstant 7275422789925.217773 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 7275422789925.217773 (Real 4 []))) ()) (= (Var 2 x) (IntegerBinOp (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Add (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (= (Var 2 x) (IntegerBinOp (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Sub (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (= (Var 2 x) (IntegerBinOp (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Mul (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (= (Var 2 x) (IntegerBinOp (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Pow (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (= (Var 2 b1) (LogicalConstant .true. (Logical 4 [])) ()) (= (Var 2 b2) (LogicalConstant .false. (Logical 4 [])) ()) (= (Var 2 x) (Cast (FunctionCall 2 _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv 2 _lpython_floordiv [((Var 2 b1)) ((Var 2 b1))] (Logical 4 []) () ()) LogicalToInteger (Integer 4 []) ()) ()) (= (Var 2 x) (IntegerBinOp (Cast (Var 2 b1) LogicalToInteger (Integer 4 []) ()) Pow (Cast (Var 2 b2) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ())] () Public .false. .false.)}) []) diff --git a/tests/reference/asr-expr_05-3a37324.json b/tests/reference/asr-expr_05-3a37324.json index e3859dda7a..2e09b2825d 100644 --- a/tests/reference/asr-expr_05-3a37324.json +++ b/tests/reference/asr-expr_05-3a37324.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr_05-3a37324.stdout", - "stdout_hash": "668a017908b9a2478f943195e6d8fbc47be20d79faa4070db2f618a3", + "stdout_hash": "b3d744f4c107ca156e38ca922efcfaf0a9fc07c5e033cefec26a4280", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr_05-3a37324.stdout b/tests/reference/asr-expr_05-3a37324.stdout index bd171384bf..00ea89c89f 100644 --- a/tests/reference/asr-expr_05-3a37324.stdout +++ b/tests/reference/asr-expr_05-3a37324.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 111 {_lpython_main_program: (Function (SymbolTable 110 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [main0] [] [(SubroutineCall 111 main0 () [] ())] () Public .false. .false.), main0: (Function (SymbolTable 4 {_mod: (ExternalSymbol 4 _mod 6 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 4 _mod@__lpython_overloaded_2___mod 6 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), _mod@__lpython_overloaded_5___mod: (ExternalSymbol 4 _mod@__lpython_overloaded_5___mod 6 __lpython_overloaded_5___mod lpython_builtin [] __lpython_overloaded_5___mod Public), a: (Variable 4 a [] Local () () Default (Integer 4 []) Source Public Required .false.), abs: (ExternalSymbol 4 abs 6 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 4 abs@__lpython_overloaded_0__abs 6 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), b: (Variable 4 b [] Local () () Default (Integer 4 []) Source Public Required .false.), eps: (Variable 4 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 4 i [] Local () () Default (Integer 8 []) Source Public Required .false.), i1: (Variable 4 i1 [] Local () () Default (Integer 4 []) Source Public Required .false.), i2: (Variable 4 i2 [] Local () () Default (Integer 4 []) Source Public Required .false.), i3: (Variable 4 i3 [] Local () () Default (Integer 4 []) Source Public Required .false.), i4: (Variable 4 i4 [] Local () () Default (Integer 4 []) Source Public Required .false.)}) main0 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_multiply test_mod test_mod test_mod _mod@__lpython_overloaded_2___mod test_mod _mod@__lpython_overloaded_2___mod _mod@__lpython_overloaded_2___mod _mod@__lpython_overloaded_2___mod _mod@__lpython_overloaded_2___mod abs@__lpython_overloaded_0__abs _mod@__lpython_overloaded_5___mod abs@__lpython_overloaded_0__abs _mod@__lpython_overloaded_5___mod] [] [(= (Var 4 a) (IntegerConstant 10 (Integer 4 [])) ()) (= (Var 4 b) (IntegerUnaryMinus (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5 (Integer 4 []))) ()) (= (Var 4 eps) (RealConstant 0.000000 (Real 8 [])) ()) (Assert (IntegerCompare (FunctionCall 111 test_multiply () [((Var 4 a)) ((Var 4 b))] (Integer 4 []) () ()) Eq (IntegerUnaryMinus (IntegerConstant 50 (Integer 4 [])) (Integer 4 []) (IntegerConstant -50 (Integer 4 []))) (Logical 4 []) ()) ()) (= (Var 4 i) (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) ()) (= (Var 4 i) (IntegerBinOp (Var 4 i) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) ()) (Assert (IntegerCompare (Var 4 i) Eq (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 2 (Integer 8 []))) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerConstant 2 (Integer 4 [])) ()) (= (Var 4 b) (IntegerConstant 5 (Integer 4 [])) ()) (Assert (IntegerCompare (FunctionCall 111 test_mod () [((Var 4 a)) ((Var 4 b))] (Integer 4 []) () ()) Eq (IntegerConstant 2 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 111 test_mod () [((IntegerConstant 23 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 [])))] (Integer 4 []) () ()) Eq (IntegerConstant 2 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerConstant 123282374 (Integer 4 [])) ()) (= (Var 4 b) (IntegerConstant 32771 (Integer 4 [])) ()) (Assert (IntegerCompare (FunctionCall 111 test_mod () [((Var 4 a)) ((Var 4 b))] (Integer 4 []) () ()) Eq (IntegerConstant 30643 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerUnaryMinus (IntegerConstant 5345 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5345 (Integer 4 []))) ()) (= (Var 4 b) (IntegerUnaryMinus (IntegerConstant 534 (Integer 4 [])) (Integer 4 []) (IntegerConstant -534 (Integer 4 []))) ()) (Assert (IntegerCompare (FunctionCall 4 _mod@__lpython_overloaded_2___mod 4 _mod [((Var 4 a)) ((Var 4 b))] (Integer 4 []) () ()) Eq (IntegerUnaryMinus (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5 (Integer 4 []))) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerUnaryMinus (IntegerConstant 123282374 (Integer 4 [])) (Integer 4 []) (IntegerConstant -123282374 (Integer 4 []))) ()) (= (Var 4 b) (IntegerConstant 32771 (Integer 4 [])) ()) (Assert (IntegerCompare (FunctionCall 111 test_mod () [((Var 4 a)) ((Var 4 b))] (Integer 4 []) () ()) Eq (IntegerConstant 2128 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerConstant 10 (Integer 4 [])) BitOr (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) (IntegerConstant 14 (Integer 4 []))) Eq (IntegerConstant 14 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerUnaryMinus (IntegerConstant 105346 (Integer 4 [])) (Integer 4 []) (IntegerConstant -105346 (Integer 4 []))) BitOr (IntegerUnaryMinus (IntegerConstant 32771 (Integer 4 [])) (Integer 4 []) (IntegerConstant -32771 (Integer 4 []))) (Integer 4 []) (IntegerConstant -32769 (Integer 4 []))) Eq (IntegerUnaryMinus (IntegerConstant 32769 (Integer 4 [])) (Integer 4 []) (IntegerConstant -32769 (Integer 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerConstant 10 (Integer 4 [])) BitAnd (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) (IntegerConstant 0 (Integer 4 []))) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerUnaryMinus (IntegerConstant 105346 (Integer 4 [])) (Integer 4 []) (IntegerConstant -105346 (Integer 4 []))) BitAnd (IntegerUnaryMinus (IntegerConstant 32771 (Integer 4 [])) (Integer 4 []) (IntegerConstant -32771 (Integer 4 []))) (Integer 4 []) (IntegerConstant -105348 (Integer 4 []))) Eq (IntegerUnaryMinus (IntegerConstant 105348 (Integer 4 [])) (Integer 4 []) (IntegerConstant -105348 (Integer 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerConstant 10 (Integer 4 [])) BitXor (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) (IntegerConstant 14 (Integer 4 []))) Eq (IntegerConstant 14 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerUnaryMinus (IntegerConstant 105346 (Integer 4 [])) (Integer 4 []) (IntegerConstant -105346 (Integer 4 []))) BitXor (IntegerUnaryMinus (IntegerConstant 32771 (Integer 4 [])) (Integer 4 []) (IntegerConstant -32771 (Integer 4 []))) (Integer 4 []) (IntegerConstant 72579 (Integer 4 []))) Eq (IntegerConstant 72579 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerConstant 10 (Integer 4 [])) BitRShift (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 5 (Integer 4 []))) Eq (IntegerConstant 5 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerConstant 5 (Integer 4 [])) BitLShift (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 10 (Integer 4 []))) Eq (IntegerConstant 10 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 4 i1) (IntegerConstant 10 (Integer 4 [])) ()) (= (Var 4 i2) (IntegerConstant 4 (Integer 4 [])) ()) (Assert (IntegerCompare (IntegerBinOp (Var 4 i1) BitLShift (Var 4 i2) (Integer 4 []) ()) Eq (IntegerConstant 160 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (Var 4 i1) BitRShift (Var 4 i2) (Integer 4 []) ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (Var 4 i1) BitAnd (Var 4 i2) (Integer 4 []) ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (Var 4 i1) BitOr (Var 4 i2) (Integer 4 []) ()) Eq (IntegerConstant 14 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (Var 4 i1) BitXor (Var 4 i2) (Integer 4 []) ()) Eq (IntegerConstant 14 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerUnaryMinus (Var 4 i1) (Integer 4 []) ()) BitXor (IntegerUnaryMinus (Var 4 i2) (Integer 4 []) ()) (Integer 4 []) ()) Eq (IntegerConstant 10 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 i3) (IntegerConstant 432534534 (Integer 4 [])) ()) (= (Var 4 i4) (IntegerUnaryMinus (IntegerConstant 4325 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4325 (Integer 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (Var 4 i3) BitOr (Var 4 i4) (Integer 4 []) ()) Eq (IntegerUnaryMinus (IntegerConstant 225 (Integer 4 [])) (Integer 4 []) (IntegerConstant -225 (Integer 4 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (Var 4 i4) BitRShift (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) ()) Eq (IntegerUnaryMinus (IntegerConstant 541 (Integer 4 [])) (Integer 4 []) (IntegerConstant -541 (Integer 4 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerUnaryMinus (Var 4 i3) (Integer 4 []) ()) BitAnd (Var 4 i4) (Integer 4 []) ()) Eq (IntegerUnaryMinus (IntegerConstant 432534758 (Integer 4 [])) (Integer 4 []) (IntegerConstant -432534758 (Integer 4 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerUnaryMinus (Var 4 i3) (Integer 4 []) ()) BitXor (Var 4 i4) (Integer 4 []) ()) Eq (IntegerConstant 432530657 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerConstant 10 (Integer 4 [])) ()) (= (Var 4 a) (IntegerBinOp (Var 4 a) BitOr (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 4 a) Eq (IntegerConstant 14 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerBinOp (Var 4 a) BitXor (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 4 a) Eq (IntegerConstant 13 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 b) (IntegerConstant 10 (Integer 4 [])) ()) (= (Var 4 a) (FunctionCall 4 _mod@__lpython_overloaded_2___mod 4 _mod [((Var 4 a)) ((Var 4 b))] (Integer 4 []) () ()) ()) (Assert (IntegerCompare (Var 4 a) Eq (IntegerConstant 3 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 b) (IntegerConstant 4 (Integer 4 [])) ()) (= (Var 4 a) (IntegerBinOp (Var 4 a) BitLShift (Var 4 b) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 4 a) Eq (IntegerConstant 48 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerBinOp (Var 4 a) BitRShift (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 4 a) Eq (IntegerConstant 24 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerBinOp (Var 4 a) BitAnd (Var 4 b) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 4 a) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 b) (IntegerBinOp (Var 4 b) Pow (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 4 b) Eq (IntegerConstant 256 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 4 _mod@__lpython_overloaded_2___mod 4 _mod [((IntegerUnaryMinus (IntegerConstant 8 (Integer 4 [])) (Integer 4 []) (IntegerConstant -8 (Integer 4 [])))) ((IntegerConstant 3 (Integer 4 [])))] (Integer 4 []) (IntegerConstant 1 (Integer 4 [])) ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 4 _mod@__lpython_overloaded_2___mod 4 _mod [((IntegerConstant 8 (Integer 4 []))) ((IntegerUnaryMinus (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) (IntegerConstant -3 (Integer 4 []))))] (Integer 4 []) (IntegerConstant -1 (Integer 4 [])) ()) Eq (IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 4 _mod@__lpython_overloaded_2___mod 4 _mod [((IntegerUnaryMinus (IntegerConstant 8 (Integer 4 [])) (Integer 4 []) (IntegerConstant -8 (Integer 4 [])))) ((IntegerUnaryMinus (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) (IntegerConstant -3 (Integer 4 []))))] (Integer 4 []) (IntegerConstant -2 (Integer 4 [])) ()) Eq (IntegerUnaryMinus (IntegerConstant 2 (Integer 4 [])) (Integer 4 []) (IntegerConstant -2 (Integer 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (FunctionCall 4 _mod@__lpython_overloaded_5___mod 4 _mod [((RealConstant 11.000000 (Real 8 []))) ((RealUnaryMinus (RealConstant 3.000000 (Real 8 [])) (Real 8 []) (RealConstant -3.000000 (Real 8 []))))] (Real 8 []) (RealConstant -1.000000 (Real 8 [])) ()) Sub (RealUnaryMinus (RealConstant 1.000000 (Real 8 [])) (Real 8 []) (RealConstant -1.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 4 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (FunctionCall 4 _mod@__lpython_overloaded_5___mod 4 _mod [((RealUnaryMinus (RealConstant 11.000000 (Real 8 [])) (Real 8 []) (RealConstant -11.000000 (Real 8 [])))) ((RealConstant 3.000000 (Real 8 [])))] (Real 8 []) (RealConstant 1.000000 (Real 8 [])) ()) Sub (RealConstant 1.000000 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 4 eps) (Logical 4 []) ()) ())] () Public .false. .false.), test_mod: (Function (SymbolTable 3 {_lpython_return_variable: (Variable 3 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 3 _mod 6 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 3 _mod@__lpython_overloaded_2___mod 6 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), a: (Variable 3 a [] In () () Default (Integer 4 []) Source Public Required .false.), b: (Variable 3 b [] In () () Default (Integer 4 []) Source Public Required .false.)}) test_mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 3 a) (Var 3 b)] [(= (Var 3 _lpython_return_variable) (FunctionCall 3 _mod@__lpython_overloaded_2___mod 3 _mod [((Var 3 a)) ((Var 3 b))] (Integer 4 []) () ()) ()) (Return)] (Var 3 _lpython_return_variable) Public .false. .false.), test_multiply: (Function (SymbolTable 2 {_lpython_return_variable: (Variable 2 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), a: (Variable 2 a [] In () () Default (Integer 4 []) Source Public Required .false.), b: (Variable 2 b [] In () () Default (Integer 4 []) Source Public Required .false.)}) test_multiply (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 2 a) (Var 2 b)] [(= (Var 2 _lpython_return_variable) (IntegerBinOp (Var 2 a) Mul (Var 2 b) (Integer 4 []) ()) ()) (Return)] (Var 2 _lpython_return_variable) Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 109 {_lpython_main_program: (ExternalSymbol 109 _lpython_main_program 111 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 109 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 112 {_lpython_main_program: (Function (SymbolTable 111 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [main0] [] [(SubroutineCall 112 main0 () [] ())] () Public .false. .false.), main0: (Function (SymbolTable 4 {_mod: (ExternalSymbol 4 _mod 6 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 4 _mod@__lpython_overloaded_2___mod 6 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), _mod@__lpython_overloaded_5___mod: (ExternalSymbol 4 _mod@__lpython_overloaded_5___mod 6 __lpython_overloaded_5___mod lpython_builtin [] __lpython_overloaded_5___mod Public), a: (Variable 4 a [] Local () () Default (Integer 4 []) Source Public Required .false.), abs: (ExternalSymbol 4 abs 6 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 4 abs@__lpython_overloaded_0__abs 6 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), b: (Variable 4 b [] Local () () Default (Integer 4 []) Source Public Required .false.), eps: (Variable 4 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 4 i [] Local () () Default (Integer 8 []) Source Public Required .false.), i1: (Variable 4 i1 [] Local () () Default (Integer 4 []) Source Public Required .false.), i2: (Variable 4 i2 [] Local () () Default (Integer 4 []) Source Public Required .false.), i3: (Variable 4 i3 [] Local () () Default (Integer 4 []) Source Public Required .false.), i4: (Variable 4 i4 [] Local () () Default (Integer 4 []) Source Public Required .false.)}) main0 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_multiply test_mod test_mod test_mod _mod@__lpython_overloaded_2___mod test_mod _mod@__lpython_overloaded_2___mod _mod@__lpython_overloaded_2___mod _mod@__lpython_overloaded_2___mod _mod@__lpython_overloaded_2___mod abs@__lpython_overloaded_0__abs _mod@__lpython_overloaded_5___mod abs@__lpython_overloaded_0__abs _mod@__lpython_overloaded_5___mod] [] [(= (Var 4 a) (IntegerConstant 10 (Integer 4 [])) ()) (= (Var 4 b) (IntegerUnaryMinus (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5 (Integer 4 []))) ()) (= (Var 4 eps) (RealConstant 0.000000 (Real 8 [])) ()) (Assert (IntegerCompare (FunctionCall 112 test_multiply () [((Var 4 a)) ((Var 4 b))] (Integer 4 []) () ()) Eq (IntegerUnaryMinus (IntegerConstant 50 (Integer 4 [])) (Integer 4 []) (IntegerConstant -50 (Integer 4 []))) (Logical 4 []) ()) ()) (= (Var 4 i) (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) ()) (= (Var 4 i) (IntegerBinOp (Var 4 i) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) ()) (Assert (IntegerCompare (Var 4 i) Eq (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 2 (Integer 8 []))) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerConstant 2 (Integer 4 [])) ()) (= (Var 4 b) (IntegerConstant 5 (Integer 4 [])) ()) (Assert (IntegerCompare (FunctionCall 112 test_mod () [((Var 4 a)) ((Var 4 b))] (Integer 4 []) () ()) Eq (IntegerConstant 2 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 112 test_mod () [((IntegerConstant 23 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 [])))] (Integer 4 []) () ()) Eq (IntegerConstant 2 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerConstant 123282374 (Integer 4 [])) ()) (= (Var 4 b) (IntegerConstant 32771 (Integer 4 [])) ()) (Assert (IntegerCompare (FunctionCall 112 test_mod () [((Var 4 a)) ((Var 4 b))] (Integer 4 []) () ()) Eq (IntegerConstant 30643 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerUnaryMinus (IntegerConstant 5345 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5345 (Integer 4 []))) ()) (= (Var 4 b) (IntegerUnaryMinus (IntegerConstant 534 (Integer 4 [])) (Integer 4 []) (IntegerConstant -534 (Integer 4 []))) ()) (Assert (IntegerCompare (FunctionCall 4 _mod@__lpython_overloaded_2___mod 4 _mod [((Var 4 a)) ((Var 4 b))] (Integer 4 []) () ()) Eq (IntegerUnaryMinus (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5 (Integer 4 []))) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerUnaryMinus (IntegerConstant 123282374 (Integer 4 [])) (Integer 4 []) (IntegerConstant -123282374 (Integer 4 []))) ()) (= (Var 4 b) (IntegerConstant 32771 (Integer 4 [])) ()) (Assert (IntegerCompare (FunctionCall 112 test_mod () [((Var 4 a)) ((Var 4 b))] (Integer 4 []) () ()) Eq (IntegerConstant 2128 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerConstant 10 (Integer 4 [])) BitOr (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) (IntegerConstant 14 (Integer 4 []))) Eq (IntegerConstant 14 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerUnaryMinus (IntegerConstant 105346 (Integer 4 [])) (Integer 4 []) (IntegerConstant -105346 (Integer 4 []))) BitOr (IntegerUnaryMinus (IntegerConstant 32771 (Integer 4 [])) (Integer 4 []) (IntegerConstant -32771 (Integer 4 []))) (Integer 4 []) (IntegerConstant -32769 (Integer 4 []))) Eq (IntegerUnaryMinus (IntegerConstant 32769 (Integer 4 [])) (Integer 4 []) (IntegerConstant -32769 (Integer 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerConstant 10 (Integer 4 [])) BitAnd (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) (IntegerConstant 0 (Integer 4 []))) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerUnaryMinus (IntegerConstant 105346 (Integer 4 [])) (Integer 4 []) (IntegerConstant -105346 (Integer 4 []))) BitAnd (IntegerUnaryMinus (IntegerConstant 32771 (Integer 4 [])) (Integer 4 []) (IntegerConstant -32771 (Integer 4 []))) (Integer 4 []) (IntegerConstant -105348 (Integer 4 []))) Eq (IntegerUnaryMinus (IntegerConstant 105348 (Integer 4 [])) (Integer 4 []) (IntegerConstant -105348 (Integer 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerConstant 10 (Integer 4 [])) BitXor (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) (IntegerConstant 14 (Integer 4 []))) Eq (IntegerConstant 14 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerUnaryMinus (IntegerConstant 105346 (Integer 4 [])) (Integer 4 []) (IntegerConstant -105346 (Integer 4 []))) BitXor (IntegerUnaryMinus (IntegerConstant 32771 (Integer 4 [])) (Integer 4 []) (IntegerConstant -32771 (Integer 4 []))) (Integer 4 []) (IntegerConstant 72579 (Integer 4 []))) Eq (IntegerConstant 72579 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerConstant 10 (Integer 4 [])) BitRShift (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 5 (Integer 4 []))) Eq (IntegerConstant 5 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerConstant 5 (Integer 4 [])) BitLShift (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 10 (Integer 4 []))) Eq (IntegerConstant 10 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 4 i1) (IntegerConstant 10 (Integer 4 [])) ()) (= (Var 4 i2) (IntegerConstant 4 (Integer 4 [])) ()) (Assert (IntegerCompare (IntegerBinOp (Var 4 i1) BitLShift (Var 4 i2) (Integer 4 []) ()) Eq (IntegerConstant 160 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (Var 4 i1) BitRShift (Var 4 i2) (Integer 4 []) ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (Var 4 i1) BitAnd (Var 4 i2) (Integer 4 []) ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (Var 4 i1) BitOr (Var 4 i2) (Integer 4 []) ()) Eq (IntegerConstant 14 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (Var 4 i1) BitXor (Var 4 i2) (Integer 4 []) ()) Eq (IntegerConstant 14 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerUnaryMinus (Var 4 i1) (Integer 4 []) ()) BitXor (IntegerUnaryMinus (Var 4 i2) (Integer 4 []) ()) (Integer 4 []) ()) Eq (IntegerConstant 10 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 i3) (IntegerConstant 432534534 (Integer 4 [])) ()) (= (Var 4 i4) (IntegerUnaryMinus (IntegerConstant 4325 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4325 (Integer 4 []))) ()) (Assert (IntegerCompare (IntegerBinOp (Var 4 i3) BitOr (Var 4 i4) (Integer 4 []) ()) Eq (IntegerUnaryMinus (IntegerConstant 225 (Integer 4 [])) (Integer 4 []) (IntegerConstant -225 (Integer 4 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (Var 4 i4) BitRShift (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) ()) Eq (IntegerUnaryMinus (IntegerConstant 541 (Integer 4 [])) (Integer 4 []) (IntegerConstant -541 (Integer 4 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerUnaryMinus (Var 4 i3) (Integer 4 []) ()) BitAnd (Var 4 i4) (Integer 4 []) ()) Eq (IntegerUnaryMinus (IntegerConstant 432534758 (Integer 4 [])) (Integer 4 []) (IntegerConstant -432534758 (Integer 4 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (IntegerBinOp (IntegerUnaryMinus (Var 4 i3) (Integer 4 []) ()) BitXor (Var 4 i4) (Integer 4 []) ()) Eq (IntegerConstant 432530657 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerConstant 10 (Integer 4 [])) ()) (= (Var 4 a) (IntegerBinOp (Var 4 a) BitOr (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 4 a) Eq (IntegerConstant 14 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerBinOp (Var 4 a) BitXor (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 4 a) Eq (IntegerConstant 13 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 b) (IntegerConstant 10 (Integer 4 [])) ()) (= (Var 4 a) (FunctionCall 4 _mod@__lpython_overloaded_2___mod 4 _mod [((Var 4 a)) ((Var 4 b))] (Integer 4 []) () ()) ()) (Assert (IntegerCompare (Var 4 a) Eq (IntegerConstant 3 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 b) (IntegerConstant 4 (Integer 4 [])) ()) (= (Var 4 a) (IntegerBinOp (Var 4 a) BitLShift (Var 4 b) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 4 a) Eq (IntegerConstant 48 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerBinOp (Var 4 a) BitRShift (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 4 a) Eq (IntegerConstant 24 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 a) (IntegerBinOp (Var 4 a) BitAnd (Var 4 b) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 4 a) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 4 b) (IntegerBinOp (Var 4 b) Pow (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 4 b) Eq (IntegerConstant 256 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 4 _mod@__lpython_overloaded_2___mod 4 _mod [((IntegerUnaryMinus (IntegerConstant 8 (Integer 4 [])) (Integer 4 []) (IntegerConstant -8 (Integer 4 [])))) ((IntegerConstant 3 (Integer 4 [])))] (Integer 4 []) (IntegerConstant 1 (Integer 4 [])) ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 4 _mod@__lpython_overloaded_2___mod 4 _mod [((IntegerConstant 8 (Integer 4 []))) ((IntegerUnaryMinus (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) (IntegerConstant -3 (Integer 4 []))))] (Integer 4 []) (IntegerConstant -1 (Integer 4 [])) ()) Eq (IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 4 _mod@__lpython_overloaded_2___mod 4 _mod [((IntegerUnaryMinus (IntegerConstant 8 (Integer 4 [])) (Integer 4 []) (IntegerConstant -8 (Integer 4 [])))) ((IntegerUnaryMinus (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) (IntegerConstant -3 (Integer 4 []))))] (Integer 4 []) (IntegerConstant -2 (Integer 4 [])) ()) Eq (IntegerUnaryMinus (IntegerConstant 2 (Integer 4 [])) (Integer 4 []) (IntegerConstant -2 (Integer 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (FunctionCall 4 _mod@__lpython_overloaded_5___mod 4 _mod [((RealConstant 11.000000 (Real 8 []))) ((RealUnaryMinus (RealConstant 3.000000 (Real 8 [])) (Real 8 []) (RealConstant -3.000000 (Real 8 []))))] (Real 8 []) (RealConstant -1.000000 (Real 8 [])) ()) Sub (RealUnaryMinus (RealConstant 1.000000 (Real 8 [])) (Real 8 []) (RealConstant -1.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 4 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (FunctionCall 4 _mod@__lpython_overloaded_5___mod 4 _mod [((RealUnaryMinus (RealConstant 11.000000 (Real 8 [])) (Real 8 []) (RealConstant -11.000000 (Real 8 [])))) ((RealConstant 3.000000 (Real 8 [])))] (Real 8 []) (RealConstant 1.000000 (Real 8 [])) ()) Sub (RealConstant 1.000000 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 4 eps) (Logical 4 []) ()) ())] () Public .false. .false.), test_mod: (Function (SymbolTable 3 {_lpython_return_variable: (Variable 3 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 3 _mod 6 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 3 _mod@__lpython_overloaded_2___mod 6 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), a: (Variable 3 a [] In () () Default (Integer 4 []) Source Public Required .false.), b: (Variable 3 b [] In () () Default (Integer 4 []) Source Public Required .false.)}) test_mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 3 a) (Var 3 b)] [(= (Var 3 _lpython_return_variable) (FunctionCall 3 _mod@__lpython_overloaded_2___mod 3 _mod [((Var 3 a)) ((Var 3 b))] (Integer 4 []) () ()) ()) (Return)] (Var 3 _lpython_return_variable) Public .false. .false.), test_multiply: (Function (SymbolTable 2 {_lpython_return_variable: (Variable 2 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), a: (Variable 2 a [] In () () Default (Integer 4 []) Source Public Required .false.), b: (Variable 2 b [] In () () Default (Integer 4 []) Source Public Required .false.)}) test_multiply (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 2 a) (Var 2 b)] [(= (Var 2 _lpython_return_variable) (IntegerBinOp (Var 2 a) Mul (Var 2 b) (Integer 4 []) ()) ()) (Return)] (Var 2 _lpython_return_variable) Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 110 {_lpython_main_program: (ExternalSymbol 110 _lpython_main_program 112 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 110 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-expr_09-f3e89c8.json b/tests/reference/asr-expr_09-f3e89c8.json index 25781e74ac..9ba5b1d54a 100644 --- a/tests/reference/asr-expr_09-f3e89c8.json +++ b/tests/reference/asr-expr_09-f3e89c8.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr_09-f3e89c8.stdout", - "stdout_hash": "5a1ac2c9df92a70e3251c7c1dd2f6af1189597c0312c15f68f345079", + "stdout_hash": "cea0bf852835d3340520bde3acadfa1fb0be59c2bea721ab66642117", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr_09-f3e89c8.stdout b/tests/reference/asr-expr_09-f3e89c8.stdout index 0429d352b7..a1900fbcd2 100644 --- a/tests/reference/asr-expr_09-f3e89c8.stdout +++ b/tests/reference/asr-expr_09-f3e89c8.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 113 {_lpython_main_program: (Function (SymbolTable 112 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_multiple_assign_1 test_issue_928 main0] [] [(SubroutineCall 113 test_multiple_assign_1 () [] ()) (SubroutineCall 113 test_issue_928 () [] ()) (SubroutineCall 113 main0 () [] ())] () Public .false. .false.), main0: (Function (SymbolTable 2 {i1: (Variable 2 i1 [] Local () () Default (Integer 4 []) Source Public Required .false.), i2: (Variable 2 i2 [] Local () () Default (Integer 4 []) Source Public Required .false.)}) main0 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 2 i1) (IntegerConstant 10 (Integer 4 [])) ()) (= (Var 2 i2) (IntegerConstant 4 (Integer 4 [])) ()) (= (Var 2 i1) (IntegerConstant 3 (Integer 4 [])) ()) (= (Var 2 i2) (IntegerConstant 5 (Integer 4 [])) ()) (Print () [(IntegerBinOp (IntegerUnaryMinus (Var 2 i1) (Integer 4 []) ()) BitXor (IntegerUnaryMinus (Var 2 i2) (Integer 4 []) ()) (Integer 4 []) ())] () ()) (Assert (IntegerCompare (IntegerBinOp (IntegerUnaryMinus (Var 2 i1) (Integer 4 []) ()) BitXor (IntegerUnaryMinus (Var 2 i2) (Integer 4 []) ()) (Integer 4 []) ()) Eq (IntegerConstant 6 (Integer 4 [])) (Logical 4 []) ()) ())] () Public .false. .false.), test_issue_928: (Function (SymbolTable 4 {a: (Variable 4 a [] Local () () Default (Integer 4 []) Source Public Required .false.), b: (Variable 4 b [] Local () () Default (Integer 4 []) Source Public Required .false.), c: (Variable 4 c [] Local () () Default (Tuple [(Integer 4 []) (Integer 4 [])]) Source Public Required .false.)}) test_issue_928 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (TupleConstant [(Var 4 a) (Var 4 b)] (Tuple [(Integer 4 []) (Integer 4 [])])) (TupleConstant [(IntegerConstant 2 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 [])])) ()) (= (Var 4 c) (TupleConstant [(IntegerConstant 2 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 [])])) ()) (Assert (IntegerCompare (Var 4 a) Eq (IntegerConstant 2 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (Var 4 b) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (LogicalBinOp (IntegerCompare (TupleItem (Var 4 c) (IntegerConstant 0 (Integer 4 [])) (Integer 4 []) ()) Eq (Var 4 a) (Logical 4 []) ()) And (IntegerCompare (TupleItem (Var 4 c) (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) Eq (Var 4 b) (Logical 4 []) ()) (Logical 4 []) ()) ())] () Public .false. .false.), test_multiple_assign_1: (Function (SymbolTable 3 {a: (Variable 3 a [] Local () () Default (Integer 4 []) Source Public Required .false.), abs: (ExternalSymbol 3 abs 6 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 3 abs@__lpython_overloaded_0__abs 6 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), b: (Variable 3 b [] Local () () Default (Integer 4 []) Source Public Required .false.), c: (Variable 3 c [] Local () () Default (Integer 4 []) Source Public Required .false.), d: (Variable 3 d [] Local () () Default (Real 8 []) Source Public Required .false.), e: (Variable 3 e [] Local () () Default (Real 8 []) Source Public Required .false.), g: (Variable 3 g [] Local () () Default (Integer 4 []) Source Public Required .false.), i: (Variable 3 i [] Local () () Default (List (Real 8 [])) Source Public Required .false.), j: (Variable 3 j [] Local () () Default (List (Real 8 [])) Source Public Required .false.), k: (Variable 3 k [] Local () () Default (List (Real 8 [])) Source Public Required .false.), x: (Variable 3 x [] Local () () Default (Real 8 []) Source Public Required .false.), y: (Variable 3 y [] Local () () Default (Real 8 []) Source Public Required .false.)}) test_multiple_assign_1 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs] [] [(= (Var 3 g) (IntegerConstant 5 (Integer 4 [])) ()) (= (Var 3 d) (RealBinOp (Cast (Var 3 g) IntegerToReal (Real 8 []) ()) Add (RealConstant 1.000000 (Real 8 [])) (Real 8 []) ()) ()) (= (Var 3 e) (RealBinOp (Cast (Var 3 g) IntegerToReal (Real 8 []) ()) Add (RealConstant 1.000000 (Real 8 [])) (Real 8 []) ()) ()) (= (Var 3 a) (IntegerConstant 10 (Integer 4 [])) ()) (= (Var 3 b) (IntegerConstant 10 (Integer 4 [])) ()) (= (Var 3 c) (IntegerConstant 10 (Integer 4 [])) ()) (Assert (IntegerCompare (Var 3 a) Eq (Var 3 b) (Logical 4 []) ()) ()) (Assert (IntegerCompare (Var 3 b) Eq (Var 3 c) (Logical 4 []) ()) ()) (Assert (IntegerCompare (Var 3 a) Eq (IntegerConstant 10 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 3 x) (RealConstant 23.000000 (Real 8 [])) ()) (= (Var 3 y) (RealConstant 23.000000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (Var 3 x) Sub (RealConstant 23.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000001 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (Var 3 y) Sub (RealConstant 23.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (Var 3 e) Sub (RealConstant 6.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000001 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (Var 3 d) Sub (RealConstant 6.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 3 k) (ListConstant [] (List (Real 8 []))) ()) (= (Var 3 g) (IntegerConstant 0 (Integer 4 [])) ()) (DoLoop ((Var 3 g) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 10 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(ListAppend (Var 3 k) (RealBinOp (RealBinOp (Cast (Var 3 g) IntegerToReal (Real 8 []) ()) Mul (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()) Add (RealConstant 5.000000 (Real 8 [])) (Real 8 []) ()))]) (= (Var 3 i) (Var 3 k) ()) (= (Var 3 j) (Var 3 k) ()) (DoLoop ((Var 3 g) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 10 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ListItem (Var 3 i) (Var 3 g) (Real 8 []) ()) Sub (ListItem (Var 3 j) (Var 3 g) (Real 8 []) ()) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ListItem (Var 3 i) (Var 3 g) (Real 8 []) ()) Sub (ListItem (Var 3 k) (Var 3 g) (Real 8 []) ()) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (RealBinOp (RealBinOp (Cast (Var 3 g) IntegerToReal (Real 8 []) ()) Mul (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()) Add (RealConstant 5.000000 (Real 8 [])) (Real 8 []) ()) Sub (ListItem (Var 3 k) (Var 3 g) (Real 8 []) ()) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ())])] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 111 {_lpython_main_program: (ExternalSymbol 111 _lpython_main_program 113 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 111 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 114 {_lpython_main_program: (Function (SymbolTable 113 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_multiple_assign_1 test_issue_928 main0] [] [(SubroutineCall 114 test_multiple_assign_1 () [] ()) (SubroutineCall 114 test_issue_928 () [] ()) (SubroutineCall 114 main0 () [] ())] () Public .false. .false.), main0: (Function (SymbolTable 2 {i1: (Variable 2 i1 [] Local () () Default (Integer 4 []) Source Public Required .false.), i2: (Variable 2 i2 [] Local () () Default (Integer 4 []) Source Public Required .false.)}) main0 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 2 i1) (IntegerConstant 10 (Integer 4 [])) ()) (= (Var 2 i2) (IntegerConstant 4 (Integer 4 [])) ()) (= (Var 2 i1) (IntegerConstant 3 (Integer 4 [])) ()) (= (Var 2 i2) (IntegerConstant 5 (Integer 4 [])) ()) (Print () [(IntegerBinOp (IntegerUnaryMinus (Var 2 i1) (Integer 4 []) ()) BitXor (IntegerUnaryMinus (Var 2 i2) (Integer 4 []) ()) (Integer 4 []) ())] () ()) (Assert (IntegerCompare (IntegerBinOp (IntegerUnaryMinus (Var 2 i1) (Integer 4 []) ()) BitXor (IntegerUnaryMinus (Var 2 i2) (Integer 4 []) ()) (Integer 4 []) ()) Eq (IntegerConstant 6 (Integer 4 [])) (Logical 4 []) ()) ())] () Public .false. .false.), test_issue_928: (Function (SymbolTable 4 {a: (Variable 4 a [] Local () () Default (Integer 4 []) Source Public Required .false.), b: (Variable 4 b [] Local () () Default (Integer 4 []) Source Public Required .false.), c: (Variable 4 c [] Local () () Default (Tuple [(Integer 4 []) (Integer 4 [])]) Source Public Required .false.)}) test_issue_928 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (TupleConstant [(Var 4 a) (Var 4 b)] (Tuple [(Integer 4 []) (Integer 4 [])])) (TupleConstant [(IntegerConstant 2 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 [])])) ()) (= (Var 4 c) (TupleConstant [(IntegerConstant 2 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))] (Tuple [(Integer 4 []) (Integer 4 [])])) ()) (Assert (IntegerCompare (Var 4 a) Eq (IntegerConstant 2 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (Var 4 b) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (LogicalBinOp (IntegerCompare (TupleItem (Var 4 c) (IntegerConstant 0 (Integer 4 [])) (Integer 4 []) ()) Eq (Var 4 a) (Logical 4 []) ()) And (IntegerCompare (TupleItem (Var 4 c) (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) Eq (Var 4 b) (Logical 4 []) ()) (Logical 4 []) ()) ())] () Public .false. .false.), test_multiple_assign_1: (Function (SymbolTable 3 {a: (Variable 3 a [] Local () () Default (Integer 4 []) Source Public Required .false.), abs: (ExternalSymbol 3 abs 6 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 3 abs@__lpython_overloaded_0__abs 6 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), b: (Variable 3 b [] Local () () Default (Integer 4 []) Source Public Required .false.), c: (Variable 3 c [] Local () () Default (Integer 4 []) Source Public Required .false.), d: (Variable 3 d [] Local () () Default (Real 8 []) Source Public Required .false.), e: (Variable 3 e [] Local () () Default (Real 8 []) Source Public Required .false.), g: (Variable 3 g [] Local () () Default (Integer 4 []) Source Public Required .false.), i: (Variable 3 i [] Local () () Default (List (Real 8 [])) Source Public Required .false.), j: (Variable 3 j [] Local () () Default (List (Real 8 [])) Source Public Required .false.), k: (Variable 3 k [] Local () () Default (List (Real 8 [])) Source Public Required .false.), x: (Variable 3 x [] Local () () Default (Real 8 []) Source Public Required .false.), y: (Variable 3 y [] Local () () Default (Real 8 []) Source Public Required .false.)}) test_multiple_assign_1 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs] [] [(= (Var 3 g) (IntegerConstant 5 (Integer 4 [])) ()) (= (Var 3 d) (RealBinOp (Cast (Var 3 g) IntegerToReal (Real 8 []) ()) Add (RealConstant 1.000000 (Real 8 [])) (Real 8 []) ()) ()) (= (Var 3 e) (RealBinOp (Cast (Var 3 g) IntegerToReal (Real 8 []) ()) Add (RealConstant 1.000000 (Real 8 [])) (Real 8 []) ()) ()) (= (Var 3 a) (IntegerConstant 10 (Integer 4 [])) ()) (= (Var 3 b) (IntegerConstant 10 (Integer 4 [])) ()) (= (Var 3 c) (IntegerConstant 10 (Integer 4 [])) ()) (Assert (IntegerCompare (Var 3 a) Eq (Var 3 b) (Logical 4 []) ()) ()) (Assert (IntegerCompare (Var 3 b) Eq (Var 3 c) (Logical 4 []) ()) ()) (Assert (IntegerCompare (Var 3 a) Eq (IntegerConstant 10 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 3 x) (RealConstant 23.000000 (Real 8 [])) ()) (= (Var 3 y) (RealConstant 23.000000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (Var 3 x) Sub (RealConstant 23.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000001 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (Var 3 y) Sub (RealConstant 23.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (Var 3 e) Sub (RealConstant 6.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000001 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (Var 3 d) Sub (RealConstant 6.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 3 k) (ListConstant [] (List (Real 8 []))) ()) (= (Var 3 g) (IntegerConstant 0 (Integer 4 [])) ()) (DoLoop ((Var 3 g) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 10 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(ListAppend (Var 3 k) (RealBinOp (RealBinOp (Cast (Var 3 g) IntegerToReal (Real 8 []) ()) Mul (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()) Add (RealConstant 5.000000 (Real 8 [])) (Real 8 []) ()))]) (= (Var 3 i) (Var 3 k) ()) (= (Var 3 j) (Var 3 k) ()) (DoLoop ((Var 3 g) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 10 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ListItem (Var 3 i) (Var 3 g) (Real 8 []) ()) Sub (ListItem (Var 3 j) (Var 3 g) (Real 8 []) ()) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ListItem (Var 3 i) (Var 3 g) (Real 8 []) ()) Sub (ListItem (Var 3 k) (Var 3 g) (Real 8 []) ()) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (RealBinOp (RealBinOp (Cast (Var 3 g) IntegerToReal (Real 8 []) ()) Mul (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()) Add (RealConstant 5.000000 (Real 8 [])) (Real 8 []) ()) Sub (ListItem (Var 3 k) (Var 3 g) (Real 8 []) ()) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ())])] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 112 {_lpython_main_program: (ExternalSymbol 112 _lpython_main_program 114 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 112 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-expr_14-f2bd343.json b/tests/reference/asr-expr_14-f2bd343.json index 601cf3fb85..7638a8f28c 100644 --- a/tests/reference/asr-expr_14-f2bd343.json +++ b/tests/reference/asr-expr_14-f2bd343.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr_14-f2bd343.stdout", - "stdout_hash": "6237c3d7f1c256f5a1158d0ce86248c2556c4589d87531bfd46a145c", + "stdout_hash": "38432befcf35abcfca81630624858a945e387b2e4eeb07987354c9a8", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr_14-f2bd343.stdout b/tests/reference/asr-expr_14-f2bd343.stdout index b734dbd859..ce7d9dc4f0 100644 --- a/tests/reference/asr-expr_14-f2bd343.stdout +++ b/tests/reference/asr-expr_14-f2bd343.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 109 {_lpython_main_program: (Function (SymbolTable 108 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_divide] [] [(SubroutineCall 109 test_divide () [] ())] () Public .false. .false.), test_divide: (Function (SymbolTable 2 {a1: (Variable 2 a1 [] Local () () Default (Integer 4 []) Source Public Required .false.), a2: (Variable 2 a2 [] Local () () Default (Integer 4 []) Source Public Required .false.), a3: (Variable 2 a3 [] Local () () Default (Real 8 []) Source Public Required .false.), abs: (ExternalSymbol 2 abs 4 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 2 abs@__lpython_overloaded_0__abs 4 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), abs@__lpython_overloaded_1__abs: (ExternalSymbol 2 abs@__lpython_overloaded_1__abs 4 __lpython_overloaded_1__abs lpython_builtin [] __lpython_overloaded_1__abs Public), abs@__lpython_overloaded_7__abs: (ExternalSymbol 2 abs@__lpython_overloaded_7__abs 4 __lpython_overloaded_7__abs lpython_builtin [] __lpython_overloaded_7__abs Public), abs@__lpython_overloaded_8__abs: (ExternalSymbol 2 abs@__lpython_overloaded_8__abs 4 __lpython_overloaded_8__abs lpython_builtin [] __lpython_overloaded_8__abs Public), b1: (Variable 2 b1 [] Local () () Default (Integer 8 []) Source Public Required .false.), b2: (Variable 2 b2 [] Local () () Default (Integer 8 []) Source Public Required .false.), b3: (Variable 2 b3 [] Local () () Default (Real 8 []) Source Public Required .false.), c1: (Variable 2 c1 [] Local () () Default (Real 4 []) Source Public Required .false.), c2: (Variable 2 c2 [] Local () () Default (Real 4 []) Source Public Required .false.), c3: (Variable 2 c3 [] Local () () Default (Real 4 []) Source Public Required .false.), d1: (Variable 2 d1 [] Local () () Default (Real 8 []) Source Public Required .false.), d2: (Variable 2 d2 [] Local () () Default (Real 8 []) Source Public Required .false.), d3: (Variable 2 d3 [] Local () () Default (Real 8 []) Source Public Required .false.), e1: (Variable 2 e1 [] Local () () Default (Complex 4 []) Source Public Required .false.), e2: (Variable 2 e2 [] Local () () Default (Complex 4 []) Source Public Required .false.), e3: (Variable 2 e3 [] Local () () Default (Complex 4 []) Source Public Required .false.), f1: (Variable 2 f1 [] Local () () Default (Complex 8 []) Source Public Required .false.), f2: (Variable 2 f2 [] Local () () Default (Complex 8 []) Source Public Required .false.), f3: (Variable 2 f3 [] Local () () Default (Complex 8 []) Source Public Required .false.)}) test_divide (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_1__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_7__abs abs@__lpython_overloaded_8__abs] [] [(= (Var 2 a1) (IntegerConstant 1 (Integer 4 [])) ()) (= (Var 2 a2) (IntegerConstant 9 (Integer 4 [])) ()) (= (Var 2 a3) (RealBinOp (Cast (Var 2 a2) IntegerToReal (Real 8 []) ()) Div (Cast (Var 2 a1) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (Var 2 a3) Sub (RealConstant 9.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 2 b1) (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 2 (Integer 8 []))) ()) (= (Var 2 b2) (Cast (IntegerConstant 10 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 10 (Integer 8 []))) ()) (= (Var 2 b3) (RealBinOp (Cast (Var 2 b2) IntegerToReal (Real 8 []) ()) Div (Cast (Var 2 b1) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (Var 2 b3) Sub (RealConstant 5.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 2 c1) (Cast (RealConstant 3.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.000000 (Real 4 []))) ()) (= (Var 2 c2) (Cast (RealConstant 11.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 11.000000 (Real 4 []))) ()) (= (Var 2 c3) (RealBinOp (Var 2 c2) Div (Var 2 c1) (Real 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_1__abs 2 abs [((RealBinOp (Var 2 c3) Sub (Cast (RealConstant 3.666666 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.666666 (Real 4 []))) (Real 4 []) ()))] (Real 4 []) () ()) LtE (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) (Logical 4 []) ()) ()) (= (Var 2 d1) (RealConstant 4.000000 (Real 8 [])) ()) (= (Var 2 d2) (RealConstant 12.000000 (Real 8 [])) ()) (= (Var 2 d3) (RealBinOp (Var 2 d2) Div (Var 2 d1) (Real 8 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (Var 2 d3) Sub (RealConstant 3.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 2 e1) (ComplexBinOp (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToComplex (Complex 4 []) (ComplexConstant 5.000000 0.000000 (Complex 4 []))) Add (Cast (ComplexConstant 0.000000 6.000000 (Complex 8 [])) ComplexToComplex (Complex 4 []) (ComplexConstant 0.000000 6.000000 (Complex 4 []))) (Complex 4 []) (ComplexConstant 5.000000 6.000000 (Complex 4 []))) ()) (= (Var 2 e2) (ComplexBinOp (Cast (IntegerConstant 13 (Integer 4 [])) IntegerToComplex (Complex 4 []) (ComplexConstant 13.000000 0.000000 (Complex 4 []))) Add (Cast (ComplexConstant 0.000000 14.000000 (Complex 8 [])) ComplexToComplex (Complex 4 []) (ComplexConstant 0.000000 14.000000 (Complex 4 []))) (Complex 4 []) (ComplexConstant 13.000000 14.000000 (Complex 4 []))) ()) (= (Var 2 e3) (ComplexBinOp (Var 2 e2) Div (Var 2 e1) (Complex 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_7__abs 2 abs [((ComplexBinOp (ComplexBinOp (Var 2 e3) Sub (Cast (RealConstant 2.442623 (Real 8 [])) RealToComplex (Complex 4 []) (ComplexConstant 2.442623 0.000000 (Complex 4 []))) (Complex 4 []) ()) Add (Cast (ComplexConstant 0.000000 0.131148 (Complex 8 [])) ComplexToComplex (Complex 4 []) (ComplexConstant 0.000000 0.131148 (Complex 4 []))) (Complex 4 []) ()))] (Real 4 []) () ()) LtE (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) (Logical 4 []) ()) ()) (= (Var 2 f1) (ComplexBinOp (Cast (IntegerConstant 7 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 7.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 8.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 7.000000 8.000000 (Complex 8 []))) ()) (= (Var 2 f2) (ComplexBinOp (Cast (IntegerConstant 15 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 15.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 16.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 15.000000 16.000000 (Complex 8 []))) ()) (= (Var 2 f3) (ComplexBinOp (Var 2 f2) Div (Var 2 f1) (Complex 8 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_8__abs 2 abs [((ComplexBinOp (ComplexBinOp (Var 2 f3) Sub (Cast (RealConstant 2.061947 (Real 8 [])) RealToComplex (Complex 8 []) (ComplexConstant 2.061947 0.000000 (Complex 8 []))) (Complex 8 []) ()) Add (ComplexConstant 0.000000 0.070796 (Complex 8 [])) (Complex 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000001 (Real 8 [])) (Logical 4 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 107 {_lpython_main_program: (ExternalSymbol 107 _lpython_main_program 109 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 107 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 110 {_lpython_main_program: (Function (SymbolTable 109 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_divide] [] [(SubroutineCall 110 test_divide () [] ())] () Public .false. .false.), test_divide: (Function (SymbolTable 2 {a1: (Variable 2 a1 [] Local () () Default (Integer 4 []) Source Public Required .false.), a2: (Variable 2 a2 [] Local () () Default (Integer 4 []) Source Public Required .false.), a3: (Variable 2 a3 [] Local () () Default (Real 8 []) Source Public Required .false.), abs: (ExternalSymbol 2 abs 4 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 2 abs@__lpython_overloaded_0__abs 4 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), abs@__lpython_overloaded_1__abs: (ExternalSymbol 2 abs@__lpython_overloaded_1__abs 4 __lpython_overloaded_1__abs lpython_builtin [] __lpython_overloaded_1__abs Public), abs@__lpython_overloaded_7__abs: (ExternalSymbol 2 abs@__lpython_overloaded_7__abs 4 __lpython_overloaded_7__abs lpython_builtin [] __lpython_overloaded_7__abs Public), abs@__lpython_overloaded_8__abs: (ExternalSymbol 2 abs@__lpython_overloaded_8__abs 4 __lpython_overloaded_8__abs lpython_builtin [] __lpython_overloaded_8__abs Public), b1: (Variable 2 b1 [] Local () () Default (Integer 8 []) Source Public Required .false.), b2: (Variable 2 b2 [] Local () () Default (Integer 8 []) Source Public Required .false.), b3: (Variable 2 b3 [] Local () () Default (Real 8 []) Source Public Required .false.), c1: (Variable 2 c1 [] Local () () Default (Real 4 []) Source Public Required .false.), c2: (Variable 2 c2 [] Local () () Default (Real 4 []) Source Public Required .false.), c3: (Variable 2 c3 [] Local () () Default (Real 4 []) Source Public Required .false.), d1: (Variable 2 d1 [] Local () () Default (Real 8 []) Source Public Required .false.), d2: (Variable 2 d2 [] Local () () Default (Real 8 []) Source Public Required .false.), d3: (Variable 2 d3 [] Local () () Default (Real 8 []) Source Public Required .false.), e1: (Variable 2 e1 [] Local () () Default (Complex 4 []) Source Public Required .false.), e2: (Variable 2 e2 [] Local () () Default (Complex 4 []) Source Public Required .false.), e3: (Variable 2 e3 [] Local () () Default (Complex 4 []) Source Public Required .false.), f1: (Variable 2 f1 [] Local () () Default (Complex 8 []) Source Public Required .false.), f2: (Variable 2 f2 [] Local () () Default (Complex 8 []) Source Public Required .false.), f3: (Variable 2 f3 [] Local () () Default (Complex 8 []) Source Public Required .false.)}) test_divide (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_1__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_7__abs abs@__lpython_overloaded_8__abs] [] [(= (Var 2 a1) (IntegerConstant 1 (Integer 4 [])) ()) (= (Var 2 a2) (IntegerConstant 9 (Integer 4 [])) ()) (= (Var 2 a3) (RealBinOp (Cast (Var 2 a2) IntegerToReal (Real 8 []) ()) Div (Cast (Var 2 a1) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (Var 2 a3) Sub (RealConstant 9.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 2 b1) (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 2 (Integer 8 []))) ()) (= (Var 2 b2) (Cast (IntegerConstant 10 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 10 (Integer 8 []))) ()) (= (Var 2 b3) (RealBinOp (Cast (Var 2 b2) IntegerToReal (Real 8 []) ()) Div (Cast (Var 2 b1) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (Var 2 b3) Sub (RealConstant 5.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 2 c1) (Cast (RealConstant 3.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.000000 (Real 4 []))) ()) (= (Var 2 c2) (Cast (RealConstant 11.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 11.000000 (Real 4 []))) ()) (= (Var 2 c3) (RealBinOp (Var 2 c2) Div (Var 2 c1) (Real 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_1__abs 2 abs [((RealBinOp (Var 2 c3) Sub (Cast (RealConstant 3.666666 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.666666 (Real 4 []))) (Real 4 []) ()))] (Real 4 []) () ()) LtE (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) (Logical 4 []) ()) ()) (= (Var 2 d1) (RealConstant 4.000000 (Real 8 [])) ()) (= (Var 2 d2) (RealConstant 12.000000 (Real 8 [])) ()) (= (Var 2 d3) (RealBinOp (Var 2 d2) Div (Var 2 d1) (Real 8 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (Var 2 d3) Sub (RealConstant 3.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 2 e1) (ComplexBinOp (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToComplex (Complex 4 []) (ComplexConstant 5.000000 0.000000 (Complex 4 []))) Add (Cast (ComplexConstant 0.000000 6.000000 (Complex 8 [])) ComplexToComplex (Complex 4 []) (ComplexConstant 0.000000 6.000000 (Complex 4 []))) (Complex 4 []) (ComplexConstant 5.000000 6.000000 (Complex 4 []))) ()) (= (Var 2 e2) (ComplexBinOp (Cast (IntegerConstant 13 (Integer 4 [])) IntegerToComplex (Complex 4 []) (ComplexConstant 13.000000 0.000000 (Complex 4 []))) Add (Cast (ComplexConstant 0.000000 14.000000 (Complex 8 [])) ComplexToComplex (Complex 4 []) (ComplexConstant 0.000000 14.000000 (Complex 4 []))) (Complex 4 []) (ComplexConstant 13.000000 14.000000 (Complex 4 []))) ()) (= (Var 2 e3) (ComplexBinOp (Var 2 e2) Div (Var 2 e1) (Complex 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_7__abs 2 abs [((ComplexBinOp (ComplexBinOp (Var 2 e3) Sub (Cast (RealConstant 2.442623 (Real 8 [])) RealToComplex (Complex 4 []) (ComplexConstant 2.442623 0.000000 (Complex 4 []))) (Complex 4 []) ()) Add (Cast (ComplexConstant 0.000000 0.131148 (Complex 8 [])) ComplexToComplex (Complex 4 []) (ComplexConstant 0.000000 0.131148 (Complex 4 []))) (Complex 4 []) ()))] (Real 4 []) () ()) LtE (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) (Logical 4 []) ()) ()) (= (Var 2 f1) (ComplexBinOp (Cast (IntegerConstant 7 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 7.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 8.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 7.000000 8.000000 (Complex 8 []))) ()) (= (Var 2 f2) (ComplexBinOp (Cast (IntegerConstant 15 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 15.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 16.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 15.000000 16.000000 (Complex 8 []))) ()) (= (Var 2 f3) (ComplexBinOp (Var 2 f2) Div (Var 2 f1) (Complex 8 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_8__abs 2 abs [((ComplexBinOp (ComplexBinOp (Var 2 f3) Sub (Cast (RealConstant 2.061947 (Real 8 [])) RealToComplex (Complex 8 []) (ComplexConstant 2.061947 0.000000 (Complex 8 []))) (Complex 8 []) ()) Add (ComplexConstant 0.000000 0.070796 (Complex 8 [])) (Complex 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000001 (Real 8 [])) (Logical 4 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 108 {_lpython_main_program: (ExternalSymbol 108 _lpython_main_program 110 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 108 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-generics_array_01-682b1b2.json b/tests/reference/asr-generics_array_01-682b1b2.json index 7cddebb95f..95394a7fb3 100644 --- a/tests/reference/asr-generics_array_01-682b1b2.json +++ b/tests/reference/asr-generics_array_01-682b1b2.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-generics_array_01-682b1b2.stdout", - "stdout_hash": "901ea45eb8cd04863517b846e5c794176df90247e8a6adc91e59a81c", + "stdout_hash": "22ef33e9779d0a1a2a21d68eb4c2622f93fc3bcbcab5c115dc1cf3d5", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-generics_array_01-682b1b2.stdout b/tests/reference/asr-generics_array_01-682b1b2.stdout index cfea9bda7f..8c832206d9 100644 --- a/tests/reference/asr-generics_array_01-682b1b2.stdout +++ b/tests/reference/asr-generics_array_01-682b1b2.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 187 {T: (Variable 187 T [] Local () () Default (TypeParameter T []) Source Public Required .false.), __asr_generic_f_0: (Function (SymbolTable 184 {_lpython_return_variable: (Variable 184 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), i: (Variable 184 i [] In () () Default (Integer 4 []) Source Public Required .false.), lst: (Variable 184 lst [] InOut () () Default (Integer 4 [(() ())]) Source Public Required .false.)}) __asr_generic_f_0 (FunctionType [(Integer 4 [(() ())]) (Integer 4 [])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 184 lst) (Var 184 i)] [(= (ArrayItem (Var 184 lst) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (Var 184 i) ()) (= (Var 184 _lpython_return_variable) (ArrayItem (Var 184 lst) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) ()) (Return)] (Var 184 _lpython_return_variable) Public .false. .false.), _lpython_main_program: (Function (SymbolTable 186 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [use_array] [] [(SubroutineCall 187 use_array () [] ())] () Public .false. .false.), f: (Function (SymbolTable 182 {_lpython_return_variable: (Variable 182 _lpython_return_variable [] ReturnVar () () Default (TypeParameter T []) Source Public Required .false.), i: (Variable 182 i [] In () () Default (TypeParameter T []) Source Public Required .false.), lst: (Variable 182 lst [] InOut () () Default (TypeParameter T [(() ())]) Source Public Required .false.)}) f (FunctionType [(TypeParameter T [(() ())]) (TypeParameter T [])] (TypeParameter T []) Source Implementation () .false. .false. .false. .false. .false. [(TypeParameter T [])] [] .false.) [] [(Var 182 lst) (Var 182 i)] [(= (ArrayItem (Var 182 lst) [(() (IntegerConstant 0 (Integer 4 [])) ())] (TypeParameter T []) RowMajor ()) (Var 182 i) ()) (= (Var 182 _lpython_return_variable) (ArrayItem (Var 182 lst) [(() (IntegerConstant 0 (Integer 4 [])) ())] (TypeParameter T []) RowMajor ()) ()) (Return)] (Var 182 _lpython_return_variable) Public .false. .false.), use_array: (Function (SymbolTable 183 {array: (Variable 183 array [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), x: (Variable 183 x [] Local () () Default (Integer 4 []) Source Public Required .false.)}) use_array (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [__asr_generic_f_0] [] [(= (Var 183 x) (IntegerConstant 69 (Integer 4 [])) ()) (Print () [(FunctionCall 187 __asr_generic_f_0 () [((Var 183 array)) ((Var 183 x))] (Integer 4 []) () ())] () ())] () Public .false. .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 185 {_lpython_main_program: (ExternalSymbol 185 _lpython_main_program 187 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 185 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_4___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_4___mod 79 __lpython_overloaded_4___mod lpython_builtin [] __lpython_overloaded_4___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_4___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_4___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_2___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 0.500000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) (RealConstant 3.141593 (Real 4 [])) Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) (RealConstant 3.141593 (Real 8 [])) Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 188 {T: (Variable 188 T [] Local () () Default (TypeParameter T []) Source Public Required .false.), __asr_generic_f_0: (Function (SymbolTable 185 {_lpython_return_variable: (Variable 185 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), i: (Variable 185 i [] In () () Default (Integer 4 []) Source Public Required .false.), lst: (Variable 185 lst [] InOut () () Default (Integer 4 [(() ())]) Source Public Required .false.)}) __asr_generic_f_0 (FunctionType [(Integer 4 [(() ())]) (Integer 4 [])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 185 lst) (Var 185 i)] [(= (ArrayItem (Var 185 lst) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (Var 185 i) ()) (= (Var 185 _lpython_return_variable) (ArrayItem (Var 185 lst) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) ()) (Return)] (Var 185 _lpython_return_variable) Public .false. .false.), _lpython_main_program: (Function (SymbolTable 187 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [use_array] [] [(SubroutineCall 188 use_array () [] ())] () Public .false. .false.), f: (Function (SymbolTable 183 {_lpython_return_variable: (Variable 183 _lpython_return_variable [] ReturnVar () () Default (TypeParameter T []) Source Public Required .false.), i: (Variable 183 i [] In () () Default (TypeParameter T []) Source Public Required .false.), lst: (Variable 183 lst [] InOut () () Default (TypeParameter T [(() ())]) Source Public Required .false.)}) f (FunctionType [(TypeParameter T [(() ())]) (TypeParameter T [])] (TypeParameter T []) Source Implementation () .false. .false. .false. .false. .false. [(TypeParameter T [])] [] .false.) [] [(Var 183 lst) (Var 183 i)] [(= (ArrayItem (Var 183 lst) [(() (IntegerConstant 0 (Integer 4 [])) ())] (TypeParameter T []) RowMajor ()) (Var 183 i) ()) (= (Var 183 _lpython_return_variable) (ArrayItem (Var 183 lst) [(() (IntegerConstant 0 (Integer 4 [])) ())] (TypeParameter T []) RowMajor ()) ()) (Return)] (Var 183 _lpython_return_variable) Public .false. .false.), use_array: (Function (SymbolTable 184 {array: (Variable 184 array [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), x: (Variable 184 x [] Local () () Default (Integer 4 []) Source Public Required .false.)}) use_array (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [__asr_generic_f_0] [] [(= (Var 184 x) (IntegerConstant 69 (Integer 4 [])) ()) (Print () [(FunctionCall 188 __asr_generic_f_0 () [((Var 184 array)) ((Var 184 x))] (Integer 4 []) () ())] () ())] () Public .false. .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 186 {_lpython_main_program: (ExternalSymbol 186 _lpython_main_program 188 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 186 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_4___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_4___mod 79 __lpython_overloaded_4___mod lpython_builtin [] __lpython_overloaded_4___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_4___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_4___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_2___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 0.500000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) (RealConstant 3.141593 (Real 4 [])) Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) (RealConstant 3.141593 (Real 8 [])) Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) diff --git a/tests/reference/asr-generics_array_02-22c8dc1.json b/tests/reference/asr-generics_array_02-22c8dc1.json index 22b2ed3dad..72820d3914 100644 --- a/tests/reference/asr-generics_array_02-22c8dc1.json +++ b/tests/reference/asr-generics_array_02-22c8dc1.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-generics_array_02-22c8dc1.stdout", - "stdout_hash": "330ea2454831b5214cf641fc45a7e774365ae21d135b8b4073e7053d", + "stdout_hash": "55f9667904ac97b4cd5d3b28fb6169aaaab62d8f6fdd4e150370220d", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-generics_array_02-22c8dc1.stdout b/tests/reference/asr-generics_array_02-22c8dc1.stdout index d869c48055..140bbd2f19 100644 --- a/tests/reference/asr-generics_array_02-22c8dc1.stdout +++ b/tests/reference/asr-generics_array_02-22c8dc1.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 192 {T: (Variable 192 T [] Local () () Default (TypeParameter T []) Source Public Required .false.), __asr_generic_g_0: (Function (SymbolTable 188 {a: (Variable 188 a [n] InOut () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 188 n))]) Source Public Required .false.), b: (Variable 188 b [n] InOut () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 188 n))]) Source Public Required .false.), i: (Variable 188 i [] Local () () Default (Integer 4 []) Source Public Required .false.), n: (Variable 188 n [] In () () Default (Integer 4 []) Source Public Required .false.), r: (Variable 188 r [n] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 188 n))]) Source Public Required .false.)}) __asr_generic_g_0 (FunctionType [(Integer 4 []) (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 188 n))]) (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 188 n))])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [add_integer] [(Var 188 n) (Var 188 a) (Var 188 b)] [(DoLoop ((Var 188 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 188 n) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 188 r) [(() (Var 188 i) ())] (Integer 4 []) RowMajor ()) (FunctionCall 192 add_integer () [((ArrayItem (Var 188 a) [(() (Var 188 i) ())] (Integer 4 []) RowMajor ())) ((ArrayItem (Var 188 b) [(() (Var 188 i) ())] (Integer 4 []) RowMajor ()))] (Integer 4 []) () ()) ())]) (Print () [(ArrayItem (Var 188 r) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ())] () ())] () Public .false. .false.), __asr_generic_g_1: (Function (SymbolTable 189 {a: (Variable 189 a [n] InOut () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 189 n))]) Source Public Required .false.), b: (Variable 189 b [n] InOut () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 189 n))]) Source Public Required .false.), i: (Variable 189 i [] Local () () Default (Integer 4 []) Source Public Required .false.), n: (Variable 189 n [] In () () Default (Integer 4 []) Source Public Required .false.), r: (Variable 189 r [n] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 189 n))]) Source Public Required .false.)}) __asr_generic_g_1 (FunctionType [(Integer 4 []) (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 189 n))]) (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 189 n))])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [add_float] [(Var 189 n) (Var 189 a) (Var 189 b)] [(DoLoop ((Var 189 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 189 n) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 189 r) [(() (Var 189 i) ())] (Real 4 []) RowMajor ()) (FunctionCall 192 add_float () [((ArrayItem (Var 189 a) [(() (Var 189 i) ())] (Real 4 []) RowMajor ())) ((ArrayItem (Var 189 b) [(() (Var 189 i) ())] (Real 4 []) RowMajor ()))] (Real 4 []) () ()) ())]) (Print () [(ArrayItem (Var 189 r) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Real 4 []) RowMajor ())] () ())] () Public .false. .false.), _lpython_main_program: (Function (SymbolTable 191 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [main] [] [(SubroutineCall 192 main () [] ())] () Public .false. .false.), add: (Function (SymbolTable 182 {_lpython_return_variable: (Variable 182 _lpython_return_variable [] ReturnVar () () Default (TypeParameter T []) Source Public Required .false.), x: (Variable 182 x [] In () () Default (TypeParameter T []) Source Public Required .false.), y: (Variable 182 y [] In () () Default (TypeParameter T []) Source Public Required .false.)}) add (FunctionType [(TypeParameter T []) (TypeParameter T [])] (TypeParameter T []) Source Implementation () .false. .false. .false. .false. .false. [(TypeParameter T [])] [] .true.) [] [(Var 182 x) (Var 182 y)] [] (Var 182 _lpython_return_variable) Public .false. .false.), add_float: (Function (SymbolTable 184 {_lpython_return_variable: (Variable 184 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 184 x [] In () () Default (Real 4 []) Source Public Required .false.), y: (Variable 184 y [] In () () Default (Real 4 []) Source Public Required .false.)}) add_float (FunctionType [(Real 4 []) (Real 4 [])] (Real 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 184 x) (Var 184 y)] [(= (Var 184 _lpython_return_variable) (RealBinOp (Var 184 x) Add (Var 184 y) (Real 4 []) ()) ()) (Return)] (Var 184 _lpython_return_variable) Public .false. .false.), add_integer: (Function (SymbolTable 183 {_lpython_return_variable: (Variable 183 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), x: (Variable 183 x [] In () () Default (Integer 4 []) Source Public Required .false.), y: (Variable 183 y [] In () () Default (Integer 4 []) Source Public Required .false.)}) add_integer (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 183 x) (Var 183 y)] [(= (Var 183 _lpython_return_variable) (IntegerBinOp (Var 183 x) Add (Var 183 y) (Integer 4 []) ()) ()) (Return)] (Var 183 _lpython_return_variable) Public .false. .false.), g: (Function (SymbolTable 185 {a: (Variable 185 a [n] InOut () () Default (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 185 n))]) Source Public Required .false.), b: (Variable 185 b [n] InOut () () Default (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 185 n))]) Source Public Required .false.), i: (Variable 185 i [] Local () () Default (Integer 4 []) Source Public Required .false.), n: (Variable 185 n [] In () () Default (Integer 4 []) Source Public Required .false.), r: (Variable 185 r [n] Local () () Default (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 185 n))]) Source Public Required .false.)}) g (FunctionType [(Integer 4 []) (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 185 n))]) (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 185 n))])] () Source Implementation () .false. .false. .false. .false. .false. [(TypeParameter T [])] [192 add] .false.) [add] [(Var 185 n) (Var 185 a) (Var 185 b)] [(DoLoop ((Var 185 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 185 n) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 185 r) [(() (Var 185 i) ())] (TypeParameter T []) RowMajor ()) (FunctionCall 192 add () [((ArrayItem (Var 185 a) [(() (Var 185 i) ())] (TypeParameter T []) RowMajor ())) ((ArrayItem (Var 185 b) [(() (Var 185 i) ())] (TypeParameter T []) RowMajor ()))] (TypeParameter T []) () ()) ())]) (Print () [(ArrayItem (Var 185 r) [(() (IntegerConstant 0 (Integer 4 [])) ())] (TypeParameter T []) RowMajor ())] () ())] () Public .false. .false.), main: (Function (SymbolTable 186 {a_float: (Variable 186 a_float [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), a_int: (Variable 186 a_int [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), b_float: (Variable 186 b_float [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), b_int: (Variable 186 b_int [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.)}) main (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [__asr_generic_g_0 __asr_generic_g_1] [] [(= (ArrayItem (Var 186 a_int) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 400 (Integer 4 [])) ()) (= (ArrayItem (Var 186 b_int) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 20 (Integer 4 [])) ()) (SubroutineCall 192 __asr_generic_g_0 () [((IntegerConstant 1 (Integer 4 []))) ((Var 186 a_int)) ((Var 186 b_int))] ()) (= (ArrayItem (Var 186 a_float) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Real 4 []) RowMajor ()) (Cast (RealConstant 400.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 400.000000 (Real 4 []))) ()) (= (ArrayItem (Var 186 b_float) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Real 4 []) RowMajor ()) (Cast (RealConstant 20.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 20.000000 (Real 4 []))) ()) (SubroutineCall 192 __asr_generic_g_1 () [((IntegerConstant 1 (Integer 4 []))) ((Var 186 a_float)) ((Var 186 b_float))] ())] () Public .false. .false.), n: (Variable 192 n [] Local () () Default (Integer 4 []) Source Public Required .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 190 {_lpython_main_program: (ExternalSymbol 190 _lpython_main_program 192 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 190 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_4___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_4___mod 79 __lpython_overloaded_4___mod lpython_builtin [] __lpython_overloaded_4___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_4___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_4___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_2___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 0.500000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) (RealConstant 3.141593 (Real 4 [])) Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) (RealConstant 3.141593 (Real 8 [])) Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 193 {T: (Variable 193 T [] Local () () Default (TypeParameter T []) Source Public Required .false.), __asr_generic_g_0: (Function (SymbolTable 189 {a: (Variable 189 a [n] InOut () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 189 n))]) Source Public Required .false.), b: (Variable 189 b [n] InOut () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 189 n))]) Source Public Required .false.), i: (Variable 189 i [] Local () () Default (Integer 4 []) Source Public Required .false.), n: (Variable 189 n [] In () () Default (Integer 4 []) Source Public Required .false.), r: (Variable 189 r [n] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 189 n))]) Source Public Required .false.)}) __asr_generic_g_0 (FunctionType [(Integer 4 []) (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 189 n))]) (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 189 n))])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [add_integer] [(Var 189 n) (Var 189 a) (Var 189 b)] [(DoLoop ((Var 189 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 189 n) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 189 r) [(() (Var 189 i) ())] (Integer 4 []) RowMajor ()) (FunctionCall 193 add_integer () [((ArrayItem (Var 189 a) [(() (Var 189 i) ())] (Integer 4 []) RowMajor ())) ((ArrayItem (Var 189 b) [(() (Var 189 i) ())] (Integer 4 []) RowMajor ()))] (Integer 4 []) () ()) ())]) (Print () [(ArrayItem (Var 189 r) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ())] () ())] () Public .false. .false.), __asr_generic_g_1: (Function (SymbolTable 190 {a: (Variable 190 a [n] InOut () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 190 n))]) Source Public Required .false.), b: (Variable 190 b [n] InOut () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 190 n))]) Source Public Required .false.), i: (Variable 190 i [] Local () () Default (Integer 4 []) Source Public Required .false.), n: (Variable 190 n [] In () () Default (Integer 4 []) Source Public Required .false.), r: (Variable 190 r [n] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 190 n))]) Source Public Required .false.)}) __asr_generic_g_1 (FunctionType [(Integer 4 []) (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 190 n))]) (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 190 n))])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [add_float] [(Var 190 n) (Var 190 a) (Var 190 b)] [(DoLoop ((Var 190 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 190 n) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 190 r) [(() (Var 190 i) ())] (Real 4 []) RowMajor ()) (FunctionCall 193 add_float () [((ArrayItem (Var 190 a) [(() (Var 190 i) ())] (Real 4 []) RowMajor ())) ((ArrayItem (Var 190 b) [(() (Var 190 i) ())] (Real 4 []) RowMajor ()))] (Real 4 []) () ()) ())]) (Print () [(ArrayItem (Var 190 r) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Real 4 []) RowMajor ())] () ())] () Public .false. .false.), _lpython_main_program: (Function (SymbolTable 192 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [main] [] [(SubroutineCall 193 main () [] ())] () Public .false. .false.), add: (Function (SymbolTable 183 {_lpython_return_variable: (Variable 183 _lpython_return_variable [] ReturnVar () () Default (TypeParameter T []) Source Public Required .false.), x: (Variable 183 x [] In () () Default (TypeParameter T []) Source Public Required .false.), y: (Variable 183 y [] In () () Default (TypeParameter T []) Source Public Required .false.)}) add (FunctionType [(TypeParameter T []) (TypeParameter T [])] (TypeParameter T []) Source Implementation () .false. .false. .false. .false. .false. [(TypeParameter T [])] [] .true.) [] [(Var 183 x) (Var 183 y)] [] (Var 183 _lpython_return_variable) Public .false. .false.), add_float: (Function (SymbolTable 185 {_lpython_return_variable: (Variable 185 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 185 x [] In () () Default (Real 4 []) Source Public Required .false.), y: (Variable 185 y [] In () () Default (Real 4 []) Source Public Required .false.)}) add_float (FunctionType [(Real 4 []) (Real 4 [])] (Real 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 185 x) (Var 185 y)] [(= (Var 185 _lpython_return_variable) (RealBinOp (Var 185 x) Add (Var 185 y) (Real 4 []) ()) ()) (Return)] (Var 185 _lpython_return_variable) Public .false. .false.), add_integer: (Function (SymbolTable 184 {_lpython_return_variable: (Variable 184 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), x: (Variable 184 x [] In () () Default (Integer 4 []) Source Public Required .false.), y: (Variable 184 y [] In () () Default (Integer 4 []) Source Public Required .false.)}) add_integer (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 184 x) (Var 184 y)] [(= (Var 184 _lpython_return_variable) (IntegerBinOp (Var 184 x) Add (Var 184 y) (Integer 4 []) ()) ()) (Return)] (Var 184 _lpython_return_variable) Public .false. .false.), g: (Function (SymbolTable 186 {a: (Variable 186 a [n] InOut () () Default (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 186 n))]) Source Public Required .false.), b: (Variable 186 b [n] InOut () () Default (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 186 n))]) Source Public Required .false.), i: (Variable 186 i [] Local () () Default (Integer 4 []) Source Public Required .false.), n: (Variable 186 n [] In () () Default (Integer 4 []) Source Public Required .false.), r: (Variable 186 r [n] Local () () Default (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 186 n))]) Source Public Required .false.)}) g (FunctionType [(Integer 4 []) (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 186 n))]) (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 186 n))])] () Source Implementation () .false. .false. .false. .false. .false. [(TypeParameter T [])] [193 add] .false.) [add] [(Var 186 n) (Var 186 a) (Var 186 b)] [(DoLoop ((Var 186 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 186 n) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 186 r) [(() (Var 186 i) ())] (TypeParameter T []) RowMajor ()) (FunctionCall 193 add () [((ArrayItem (Var 186 a) [(() (Var 186 i) ())] (TypeParameter T []) RowMajor ())) ((ArrayItem (Var 186 b) [(() (Var 186 i) ())] (TypeParameter T []) RowMajor ()))] (TypeParameter T []) () ()) ())]) (Print () [(ArrayItem (Var 186 r) [(() (IntegerConstant 0 (Integer 4 [])) ())] (TypeParameter T []) RowMajor ())] () ())] () Public .false. .false.), main: (Function (SymbolTable 187 {a_float: (Variable 187 a_float [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), a_int: (Variable 187 a_int [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), b_float: (Variable 187 b_float [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), b_int: (Variable 187 b_int [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.)}) main (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [__asr_generic_g_0 __asr_generic_g_1] [] [(= (ArrayItem (Var 187 a_int) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 400 (Integer 4 [])) ()) (= (ArrayItem (Var 187 b_int) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 20 (Integer 4 [])) ()) (SubroutineCall 193 __asr_generic_g_0 () [((IntegerConstant 1 (Integer 4 []))) ((Var 187 a_int)) ((Var 187 b_int))] ()) (= (ArrayItem (Var 187 a_float) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Real 4 []) RowMajor ()) (Cast (RealConstant 400.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 400.000000 (Real 4 []))) ()) (= (ArrayItem (Var 187 b_float) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Real 4 []) RowMajor ()) (Cast (RealConstant 20.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 20.000000 (Real 4 []))) ()) (SubroutineCall 193 __asr_generic_g_1 () [((IntegerConstant 1 (Integer 4 []))) ((Var 187 a_float)) ((Var 187 b_float))] ())] () Public .false. .false.), n: (Variable 193 n [] Local () () Default (Integer 4 []) Source Public Required .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 191 {_lpython_main_program: (ExternalSymbol 191 _lpython_main_program 193 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 191 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_4___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_4___mod 79 __lpython_overloaded_4___mod lpython_builtin [] __lpython_overloaded_4___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_4___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_4___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_2___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 0.500000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) (RealConstant 3.141593 (Real 4 [])) Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) (RealConstant 3.141593 (Real 8 [])) Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) diff --git a/tests/reference/asr-generics_array_03-fb3706c.json b/tests/reference/asr-generics_array_03-fb3706c.json index 2f9252fe21..c492a5f0a0 100644 --- a/tests/reference/asr-generics_array_03-fb3706c.json +++ b/tests/reference/asr-generics_array_03-fb3706c.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-generics_array_03-fb3706c.stdout", - "stdout_hash": "8e7429f5b482dce937d72f76b414849d269785868a02bfad5e9839b9", + "stdout_hash": "bf9a4faa0008beacb62c5d8d1133a057c119b9da0cfd6f7b0e377c90", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-generics_array_03-fb3706c.stdout b/tests/reference/asr-generics_array_03-fb3706c.stdout index 67fb80c8b8..0fb58a8e9f 100644 --- a/tests/reference/asr-generics_array_03-fb3706c.stdout +++ b/tests/reference/asr-generics_array_03-fb3706c.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 193 {T: (Variable 193 T [] Local () () Default (TypeParameter T []) Source Public Required .false.), __asr_generic_g_0: (Function (SymbolTable 189 {_lpython_return_variable: (Variable 189 _lpython_return_variable [n m] ReturnVar () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 189 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 189 m))]) Source Public Required .false.), a: (Variable 189 a [n m] InOut () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 189 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 189 m))]) Source Public Required .false.), b: (Variable 189 b [n m] InOut () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 189 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 189 m))]) Source Public Required .false.), i: (Variable 189 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 189 j [] Local () () Default (Integer 4 []) Source Public Required .false.), m: (Variable 189 m [] In () () Default (Integer 4 []) Source Public Required .false.), n: (Variable 189 n [] In () () Default (Integer 4 []) Source Public Required .false.), r: (Variable 189 r [n m] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 189 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 189 m))]) Source Public Required .false.)}) __asr_generic_g_0 (FunctionType [(Integer 4 []) (Integer 4 []) (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 189 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 189 m))]) (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 189 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 189 m))])] (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 189 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 189 m))]) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [add_integer] [(Var 189 n) (Var 189 m) (Var 189 a) (Var 189 b)] [(DoLoop ((Var 189 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 189 n) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 189 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 189 m) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 189 r) [(() (Var 189 i) ()) (() (Var 189 j) ())] (Integer 4 []) RowMajor ()) (FunctionCall 193 add_integer () [((ArrayItem (Var 189 a) [(() (Var 189 i) ()) (() (Var 189 j) ())] (Integer 4 []) RowMajor ())) ((ArrayItem (Var 189 b) [(() (Var 189 i) ()) (() (Var 189 j) ())] (Integer 4 []) RowMajor ()))] (Integer 4 []) () ()) ())])]) (Print () [(ArrayItem (Var 189 r) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ())] () ())] (Var 189 _lpython_return_variable) Public .false. .false.), __asr_generic_g_1: (Function (SymbolTable 190 {_lpython_return_variable: (Variable 190 _lpython_return_variable [n m] ReturnVar () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 190 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 190 m))]) Source Public Required .false.), a: (Variable 190 a [n m] InOut () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 190 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 190 m))]) Source Public Required .false.), b: (Variable 190 b [n m] InOut () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 190 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 190 m))]) Source Public Required .false.), i: (Variable 190 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 190 j [] Local () () Default (Integer 4 []) Source Public Required .false.), m: (Variable 190 m [] In () () Default (Integer 4 []) Source Public Required .false.), n: (Variable 190 n [] In () () Default (Integer 4 []) Source Public Required .false.), r: (Variable 190 r [n m] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 190 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 190 m))]) Source Public Required .false.)}) __asr_generic_g_1 (FunctionType [(Integer 4 []) (Integer 4 []) (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 190 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 190 m))]) (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 190 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 190 m))])] (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 190 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 190 m))]) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [add_float] [(Var 190 n) (Var 190 m) (Var 190 a) (Var 190 b)] [(DoLoop ((Var 190 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 190 n) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 190 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 190 m) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 190 r) [(() (Var 190 i) ()) (() (Var 190 j) ())] (Real 4 []) RowMajor ()) (FunctionCall 193 add_float () [((ArrayItem (Var 190 a) [(() (Var 190 i) ()) (() (Var 190 j) ())] (Real 4 []) RowMajor ())) ((ArrayItem (Var 190 b) [(() (Var 190 i) ()) (() (Var 190 j) ())] (Real 4 []) RowMajor ()))] (Real 4 []) () ()) ())])]) (Print () [(ArrayItem (Var 190 r) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (Real 4 []) RowMajor ())] () ())] (Var 190 _lpython_return_variable) Public .false. .false.), _lpython_main_program: (Function (SymbolTable 192 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [main] [] [(SubroutineCall 193 main () [] ())] () Public .false. .false.), add: (Function (SymbolTable 182 {_lpython_return_variable: (Variable 182 _lpython_return_variable [] ReturnVar () () Default (TypeParameter T []) Source Public Required .false.), x: (Variable 182 x [] In () () Default (TypeParameter T []) Source Public Required .false.), y: (Variable 182 y [] In () () Default (TypeParameter T []) Source Public Required .false.)}) add (FunctionType [(TypeParameter T []) (TypeParameter T [])] (TypeParameter T []) Source Implementation () .false. .false. .false. .false. .false. [(TypeParameter T [])] [] .true.) [] [(Var 182 x) (Var 182 y)] [] (Var 182 _lpython_return_variable) Public .false. .false.), add_float: (Function (SymbolTable 184 {_lpython_return_variable: (Variable 184 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 184 x [] In () () Default (Real 4 []) Source Public Required .false.), y: (Variable 184 y [] In () () Default (Real 4 []) Source Public Required .false.)}) add_float (FunctionType [(Real 4 []) (Real 4 [])] (Real 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 184 x) (Var 184 y)] [(= (Var 184 _lpython_return_variable) (RealBinOp (Var 184 x) Add (Var 184 y) (Real 4 []) ()) ()) (Return)] (Var 184 _lpython_return_variable) Public .false. .false.), add_integer: (Function (SymbolTable 183 {_lpython_return_variable: (Variable 183 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), x: (Variable 183 x [] In () () Default (Integer 4 []) Source Public Required .false.), y: (Variable 183 y [] In () () Default (Integer 4 []) Source Public Required .false.)}) add_integer (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 183 x) (Var 183 y)] [(= (Var 183 _lpython_return_variable) (IntegerBinOp (Var 183 x) Add (Var 183 y) (Integer 4 []) ()) ()) (Return)] (Var 183 _lpython_return_variable) Public .false. .false.), g: (Function (SymbolTable 185 {_lpython_return_variable: (Variable 185 _lpython_return_variable [n m] ReturnVar () () Default (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 185 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 185 m))]) Source Public Required .false.), a: (Variable 185 a [n m] InOut () () Default (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 185 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 185 m))]) Source Public Required .false.), b: (Variable 185 b [n m] InOut () () Default (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 185 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 185 m))]) Source Public Required .false.), i: (Variable 185 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 185 j [] Local () () Default (Integer 4 []) Source Public Required .false.), m: (Variable 185 m [] In () () Default (Integer 4 []) Source Public Required .false.), n: (Variable 185 n [] In () () Default (Integer 4 []) Source Public Required .false.), r: (Variable 185 r [n m] Local () () Default (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 185 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 185 m))]) Source Public Required .false.)}) g (FunctionType [(Integer 4 []) (Integer 4 []) (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 185 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 185 m))]) (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 185 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 185 m))])] (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 185 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 185 m))]) Source Implementation () .false. .false. .false. .false. .false. [(TypeParameter T [])] [193 add] .false.) [add] [(Var 185 n) (Var 185 m) (Var 185 a) (Var 185 b)] [(DoLoop ((Var 185 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 185 n) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 185 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 185 m) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 185 r) [(() (Var 185 i) ()) (() (Var 185 j) ())] (TypeParameter T []) RowMajor ()) (FunctionCall 193 add () [((ArrayItem (Var 185 a) [(() (Var 185 i) ()) (() (Var 185 j) ())] (TypeParameter T []) RowMajor ())) ((ArrayItem (Var 185 b) [(() (Var 185 i) ()) (() (Var 185 j) ())] (TypeParameter T []) RowMajor ()))] (TypeParameter T []) () ()) ())])]) (Print () [(ArrayItem (Var 185 r) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (TypeParameter T []) RowMajor ())] () ())] (Var 185 _lpython_return_variable) Public .false. .false.), m: (Variable 193 m [] Local () () Default (Integer 4 []) Source Public Required .false.), main: (Function (SymbolTable 186 {__lcompilers_dummy: (Variable 186 __lcompilers_dummy [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), __lcompilers_dummy1: (Variable 186 __lcompilers_dummy1 [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), a_float: (Variable 186 a_float [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), a_int: (Variable 186 a_int [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), b_float: (Variable 186 b_float [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), b_int: (Variable 186 b_int [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.)}) main (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [__asr_generic_g_0 __asr_generic_g_1] [] [(= (ArrayItem (Var 186 a_int) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 400 (Integer 4 [])) ()) (= (ArrayItem (Var 186 b_int) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 20 (Integer 4 [])) ()) (= (Var 186 __lcompilers_dummy) (FunctionCall 193 __asr_generic_g_0 () [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 1 (Integer 4 []))) ((Var 186 a_int)) ((Var 186 b_int))] (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) () ()) ()) (= (ArrayItem (Var 186 a_float) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (Real 4 []) RowMajor ()) (Cast (IntegerConstant 400 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 400.000000 (Real 4 []))) ()) (= (ArrayItem (Var 186 b_float) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (Real 4 []) RowMajor ()) (Cast (IntegerConstant 20 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 20.000000 (Real 4 []))) ()) (= (Var 186 __lcompilers_dummy1) (FunctionCall 193 __asr_generic_g_1 () [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 1 (Integer 4 []))) ((Var 186 a_float)) ((Var 186 b_float))] (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) () ()) ())] () Public .false. .false.), n: (Variable 193 n [] Local () () Default (Integer 4 []) Source Public Required .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 191 {_lpython_main_program: (ExternalSymbol 191 _lpython_main_program 193 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 191 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_4___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_4___mod 79 __lpython_overloaded_4___mod lpython_builtin [] __lpython_overloaded_4___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_4___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_4___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_2___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 0.500000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) (RealConstant 3.141593 (Real 4 [])) Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) (RealConstant 3.141593 (Real 8 [])) Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 194 {T: (Variable 194 T [] Local () () Default (TypeParameter T []) Source Public Required .false.), __asr_generic_g_0: (Function (SymbolTable 190 {_lpython_return_variable: (Variable 190 _lpython_return_variable [n m] ReturnVar () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 190 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 190 m))]) Source Public Required .false.), a: (Variable 190 a [n m] InOut () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 190 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 190 m))]) Source Public Required .false.), b: (Variable 190 b [n m] InOut () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 190 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 190 m))]) Source Public Required .false.), i: (Variable 190 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 190 j [] Local () () Default (Integer 4 []) Source Public Required .false.), m: (Variable 190 m [] In () () Default (Integer 4 []) Source Public Required .false.), n: (Variable 190 n [] In () () Default (Integer 4 []) Source Public Required .false.), r: (Variable 190 r [n m] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 190 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 190 m))]) Source Public Required .false.)}) __asr_generic_g_0 (FunctionType [(Integer 4 []) (Integer 4 []) (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 190 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 190 m))]) (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 190 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 190 m))])] (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (Var 190 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 190 m))]) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [add_integer] [(Var 190 n) (Var 190 m) (Var 190 a) (Var 190 b)] [(DoLoop ((Var 190 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 190 n) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 190 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 190 m) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 190 r) [(() (Var 190 i) ()) (() (Var 190 j) ())] (Integer 4 []) RowMajor ()) (FunctionCall 194 add_integer () [((ArrayItem (Var 190 a) [(() (Var 190 i) ()) (() (Var 190 j) ())] (Integer 4 []) RowMajor ())) ((ArrayItem (Var 190 b) [(() (Var 190 i) ()) (() (Var 190 j) ())] (Integer 4 []) RowMajor ()))] (Integer 4 []) () ()) ())])]) (Print () [(ArrayItem (Var 190 r) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ())] () ())] (Var 190 _lpython_return_variable) Public .false. .false.), __asr_generic_g_1: (Function (SymbolTable 191 {_lpython_return_variable: (Variable 191 _lpython_return_variable [n m] ReturnVar () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 191 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 191 m))]) Source Public Required .false.), a: (Variable 191 a [n m] InOut () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 191 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 191 m))]) Source Public Required .false.), b: (Variable 191 b [n m] InOut () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 191 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 191 m))]) Source Public Required .false.), i: (Variable 191 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 191 j [] Local () () Default (Integer 4 []) Source Public Required .false.), m: (Variable 191 m [] In () () Default (Integer 4 []) Source Public Required .false.), n: (Variable 191 n [] In () () Default (Integer 4 []) Source Public Required .false.), r: (Variable 191 r [n m] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 191 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 191 m))]) Source Public Required .false.)}) __asr_generic_g_1 (FunctionType [(Integer 4 []) (Integer 4 []) (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 191 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 191 m))]) (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 191 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 191 m))])] (Real 4 [((IntegerConstant 0 (Integer 4 [])) (Var 191 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 191 m))]) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [add_float] [(Var 191 n) (Var 191 m) (Var 191 a) (Var 191 b)] [(DoLoop ((Var 191 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 191 n) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 191 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 191 m) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 191 r) [(() (Var 191 i) ()) (() (Var 191 j) ())] (Real 4 []) RowMajor ()) (FunctionCall 194 add_float () [((ArrayItem (Var 191 a) [(() (Var 191 i) ()) (() (Var 191 j) ())] (Real 4 []) RowMajor ())) ((ArrayItem (Var 191 b) [(() (Var 191 i) ()) (() (Var 191 j) ())] (Real 4 []) RowMajor ()))] (Real 4 []) () ()) ())])]) (Print () [(ArrayItem (Var 191 r) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (Real 4 []) RowMajor ())] () ())] (Var 191 _lpython_return_variable) Public .false. .false.), _lpython_main_program: (Function (SymbolTable 193 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [main] [] [(SubroutineCall 194 main () [] ())] () Public .false. .false.), add: (Function (SymbolTable 183 {_lpython_return_variable: (Variable 183 _lpython_return_variable [] ReturnVar () () Default (TypeParameter T []) Source Public Required .false.), x: (Variable 183 x [] In () () Default (TypeParameter T []) Source Public Required .false.), y: (Variable 183 y [] In () () Default (TypeParameter T []) Source Public Required .false.)}) add (FunctionType [(TypeParameter T []) (TypeParameter T [])] (TypeParameter T []) Source Implementation () .false. .false. .false. .false. .false. [(TypeParameter T [])] [] .true.) [] [(Var 183 x) (Var 183 y)] [] (Var 183 _lpython_return_variable) Public .false. .false.), add_float: (Function (SymbolTable 185 {_lpython_return_variable: (Variable 185 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 185 x [] In () () Default (Real 4 []) Source Public Required .false.), y: (Variable 185 y [] In () () Default (Real 4 []) Source Public Required .false.)}) add_float (FunctionType [(Real 4 []) (Real 4 [])] (Real 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 185 x) (Var 185 y)] [(= (Var 185 _lpython_return_variable) (RealBinOp (Var 185 x) Add (Var 185 y) (Real 4 []) ()) ()) (Return)] (Var 185 _lpython_return_variable) Public .false. .false.), add_integer: (Function (SymbolTable 184 {_lpython_return_variable: (Variable 184 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), x: (Variable 184 x [] In () () Default (Integer 4 []) Source Public Required .false.), y: (Variable 184 y [] In () () Default (Integer 4 []) Source Public Required .false.)}) add_integer (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 184 x) (Var 184 y)] [(= (Var 184 _lpython_return_variable) (IntegerBinOp (Var 184 x) Add (Var 184 y) (Integer 4 []) ()) ()) (Return)] (Var 184 _lpython_return_variable) Public .false. .false.), g: (Function (SymbolTable 186 {_lpython_return_variable: (Variable 186 _lpython_return_variable [n m] ReturnVar () () Default (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 186 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 186 m))]) Source Public Required .false.), a: (Variable 186 a [n m] InOut () () Default (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 186 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 186 m))]) Source Public Required .false.), b: (Variable 186 b [n m] InOut () () Default (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 186 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 186 m))]) Source Public Required .false.), i: (Variable 186 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 186 j [] Local () () Default (Integer 4 []) Source Public Required .false.), m: (Variable 186 m [] In () () Default (Integer 4 []) Source Public Required .false.), n: (Variable 186 n [] In () () Default (Integer 4 []) Source Public Required .false.), r: (Variable 186 r [n m] Local () () Default (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 186 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 186 m))]) Source Public Required .false.)}) g (FunctionType [(Integer 4 []) (Integer 4 []) (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 186 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 186 m))]) (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 186 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 186 m))])] (TypeParameter T [((IntegerConstant 0 (Integer 4 [])) (Var 186 n)) ((IntegerConstant 0 (Integer 4 [])) (Var 186 m))]) Source Implementation () .false. .false. .false. .false. .false. [(TypeParameter T [])] [194 add] .false.) [add] [(Var 186 n) (Var 186 m) (Var 186 a) (Var 186 b)] [(DoLoop ((Var 186 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 186 n) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 186 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (Var 186 m) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 186 r) [(() (Var 186 i) ()) (() (Var 186 j) ())] (TypeParameter T []) RowMajor ()) (FunctionCall 194 add () [((ArrayItem (Var 186 a) [(() (Var 186 i) ()) (() (Var 186 j) ())] (TypeParameter T []) RowMajor ())) ((ArrayItem (Var 186 b) [(() (Var 186 i) ()) (() (Var 186 j) ())] (TypeParameter T []) RowMajor ()))] (TypeParameter T []) () ()) ())])]) (Print () [(ArrayItem (Var 186 r) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (TypeParameter T []) RowMajor ())] () ())] (Var 186 _lpython_return_variable) Public .false. .false.), m: (Variable 194 m [] Local () () Default (Integer 4 []) Source Public Required .false.), main: (Function (SymbolTable 187 {__lcompilers_dummy: (Variable 187 __lcompilers_dummy [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), __lcompilers_dummy1: (Variable 187 __lcompilers_dummy1 [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), a_float: (Variable 187 a_float [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), a_int: (Variable 187 a_int [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), b_float: (Variable 187 b_float [] Local () () Default (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), b_int: (Variable 187 b_int [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.)}) main (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [__asr_generic_g_0 __asr_generic_g_1] [] [(= (ArrayItem (Var 187 a_int) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 400 (Integer 4 [])) ()) (= (ArrayItem (Var 187 b_int) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 20 (Integer 4 [])) ()) (= (Var 187 __lcompilers_dummy) (FunctionCall 194 __asr_generic_g_0 () [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 1 (Integer 4 []))) ((Var 187 a_int)) ((Var 187 b_int))] (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) () ()) ()) (= (ArrayItem (Var 187 a_float) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (Real 4 []) RowMajor ()) (Cast (IntegerConstant 400 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 400.000000 (Real 4 []))) ()) (= (ArrayItem (Var 187 b_float) [(() (IntegerConstant 0 (Integer 4 [])) ()) (() (IntegerConstant 0 (Integer 4 [])) ())] (Real 4 []) RowMajor ()) (Cast (IntegerConstant 20 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 20.000000 (Real 4 []))) ()) (= (Var 187 __lcompilers_dummy1) (FunctionCall 194 __asr_generic_g_1 () [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 1 (Integer 4 []))) ((Var 187 a_float)) ((Var 187 b_float))] (Real 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) () ()) ())] () Public .false. .false.), n: (Variable 194 n [] Local () () Default (Integer 4 []) Source Public Required .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 192 {_lpython_main_program: (ExternalSymbol 192 _lpython_main_program 194 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 192 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_4___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_4___mod 79 __lpython_overloaded_4___mod lpython_builtin [] __lpython_overloaded_4___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_4___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_4___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_2___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 0.500000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) (RealConstant 3.141593 (Real 4 [])) Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) (RealConstant 3.141593 (Real 8 [])) Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) diff --git a/tests/reference/asr-structs_05-fa98307.json b/tests/reference/asr-structs_05-fa98307.json index f7516c1bd6..528ab15103 100644 --- a/tests/reference/asr-structs_05-fa98307.json +++ b/tests/reference/asr-structs_05-fa98307.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-structs_05-fa98307.stdout", - "stdout_hash": "04c3f913e08b88226f6dcd77dbb87858a85a5642dad5bdddbc3d1355", + "stdout_hash": "9e0cb82f189a194f4dea62cbf6a65bcc77fdaa0e62279aa190dfa57d", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-structs_05-fa98307.stdout b/tests/reference/asr-structs_05-fa98307.stdout index 878e30f2a8..27a736c54e 100644 --- a/tests/reference/asr-structs_05-fa98307.stdout +++ b/tests/reference/asr-structs_05-fa98307.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 113 {A: (StructType (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Real 4 []) Source Public Required .false.), b: (Variable 2 b [] Local () () Default (Integer 2 []) Source Public Required .false.), c: (Variable 2 c [] Local () () Default (Integer 1 []) Source Public Required .false.), d: (Variable 2 d [] Local () () Default (Logical 4 []) Source Public Required .false.), x: (Variable 2 x [] Local () () Default (Integer 4 []) Source Public Required .false.), y: (Variable 2 y [] Local () () Default (Real 8 []) Source Public Required .false.), z: (Variable 2 z [] Local () () Default (Integer 8 []) Source Public Required .false.)}) A [] [y x z a b c d] Source Public .false. () ()), _lpython_main_program: (Function (SymbolTable 112 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [g] [] [(SubroutineCall 113 g () [] ())] () Public .false. .false.), g: (Function (SymbolTable 6 {y: (Variable 6 y [] Local () () Default (Struct 113 A [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])))]) Source Public Required .false.)}) g (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [verify update_1 update_2 verify] [] [(= (ArrayItem (Var 6 y) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Struct 113 A []) RowMajor ()) (StructTypeConstructor 113 A [((RealConstant 1.100000 (Real 8 []))) ((IntegerConstant 1 (Integer 4 []))) ((Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 [])))) ((Cast (RealConstant 1.100000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 1.100000 (Real 4 [])))) ((Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 1 (Integer 2 [])))) ((Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 1 (Integer 1 [])))) ((LogicalConstant .true. (Logical 4 [])))] (Struct 113 A []) ()) ()) (= (ArrayItem (Var 6 y) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 113 A []) RowMajor ()) (StructTypeConstructor 113 A [((RealConstant 2.200000 (Real 8 []))) ((IntegerConstant 2 (Integer 4 []))) ((Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 2 (Integer 8 [])))) ((Cast (RealConstant 2.200000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.200000 (Real 4 [])))) ((Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 2 (Integer 2 [])))) ((Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 2 (Integer 1 [])))) ((LogicalConstant .true. (Logical 4 [])))] (Struct 113 A []) ()) ()) (SubroutineCall 113 verify () [((Var 6 y)) ((IntegerConstant 1 (Integer 4 []))) ((RealConstant 1.100000 (Real 8 []))) ((IntegerConstant 2 (Integer 4 []))) ((RealConstant 2.200000 (Real 8 [])))] ()) (SubroutineCall 113 update_1 () [((ArrayItem (Var 6 y) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Struct 113 A []) RowMajor ()))] ()) (SubroutineCall 113 update_2 () [((Var 6 y))] ()) (SubroutineCall 113 verify () [((Var 6 y)) ((IntegerConstant 2 (Integer 4 []))) ((RealConstant 1.200000 (Real 8 []))) ((IntegerConstant 3 (Integer 4 []))) ((RealConstant 2.300000 (Real 8 [])))] ())] () Public .false. .false.), update_1: (Function (SymbolTable 4 {s: (Variable 4 s [] In () () Default (Struct 113 A []) Source Public Required .false.)}) update_1 (FunctionType [(Struct 113 A [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 s)] [(= (StructInstanceMember (Var 4 s) 2 x (Integer 4 []) ()) (IntegerConstant 2 (Integer 4 [])) ()) (= (StructInstanceMember (Var 4 s) 2 y (Real 8 []) ()) (RealConstant 1.200000 (Real 8 [])) ()) (= (StructInstanceMember (Var 4 s) 2 z (Integer 8 []) ()) (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 2 (Integer 8 []))) ()) (= (StructInstanceMember (Var 4 s) 2 a (Real 4 []) ()) (Cast (RealConstant 1.200000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 1.200000 (Real 4 []))) ()) (= (StructInstanceMember (Var 4 s) 2 b (Integer 2 []) ()) (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 2 (Integer 2 []))) ()) (= (StructInstanceMember (Var 4 s) 2 c (Integer 1 []) ()) (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 2 (Integer 1 []))) ())] () Public .false. .false.), update_2: (Function (SymbolTable 5 {s: (Variable 5 s [] InOut () () Default (Struct 113 A [(() ())]) Source Public Required .false.)}) update_2 (FunctionType [(Struct 113 A [(() ())])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 5 s)] [(= (StructInstanceMember (ArrayItem (Var 5 s) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 113 A []) RowMajor ()) 2 x (Integer 4 []) ()) (IntegerConstant 3 (Integer 4 [])) ()) (= (StructInstanceMember (ArrayItem (Var 5 s) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 113 A []) RowMajor ()) 2 y (Real 8 []) ()) (RealConstant 2.300000 (Real 8 [])) ()) (= (StructInstanceMember (ArrayItem (Var 5 s) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 113 A []) RowMajor ()) 2 z (Integer 8 []) ()) (Cast (IntegerConstant 3 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 3 (Integer 8 []))) ()) (= (StructInstanceMember (ArrayItem (Var 5 s) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 113 A []) RowMajor ()) 2 a (Real 4 []) ()) (Cast (RealConstant 2.300000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.300000 (Real 4 []))) ()) (= (StructInstanceMember (ArrayItem (Var 5 s) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 113 A []) RowMajor ()) 2 b (Integer 2 []) ()) (Cast (IntegerConstant 3 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 3 (Integer 2 []))) ()) (= (StructInstanceMember (ArrayItem (Var 5 s) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 113 A []) RowMajor ()) 2 c (Integer 1 []) ()) (Cast (IntegerConstant 3 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 3 (Integer 1 []))) ())] () Public .false. .false.), verify: (Function (SymbolTable 3 {abs: (ExternalSymbol 3 abs 8 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 3 abs@__lpython_overloaded_0__abs 8 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), abs@__lpython_overloaded_1__abs: (ExternalSymbol 3 abs@__lpython_overloaded_1__abs 8 __lpython_overloaded_1__abs lpython_builtin [] __lpython_overloaded_1__abs Public), eps: (Variable 3 eps [] Local () () Default (Real 8 []) Source Public Required .false.), s: (Variable 3 s [] InOut () () Default (Struct 113 A [(() ())]) Source Public Required .false.), s0: (Variable 3 s0 [] Local () () Default (Struct 113 A []) Source Public Required .false.), s1: (Variable 3 s1 [] Local () () Default (Struct 113 A []) Source Public Required .false.), x1: (Variable 3 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 3 x2 [] In () () Default (Integer 4 []) Source Public Required .false.), y1: (Variable 3 y1 [] In () () Default (Real 8 []) Source Public Required .false.), y2: (Variable 3 y2 [] In () () Default (Real 8 []) Source Public Required .false.)}) verify (FunctionType [(Struct 113 A [(() ())]) (Integer 4 []) (Real 8 []) (Integer 4 []) (Real 8 [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_1__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_1__abs] [(Var 3 s) (Var 3 x1) (Var 3 y1) (Var 3 x2) (Var 3 y2)] [(= (Var 3 eps) (RealConstant 0.000000 (Real 8 [])) ()) (= (Var 3 s0) (ArrayItem (Var 3 s) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Struct 113 A []) RowMajor ()) ()) (Print () [(StructInstanceMember (Var 3 s0) 2 x (Integer 4 []) ()) (StructInstanceMember (Var 3 s0) 2 y (Real 8 []) ()) (StructInstanceMember (Var 3 s0) 2 z (Integer 8 []) ()) (StructInstanceMember (Var 3 s0) 2 a (Real 4 []) ()) (StructInstanceMember (Var 3 s0) 2 b (Integer 2 []) ()) (StructInstanceMember (Var 3 s0) 2 c (Integer 1 []) ()) (StructInstanceMember (Var 3 s0) 2 d (Logical 4 []) ())] () ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s0) 2 x (Integer 4 []) ()) Eq (Var 3 x1) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (StructInstanceMember (Var 3 s0) 2 y (Real 8 []) ()) Sub (Var 3 y1) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 3 eps) (Logical 4 []) ()) ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s0) 2 z (Integer 8 []) ()) Eq (Cast (Var 3 x1) IntegerToInteger (Integer 8 []) ()) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_1__abs 3 abs [((RealBinOp (StructInstanceMember (Var 3 s0) 2 a (Real 4 []) ()) Sub (Cast (Var 3 y1) RealToReal (Real 4 []) ()) (Real 4 []) ()))] (Real 4 []) () ()) Lt (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s0) 2 b (Integer 2 []) ()) Eq (Cast (Var 3 x1) IntegerToInteger (Integer 2 []) ()) (Logical 4 []) ()) ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s0) 2 c (Integer 1 []) ()) Eq (Cast (Var 3 x1) IntegerToInteger (Integer 1 []) ()) (Logical 4 []) ()) ()) (Assert (StructInstanceMember (Var 3 s0) 2 d (Logical 4 []) ()) ()) (= (Var 3 s1) (ArrayItem (Var 3 s) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 113 A []) RowMajor ()) ()) (Print () [(StructInstanceMember (Var 3 s1) 2 x (Integer 4 []) ()) (StructInstanceMember (Var 3 s1) 2 y (Real 8 []) ()) (StructInstanceMember (Var 3 s1) 2 z (Integer 8 []) ()) (StructInstanceMember (Var 3 s1) 2 a (Real 4 []) ()) (StructInstanceMember (Var 3 s1) 2 b (Integer 2 []) ()) (StructInstanceMember (Var 3 s1) 2 c (Integer 1 []) ()) (StructInstanceMember (Var 3 s1) 2 d (Logical 4 []) ())] () ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s1) 2 x (Integer 4 []) ()) Eq (Var 3 x2) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (StructInstanceMember (Var 3 s1) 2 y (Real 8 []) ()) Sub (Var 3 y2) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 3 eps) (Logical 4 []) ()) ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s1) 2 z (Integer 8 []) ()) Eq (Cast (Var 3 x2) IntegerToInteger (Integer 8 []) ()) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_1__abs 3 abs [((RealBinOp (StructInstanceMember (Var 3 s1) 2 a (Real 4 []) ()) Sub (Cast (Var 3 y2) RealToReal (Real 4 []) ()) (Real 4 []) ()))] (Real 4 []) () ()) Lt (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s1) 2 b (Integer 2 []) ()) Eq (Cast (Var 3 x2) IntegerToInteger (Integer 2 []) ()) (Logical 4 []) ()) ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s1) 2 c (Integer 1 []) ()) Eq (Cast (Var 3 x2) IntegerToInteger (Integer 1 []) ()) (Logical 4 []) ()) ()) (Assert (StructInstanceMember (Var 3 s1) 2 d (Logical 4 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 111 {_lpython_main_program: (ExternalSymbol 111 _lpython_main_program 113 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 111 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 114 {A: (StructType (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Real 4 []) Source Public Required .false.), b: (Variable 2 b [] Local () () Default (Integer 2 []) Source Public Required .false.), c: (Variable 2 c [] Local () () Default (Integer 1 []) Source Public Required .false.), d: (Variable 2 d [] Local () () Default (Logical 4 []) Source Public Required .false.), x: (Variable 2 x [] Local () () Default (Integer 4 []) Source Public Required .false.), y: (Variable 2 y [] Local () () Default (Real 8 []) Source Public Required .false.), z: (Variable 2 z [] Local () () Default (Integer 8 []) Source Public Required .false.)}) A [] [y x z a b c d] Source Public .false. () ()), _lpython_main_program: (Function (SymbolTable 113 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [g] [] [(SubroutineCall 114 g () [] ())] () Public .false. .false.), g: (Function (SymbolTable 6 {y: (Variable 6 y [] Local () () Default (Struct 114 A [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])))]) Source Public Required .false.)}) g (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [verify update_1 update_2 verify] [] [(= (ArrayItem (Var 6 y) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Struct 114 A []) RowMajor ()) (StructTypeConstructor 114 A [((RealConstant 1.100000 (Real 8 []))) ((IntegerConstant 1 (Integer 4 []))) ((Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 [])))) ((Cast (RealConstant 1.100000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 1.100000 (Real 4 [])))) ((Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 1 (Integer 2 [])))) ((Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 1 (Integer 1 [])))) ((LogicalConstant .true. (Logical 4 [])))] (Struct 114 A []) ()) ()) (= (ArrayItem (Var 6 y) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 114 A []) RowMajor ()) (StructTypeConstructor 114 A [((RealConstant 2.200000 (Real 8 []))) ((IntegerConstant 2 (Integer 4 []))) ((Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 2 (Integer 8 [])))) ((Cast (RealConstant 2.200000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.200000 (Real 4 [])))) ((Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 2 (Integer 2 [])))) ((Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 2 (Integer 1 [])))) ((LogicalConstant .true. (Logical 4 [])))] (Struct 114 A []) ()) ()) (SubroutineCall 114 verify () [((Var 6 y)) ((IntegerConstant 1 (Integer 4 []))) ((RealConstant 1.100000 (Real 8 []))) ((IntegerConstant 2 (Integer 4 []))) ((RealConstant 2.200000 (Real 8 [])))] ()) (SubroutineCall 114 update_1 () [((ArrayItem (Var 6 y) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Struct 114 A []) RowMajor ()))] ()) (SubroutineCall 114 update_2 () [((Var 6 y))] ()) (SubroutineCall 114 verify () [((Var 6 y)) ((IntegerConstant 2 (Integer 4 []))) ((RealConstant 1.200000 (Real 8 []))) ((IntegerConstant 3 (Integer 4 []))) ((RealConstant 2.300000 (Real 8 [])))] ())] () Public .false. .false.), update_1: (Function (SymbolTable 4 {s: (Variable 4 s [] In () () Default (Struct 114 A []) Source Public Required .false.)}) update_1 (FunctionType [(Struct 114 A [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 s)] [(= (StructInstanceMember (Var 4 s) 2 x (Integer 4 []) ()) (IntegerConstant 2 (Integer 4 [])) ()) (= (StructInstanceMember (Var 4 s) 2 y (Real 8 []) ()) (RealConstant 1.200000 (Real 8 [])) ()) (= (StructInstanceMember (Var 4 s) 2 z (Integer 8 []) ()) (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 2 (Integer 8 []))) ()) (= (StructInstanceMember (Var 4 s) 2 a (Real 4 []) ()) (Cast (RealConstant 1.200000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 1.200000 (Real 4 []))) ()) (= (StructInstanceMember (Var 4 s) 2 b (Integer 2 []) ()) (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 2 (Integer 2 []))) ()) (= (StructInstanceMember (Var 4 s) 2 c (Integer 1 []) ()) (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 2 (Integer 1 []))) ())] () Public .false. .false.), update_2: (Function (SymbolTable 5 {s: (Variable 5 s [] InOut () () Default (Struct 114 A [(() ())]) Source Public Required .false.)}) update_2 (FunctionType [(Struct 114 A [(() ())])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 5 s)] [(= (StructInstanceMember (ArrayItem (Var 5 s) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 114 A []) RowMajor ()) 2 x (Integer 4 []) ()) (IntegerConstant 3 (Integer 4 [])) ()) (= (StructInstanceMember (ArrayItem (Var 5 s) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 114 A []) RowMajor ()) 2 y (Real 8 []) ()) (RealConstant 2.300000 (Real 8 [])) ()) (= (StructInstanceMember (ArrayItem (Var 5 s) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 114 A []) RowMajor ()) 2 z (Integer 8 []) ()) (Cast (IntegerConstant 3 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 3 (Integer 8 []))) ()) (= (StructInstanceMember (ArrayItem (Var 5 s) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 114 A []) RowMajor ()) 2 a (Real 4 []) ()) (Cast (RealConstant 2.300000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.300000 (Real 4 []))) ()) (= (StructInstanceMember (ArrayItem (Var 5 s) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 114 A []) RowMajor ()) 2 b (Integer 2 []) ()) (Cast (IntegerConstant 3 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 3 (Integer 2 []))) ()) (= (StructInstanceMember (ArrayItem (Var 5 s) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 114 A []) RowMajor ()) 2 c (Integer 1 []) ()) (Cast (IntegerConstant 3 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 3 (Integer 1 []))) ())] () Public .false. .false.), verify: (Function (SymbolTable 3 {abs: (ExternalSymbol 3 abs 8 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 3 abs@__lpython_overloaded_0__abs 8 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), abs@__lpython_overloaded_1__abs: (ExternalSymbol 3 abs@__lpython_overloaded_1__abs 8 __lpython_overloaded_1__abs lpython_builtin [] __lpython_overloaded_1__abs Public), eps: (Variable 3 eps [] Local () () Default (Real 8 []) Source Public Required .false.), s: (Variable 3 s [] InOut () () Default (Struct 114 A [(() ())]) Source Public Required .false.), s0: (Variable 3 s0 [] Local () () Default (Struct 114 A []) Source Public Required .false.), s1: (Variable 3 s1 [] Local () () Default (Struct 114 A []) Source Public Required .false.), x1: (Variable 3 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 3 x2 [] In () () Default (Integer 4 []) Source Public Required .false.), y1: (Variable 3 y1 [] In () () Default (Real 8 []) Source Public Required .false.), y2: (Variable 3 y2 [] In () () Default (Real 8 []) Source Public Required .false.)}) verify (FunctionType [(Struct 114 A [(() ())]) (Integer 4 []) (Real 8 []) (Integer 4 []) (Real 8 [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_1__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_1__abs] [(Var 3 s) (Var 3 x1) (Var 3 y1) (Var 3 x2) (Var 3 y2)] [(= (Var 3 eps) (RealConstant 0.000000 (Real 8 [])) ()) (= (Var 3 s0) (ArrayItem (Var 3 s) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Struct 114 A []) RowMajor ()) ()) (Print () [(StructInstanceMember (Var 3 s0) 2 x (Integer 4 []) ()) (StructInstanceMember (Var 3 s0) 2 y (Real 8 []) ()) (StructInstanceMember (Var 3 s0) 2 z (Integer 8 []) ()) (StructInstanceMember (Var 3 s0) 2 a (Real 4 []) ()) (StructInstanceMember (Var 3 s0) 2 b (Integer 2 []) ()) (StructInstanceMember (Var 3 s0) 2 c (Integer 1 []) ()) (StructInstanceMember (Var 3 s0) 2 d (Logical 4 []) ())] () ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s0) 2 x (Integer 4 []) ()) Eq (Var 3 x1) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (StructInstanceMember (Var 3 s0) 2 y (Real 8 []) ()) Sub (Var 3 y1) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 3 eps) (Logical 4 []) ()) ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s0) 2 z (Integer 8 []) ()) Eq (Cast (Var 3 x1) IntegerToInteger (Integer 8 []) ()) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_1__abs 3 abs [((RealBinOp (StructInstanceMember (Var 3 s0) 2 a (Real 4 []) ()) Sub (Cast (Var 3 y1) RealToReal (Real 4 []) ()) (Real 4 []) ()))] (Real 4 []) () ()) Lt (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s0) 2 b (Integer 2 []) ()) Eq (Cast (Var 3 x1) IntegerToInteger (Integer 2 []) ()) (Logical 4 []) ()) ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s0) 2 c (Integer 1 []) ()) Eq (Cast (Var 3 x1) IntegerToInteger (Integer 1 []) ()) (Logical 4 []) ()) ()) (Assert (StructInstanceMember (Var 3 s0) 2 d (Logical 4 []) ()) ()) (= (Var 3 s1) (ArrayItem (Var 3 s) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Struct 114 A []) RowMajor ()) ()) (Print () [(StructInstanceMember (Var 3 s1) 2 x (Integer 4 []) ()) (StructInstanceMember (Var 3 s1) 2 y (Real 8 []) ()) (StructInstanceMember (Var 3 s1) 2 z (Integer 8 []) ()) (StructInstanceMember (Var 3 s1) 2 a (Real 4 []) ()) (StructInstanceMember (Var 3 s1) 2 b (Integer 2 []) ()) (StructInstanceMember (Var 3 s1) 2 c (Integer 1 []) ()) (StructInstanceMember (Var 3 s1) 2 d (Logical 4 []) ())] () ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s1) 2 x (Integer 4 []) ()) Eq (Var 3 x2) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (StructInstanceMember (Var 3 s1) 2 y (Real 8 []) ()) Sub (Var 3 y2) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 3 eps) (Logical 4 []) ()) ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s1) 2 z (Integer 8 []) ()) Eq (Cast (Var 3 x2) IntegerToInteger (Integer 8 []) ()) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_1__abs 3 abs [((RealBinOp (StructInstanceMember (Var 3 s1) 2 a (Real 4 []) ()) Sub (Cast (Var 3 y2) RealToReal (Real 4 []) ()) (Real 4 []) ()))] (Real 4 []) () ()) Lt (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s1) 2 b (Integer 2 []) ()) Eq (Cast (Var 3 x2) IntegerToInteger (Integer 2 []) ()) (Logical 4 []) ()) ()) (Assert (IntegerCompare (StructInstanceMember (Var 3 s1) 2 c (Integer 1 []) ()) Eq (Cast (Var 3 x2) IntegerToInteger (Integer 1 []) ()) (Logical 4 []) ()) ()) (Assert (StructInstanceMember (Var 3 s1) 2 d (Logical 4 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 112 {_lpython_main_program: (ExternalSymbol 112 _lpython_main_program 114 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 112 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-test_bool_binop-f856ef0.json b/tests/reference/asr-test_bool_binop-f856ef0.json index da8e4e9b04..f3060701a1 100644 --- a/tests/reference/asr-test_bool_binop-f856ef0.json +++ b/tests/reference/asr-test_bool_binop-f856ef0.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_bool_binop-f856ef0.stdout", - "stdout_hash": "880c6f22a83c84501a5e605b0d62203e943e679ada36a1d58e3faf8b", + "stdout_hash": "677acb2dfcc131c298b6e0961191f225eb030e2e5270b05248edf753", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_bool_binop-f856ef0.stdout b/tests/reference/asr-test_bool_binop-f856ef0.stdout index 829deb6a61..6b70c76e1b 100644 --- a/tests/reference/asr-test_bool_binop-f856ef0.stdout +++ b/tests/reference/asr-test_bool_binop-f856ef0.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 109 {_lpython_main_program: (Function (SymbolTable 108 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [f] [] [(SubroutineCall 109 f () [] ())] () Public .false. .false.), f: (Function (SymbolTable 2 {_lpython_floordiv: (ExternalSymbol 2 _lpython_floordiv 4 _lpython_floordiv lpython_builtin [] _lpython_floordiv Private), _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv: (ExternalSymbol 2 _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv 4 __lpython_overloaded_6___lpython_floordiv lpython_builtin [] __lpython_overloaded_6___lpython_floordiv Public), b1: (Variable 2 b1 [] Local () () Default (Logical 4 []) Source Public Required .false.), b2: (Variable 2 b2 [] Local () () Default (Logical 4 []) Source Public Required .false.), f: (Variable 2 f [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 2 i [] Local () () Default (Integer 4 []) Source Public Required .false.)}) f (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [_lpython_floordiv@__lpython_overloaded_6___lpython_floordiv _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv] [] [(= (Var 2 i) (IntegerBinOp (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Add (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 2 i) Eq (IntegerConstant 2 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerBinOp (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Sub (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 2 i) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerBinOp (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Mul (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 2 i) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 i) (Cast (FunctionCall 2 _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv 2 _lpython_floordiv [((LogicalConstant .true. (Logical 4 []))) ((LogicalConstant .true. (Logical 4 [])))] (Logical 4 []) (LogicalConstant .true. (Logical 1 [])) ()) LogicalToInteger (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 2 i) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 i) (Cast (FunctionCall 2 _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv 2 _lpython_floordiv [((LogicalConstant .false. (Logical 4 []))) ((LogicalConstant .true. (Logical 4 [])))] (Logical 4 []) (LogicalConstant .false. (Logical 1 [])) ()) LogicalToInteger (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 2 i) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerBinOp (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Pow (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 2 i) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 b1) (LogicalConstant .false. (Logical 4 [])) ()) (= (Var 2 b2) (LogicalConstant .true. (Logical 4 [])) ()) (= (Var 2 f) (RealBinOp (Cast (Var 2 b1) LogicalToReal (Real 8 []) ()) Div (Cast (Var 2 b2) LogicalToReal (Real 8 []) ()) (Real 8 []) ()) ()) (Assert (RealCompare (Var 2 f) Eq (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 107 {_lpython_main_program: (ExternalSymbol 107 _lpython_main_program 109 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 107 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 110 {_lpython_main_program: (Function (SymbolTable 109 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [f] [] [(SubroutineCall 110 f () [] ())] () Public .false. .false.), f: (Function (SymbolTable 2 {_lpython_floordiv: (ExternalSymbol 2 _lpython_floordiv 4 _lpython_floordiv lpython_builtin [] _lpython_floordiv Private), _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv: (ExternalSymbol 2 _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv 4 __lpython_overloaded_6___lpython_floordiv lpython_builtin [] __lpython_overloaded_6___lpython_floordiv Public), b1: (Variable 2 b1 [] Local () () Default (Logical 4 []) Source Public Required .false.), b2: (Variable 2 b2 [] Local () () Default (Logical 4 []) Source Public Required .false.), f: (Variable 2 f [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 2 i [] Local () () Default (Integer 4 []) Source Public Required .false.)}) f (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [_lpython_floordiv@__lpython_overloaded_6___lpython_floordiv _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv] [] [(= (Var 2 i) (IntegerBinOp (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Add (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 2 i) Eq (IntegerConstant 2 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerBinOp (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Sub (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 2 i) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerBinOp (Cast (LogicalConstant .false. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Mul (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 2 i) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 i) (Cast (FunctionCall 2 _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv 2 _lpython_floordiv [((LogicalConstant .true. (Logical 4 []))) ((LogicalConstant .true. (Logical 4 [])))] (Logical 4 []) (LogicalConstant .true. (Logical 1 [])) ()) LogicalToInteger (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 2 i) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 i) (Cast (FunctionCall 2 _lpython_floordiv@__lpython_overloaded_6___lpython_floordiv 2 _lpython_floordiv [((LogicalConstant .false. (Logical 4 []))) ((LogicalConstant .true. (Logical 4 [])))] (Logical 4 []) (LogicalConstant .false. (Logical 1 [])) ()) LogicalToInteger (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 2 i) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerBinOp (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) Pow (Cast (LogicalConstant .true. (Logical 4 [])) LogicalToInteger (Integer 4 []) ()) (Integer 4 []) ()) ()) (Assert (IntegerCompare (Var 2 i) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 b1) (LogicalConstant .false. (Logical 4 [])) ()) (= (Var 2 b2) (LogicalConstant .true. (Logical 4 [])) ()) (= (Var 2 f) (RealBinOp (Cast (Var 2 b1) LogicalToReal (Real 8 []) ()) Div (Cast (Var 2 b2) LogicalToReal (Real 8 []) ()) (Real 8 []) ()) ()) (Assert (RealCompare (Var 2 f) Eq (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 108 {_lpython_main_program: (ExternalSymbol 108 _lpython_main_program 110 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 108 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-test_builtin_abs-c74d2c9.json b/tests/reference/asr-test_builtin_abs-c74d2c9.json index f24c24079f..c77c080c72 100644 --- a/tests/reference/asr-test_builtin_abs-c74d2c9.json +++ b/tests/reference/asr-test_builtin_abs-c74d2c9.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_builtin_abs-c74d2c9.stdout", - "stdout_hash": "453b6c0f34090986b690ae1f4a26012c526dbddf3a0bd652dffdbc14", + "stdout_hash": "437943bab8be20a2e85424ee4ef493293aa8a62bd7de979f045eedb1", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_builtin_abs-c74d2c9.stdout b/tests/reference/asr-test_builtin_abs-c74d2c9.stdout index 6b0f0e4c3a..713e448990 100644 --- a/tests/reference/asr-test_builtin_abs-c74d2c9.stdout +++ b/tests/reference/asr-test_builtin_abs-c74d2c9.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 109 {_lpython_main_program: (Function (SymbolTable 108 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_abs] [] [(SubroutineCall 109 test_abs () [] ())] () Public .false. .false.), test_abs: (Function (SymbolTable 2 {abs: (ExternalSymbol 2 abs 4 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 2 abs@__lpython_overloaded_0__abs 4 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), abs@__lpython_overloaded_1__abs: (ExternalSymbol 2 abs@__lpython_overloaded_1__abs 4 __lpython_overloaded_1__abs lpython_builtin [] __lpython_overloaded_1__abs Public), abs@__lpython_overloaded_2__abs: (ExternalSymbol 2 abs@__lpython_overloaded_2__abs 4 __lpython_overloaded_2__abs lpython_builtin [] __lpython_overloaded_2__abs Public), abs@__lpython_overloaded_3__abs: (ExternalSymbol 2 abs@__lpython_overloaded_3__abs 4 __lpython_overloaded_3__abs lpython_builtin [] __lpython_overloaded_3__abs Public), abs@__lpython_overloaded_4__abs: (ExternalSymbol 2 abs@__lpython_overloaded_4__abs 4 __lpython_overloaded_4__abs lpython_builtin [] __lpython_overloaded_4__abs Public), abs@__lpython_overloaded_5__abs: (ExternalSymbol 2 abs@__lpython_overloaded_5__abs 4 __lpython_overloaded_5__abs lpython_builtin [] __lpython_overloaded_5__abs Public), abs@__lpython_overloaded_6__abs: (ExternalSymbol 2 abs@__lpython_overloaded_6__abs 4 __lpython_overloaded_6__abs lpython_builtin [] __lpython_overloaded_6__abs Public), b: (Variable 2 b [] Local () () Default (Logical 4 []) Source Public Required .false.), i: (Variable 2 i [] Local () () Default (Integer 4 []) Source Public Required .false.), i2: (Variable 2 i2 [] Local () () Default (Integer 8 []) Source Public Required .false.), i3: (Variable 2 i3 [] Local () () Default (Integer 1 []) Source Public Required .false.), i4: (Variable 2 i4 [] Local () () Default (Integer 2 []) Source Public Required .false.), x: (Variable 2 x [] Local () () Default (Real 8 []) Source Public Required .false.), x2: (Variable 2 x2 [] Local () () Default (Real 4 []) Source Public Required .false.)}) test_abs (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_1__abs abs@__lpython_overloaded_4__abs abs@__lpython_overloaded_4__abs abs@__lpython_overloaded_5__abs abs@__lpython_overloaded_2__abs abs@__lpython_overloaded_3__abs abs@__lpython_overloaded_6__abs abs@__lpython_overloaded_6__abs] [] [(= (Var 2 x) (RealConstant 5.500000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((Var 2 x))] (Real 8 []) () ()) Eq (RealConstant 5.500000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 2 x) (RealUnaryMinus (RealConstant 5.500000 (Real 8 [])) (Real 8 []) (RealConstant -5.500000 (Real 8 []))) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((Var 2 x))] (Real 8 []) () ()) Eq (RealConstant 5.500000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealConstant 5.500000 (Real 8 [])))] (Real 8 []) (RealConstant 5.500000 (Real 8 [])) ()) Eq (RealConstant 5.500000 (Real 8 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealUnaryMinus (RealConstant 5.500000 (Real 8 [])) (Real 8 []) (RealConstant -5.500000 (Real 8 []))))] (Real 8 []) (RealConstant 5.500000 (Real 8 [])) ()) Eq (RealConstant 5.500000 (Real 8 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 x2) (RealUnaryMinus (Cast (RealConstant 5.500000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 5.500000 (Real 4 []))) (Real 4 []) (RealConstant -5.500000 (Real 4 []))) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_1__abs 2 abs [((Var 2 x2))] (Real 4 []) () ()) Eq (Cast (RealConstant 5.500000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 5.500000 (Real 4 []))) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerUnaryMinus (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5 (Integer 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 abs@__lpython_overloaded_4__abs 2 abs [((Var 2 i))] (Integer 4 []) () ()) Eq (IntegerConstant 5 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 abs@__lpython_overloaded_4__abs 2 abs [((IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))))] (Integer 4 []) (IntegerConstant 1 (Integer 4 [])) ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 i2) (IntegerUnaryMinus (Cast (IntegerConstant 6 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 6 (Integer 8 []))) (Integer 8 []) (IntegerConstant -6 (Integer 8 []))) ()) (Assert (IntegerCompare (FunctionCall 2 abs@__lpython_overloaded_5__abs 2 abs [((Var 2 i2))] (Integer 8 []) () ()) Eq (Cast (IntegerConstant 6 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 6 (Integer 8 []))) (Logical 4 []) ()) ()) (= (Var 2 i3) (IntegerUnaryMinus (Cast (IntegerConstant 7 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 7 (Integer 1 []))) (Integer 1 []) (IntegerConstant -7 (Integer 1 []))) ()) (Assert (IntegerCompare (FunctionCall 2 abs@__lpython_overloaded_2__abs 2 abs [((Var 2 i3))] (Integer 1 []) () ()) Eq (Cast (IntegerConstant 7 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 7 (Integer 1 []))) (Logical 4 []) ()) ()) (= (Var 2 i4) (IntegerUnaryMinus (Cast (IntegerConstant 8 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 8 (Integer 2 []))) (Integer 2 []) (IntegerConstant -8 (Integer 2 []))) ()) (Assert (IntegerCompare (FunctionCall 2 abs@__lpython_overloaded_3__abs 2 abs [((Var 2 i4))] (Integer 2 []) () ()) Eq (Cast (IntegerConstant 8 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 8 (Integer 2 []))) (Logical 4 []) ()) ()) (= (Var 2 b) (LogicalConstant .true. (Logical 4 [])) ()) (Assert (IntegerCompare (FunctionCall 2 abs@__lpython_overloaded_6__abs 2 abs [((Var 2 b))] (Integer 4 []) () ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 b) (LogicalConstant .false. (Logical 4 [])) ()) (Assert (IntegerCompare (FunctionCall 2 abs@__lpython_overloaded_6__abs 2 abs [((Var 2 b))] (Integer 4 []) () ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 107 {_lpython_main_program: (ExternalSymbol 107 _lpython_main_program 109 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 107 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 110 {_lpython_main_program: (Function (SymbolTable 109 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_abs] [] [(SubroutineCall 110 test_abs () [] ())] () Public .false. .false.), test_abs: (Function (SymbolTable 2 {abs: (ExternalSymbol 2 abs 4 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 2 abs@__lpython_overloaded_0__abs 4 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), abs@__lpython_overloaded_1__abs: (ExternalSymbol 2 abs@__lpython_overloaded_1__abs 4 __lpython_overloaded_1__abs lpython_builtin [] __lpython_overloaded_1__abs Public), abs@__lpython_overloaded_2__abs: (ExternalSymbol 2 abs@__lpython_overloaded_2__abs 4 __lpython_overloaded_2__abs lpython_builtin [] __lpython_overloaded_2__abs Public), abs@__lpython_overloaded_3__abs: (ExternalSymbol 2 abs@__lpython_overloaded_3__abs 4 __lpython_overloaded_3__abs lpython_builtin [] __lpython_overloaded_3__abs Public), abs@__lpython_overloaded_4__abs: (ExternalSymbol 2 abs@__lpython_overloaded_4__abs 4 __lpython_overloaded_4__abs lpython_builtin [] __lpython_overloaded_4__abs Public), abs@__lpython_overloaded_5__abs: (ExternalSymbol 2 abs@__lpython_overloaded_5__abs 4 __lpython_overloaded_5__abs lpython_builtin [] __lpython_overloaded_5__abs Public), abs@__lpython_overloaded_6__abs: (ExternalSymbol 2 abs@__lpython_overloaded_6__abs 4 __lpython_overloaded_6__abs lpython_builtin [] __lpython_overloaded_6__abs Public), b: (Variable 2 b [] Local () () Default (Logical 4 []) Source Public Required .false.), i: (Variable 2 i [] Local () () Default (Integer 4 []) Source Public Required .false.), i2: (Variable 2 i2 [] Local () () Default (Integer 8 []) Source Public Required .false.), i3: (Variable 2 i3 [] Local () () Default (Integer 1 []) Source Public Required .false.), i4: (Variable 2 i4 [] Local () () Default (Integer 2 []) Source Public Required .false.), x: (Variable 2 x [] Local () () Default (Real 8 []) Source Public Required .false.), x2: (Variable 2 x2 [] Local () () Default (Real 4 []) Source Public Required .false.)}) test_abs (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_1__abs abs@__lpython_overloaded_4__abs abs@__lpython_overloaded_4__abs abs@__lpython_overloaded_5__abs abs@__lpython_overloaded_2__abs abs@__lpython_overloaded_3__abs abs@__lpython_overloaded_6__abs abs@__lpython_overloaded_6__abs] [] [(= (Var 2 x) (RealConstant 5.500000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((Var 2 x))] (Real 8 []) () ()) Eq (RealConstant 5.500000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 2 x) (RealUnaryMinus (RealConstant 5.500000 (Real 8 [])) (Real 8 []) (RealConstant -5.500000 (Real 8 []))) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((Var 2 x))] (Real 8 []) () ()) Eq (RealConstant 5.500000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealConstant 5.500000 (Real 8 [])))] (Real 8 []) (RealConstant 5.500000 (Real 8 [])) ()) Eq (RealConstant 5.500000 (Real 8 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealUnaryMinus (RealConstant 5.500000 (Real 8 [])) (Real 8 []) (RealConstant -5.500000 (Real 8 []))))] (Real 8 []) (RealConstant 5.500000 (Real 8 [])) ()) Eq (RealConstant 5.500000 (Real 8 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 x2) (RealUnaryMinus (Cast (RealConstant 5.500000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 5.500000 (Real 4 []))) (Real 4 []) (RealConstant -5.500000 (Real 4 []))) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_1__abs 2 abs [((Var 2 x2))] (Real 4 []) () ()) Eq (Cast (RealConstant 5.500000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 5.500000 (Real 4 []))) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerUnaryMinus (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5 (Integer 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 abs@__lpython_overloaded_4__abs 2 abs [((Var 2 i))] (Integer 4 []) () ()) Eq (IntegerConstant 5 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 abs@__lpython_overloaded_4__abs 2 abs [((IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))))] (Integer 4 []) (IntegerConstant 1 (Integer 4 [])) ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 i2) (IntegerUnaryMinus (Cast (IntegerConstant 6 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 6 (Integer 8 []))) (Integer 8 []) (IntegerConstant -6 (Integer 8 []))) ()) (Assert (IntegerCompare (FunctionCall 2 abs@__lpython_overloaded_5__abs 2 abs [((Var 2 i2))] (Integer 8 []) () ()) Eq (Cast (IntegerConstant 6 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 6 (Integer 8 []))) (Logical 4 []) ()) ()) (= (Var 2 i3) (IntegerUnaryMinus (Cast (IntegerConstant 7 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 7 (Integer 1 []))) (Integer 1 []) (IntegerConstant -7 (Integer 1 []))) ()) (Assert (IntegerCompare (FunctionCall 2 abs@__lpython_overloaded_2__abs 2 abs [((Var 2 i3))] (Integer 1 []) () ()) Eq (Cast (IntegerConstant 7 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 7 (Integer 1 []))) (Logical 4 []) ()) ()) (= (Var 2 i4) (IntegerUnaryMinus (Cast (IntegerConstant 8 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 8 (Integer 2 []))) (Integer 2 []) (IntegerConstant -8 (Integer 2 []))) ()) (Assert (IntegerCompare (FunctionCall 2 abs@__lpython_overloaded_3__abs 2 abs [((Var 2 i4))] (Integer 2 []) () ()) Eq (Cast (IntegerConstant 8 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 8 (Integer 2 []))) (Logical 4 []) ()) ()) (= (Var 2 b) (LogicalConstant .true. (Logical 4 [])) ()) (Assert (IntegerCompare (FunctionCall 2 abs@__lpython_overloaded_6__abs 2 abs [((Var 2 b))] (Integer 4 []) () ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 b) (LogicalConstant .false. (Logical 4 [])) ()) (Assert (IntegerCompare (FunctionCall 2 abs@__lpython_overloaded_6__abs 2 abs [((Var 2 b))] (Integer 4 []) () ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 108 {_lpython_main_program: (ExternalSymbol 108 _lpython_main_program 110 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 108 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-test_builtin_bin-52ba9fa.json b/tests/reference/asr-test_builtin_bin-52ba9fa.json index 3f761d111a..55129cbae2 100644 --- a/tests/reference/asr-test_builtin_bin-52ba9fa.json +++ b/tests/reference/asr-test_builtin_bin-52ba9fa.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_builtin_bin-52ba9fa.stdout", - "stdout_hash": "47af6a090dc886fd94a43c8f03bc8e93940705a1b17c8fb9c59deee6", + "stdout_hash": "951b330538ade57bcd6d15f73b2de9c3bc88817c6bbecc715446c1d0", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_builtin_bin-52ba9fa.stdout b/tests/reference/asr-test_builtin_bin-52ba9fa.stdout index 55d635f334..4d50892b31 100644 --- a/tests/reference/asr-test_builtin_bin-52ba9fa.stdout +++ b/tests/reference/asr-test_builtin_bin-52ba9fa.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 109 {_lpython_main_program: (Function (SymbolTable 108 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_bin] [] [(SubroutineCall 109 test_bin () [] ())] () Public .false. .false.), test_bin: (Function (SymbolTable 2 {bin: (ExternalSymbol 2 bin 4 bin lpython_builtin [] bin Private), i: (Variable 2 i [] Local () () Default (Integer 4 []) Source Public Required .false.)}) test_bin (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [bin bin bin bin bin] [] [(= (Var 2 i) (IntegerConstant 5 (Integer 4 [])) ()) (Assert (StringCompare (FunctionCall 2 bin () [((Var 2 i))] (Character 1 -2 () []) () ()) Eq (StringConstant "0b101" (Character 1 5 () [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerConstant 64 (Integer 4 [])) ()) (Assert (StringCompare (FunctionCall 2 bin () [((Var 2 i))] (Character 1 -2 () []) () ()) Eq (StringConstant "0b1000000" (Character 1 9 () [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerUnaryMinus (IntegerConstant 534 (Integer 4 [])) (Integer 4 []) (IntegerConstant -534 (Integer 4 []))) ()) (Assert (StringCompare (FunctionCall 2 bin () [((Var 2 i))] (Character 1 -2 () []) () ()) Eq (StringConstant "-0b1000010110" (Character 1 13 () [])) (Logical 4 []) ()) ()) (Assert (StringCompare (FunctionCall 2 bin () [((IntegerConstant 64 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0b1000000" (Character 1 9 () [])) ()) Eq (StringConstant "0b1000000" (Character 1 9 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (StringCompare (FunctionCall 2 bin () [((IntegerUnaryMinus (IntegerConstant 534 (Integer 4 [])) (Integer 4 []) (IntegerConstant -534 (Integer 4 []))))] (Character 1 -2 () []) (StringConstant "-0b1000010110" (Character 1 13 () [])) ()) Eq (StringConstant "-0b1000010110" (Character 1 13 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 107 {_lpython_main_program: (ExternalSymbol 107 _lpython_main_program 109 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 107 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 110 {_lpython_main_program: (Function (SymbolTable 109 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_bin] [] [(SubroutineCall 110 test_bin () [] ())] () Public .false. .false.), test_bin: (Function (SymbolTable 2 {bin: (ExternalSymbol 2 bin 4 bin lpython_builtin [] bin Private), i: (Variable 2 i [] Local () () Default (Integer 4 []) Source Public Required .false.)}) test_bin (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [bin bin bin bin bin] [] [(= (Var 2 i) (IntegerConstant 5 (Integer 4 [])) ()) (Assert (StringCompare (FunctionCall 2 bin () [((Var 2 i))] (Character 1 -2 () []) () ()) Eq (StringConstant "0b101" (Character 1 5 () [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerConstant 64 (Integer 4 [])) ()) (Assert (StringCompare (FunctionCall 2 bin () [((Var 2 i))] (Character 1 -2 () []) () ()) Eq (StringConstant "0b1000000" (Character 1 9 () [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerUnaryMinus (IntegerConstant 534 (Integer 4 [])) (Integer 4 []) (IntegerConstant -534 (Integer 4 []))) ()) (Assert (StringCompare (FunctionCall 2 bin () [((Var 2 i))] (Character 1 -2 () []) () ()) Eq (StringConstant "-0b1000010110" (Character 1 13 () [])) (Logical 4 []) ()) ()) (Assert (StringCompare (FunctionCall 2 bin () [((IntegerConstant 64 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0b1000000" (Character 1 9 () [])) ()) Eq (StringConstant "0b1000000" (Character 1 9 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (StringCompare (FunctionCall 2 bin () [((IntegerUnaryMinus (IntegerConstant 534 (Integer 4 [])) (Integer 4 []) (IntegerConstant -534 (Integer 4 []))))] (Character 1 -2 () []) (StringConstant "-0b1000010110" (Character 1 13 () [])) ()) Eq (StringConstant "-0b1000010110" (Character 1 13 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 108 {_lpython_main_program: (ExternalSymbol 108 _lpython_main_program 110 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 108 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-test_builtin_bool-330223a.json b/tests/reference/asr-test_builtin_bool-330223a.json index 0faadce4b7..537f47a51e 100644 --- a/tests/reference/asr-test_builtin_bool-330223a.json +++ b/tests/reference/asr-test_builtin_bool-330223a.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_builtin_bool-330223a.stdout", - "stdout_hash": "6ad321ccaabd0c3ff540243717abeeb61087f7e797e2673dc08c9d65", + "stdout_hash": "2fb5f0d58b7d72821d609244fc0a217120bb34d6edf4f55ff11b659d", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_builtin_bool-330223a.stdout b/tests/reference/asr-test_builtin_bool-330223a.stdout index 8c7aa5b210..5733c92ad3 100644 --- a/tests/reference/asr-test_builtin_bool-330223a.stdout +++ b/tests/reference/asr-test_builtin_bool-330223a.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 109 {_lpython_main_program: (Function (SymbolTable 108 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_bool] [] [(SubroutineCall 109 test_bool () [] ())] () Public .false. .false.), test_bool: (Function (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Integer 4 []) Source Public Required .false.), a2: (Variable 2 a2 [] Local () () Default (Integer 8 []) Source Public Required .false.), a3: (Variable 2 a3 [] Local () () Default (Integer 1 []) Source Public Required .false.), a4: (Variable 2 a4 [] Local () () Default (Integer 2 []) Source Public Required .false.), b: (Variable 2 b [] Local () () Default (Logical 4 []) Source Public Required .false.), c: (Variable 2 c [] Local () () Default (Complex 4 []) Source Public Required .false.), c1: (Variable 2 c1 [] Local () () Default (Complex 8 []) Source Public Required .false.), complex: (ExternalSymbol 2 complex 4 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_13__complex: (ExternalSymbol 2 complex@__lpython_overloaded_13__complex 4 __lpython_overloaded_13__complex lpython_builtin [] __lpython_overloaded_13__complex Public), complex@__lpython_overloaded_9__complex: (ExternalSymbol 2 complex@__lpython_overloaded_9__complex 4 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public), f: (Variable 2 f [] Local () () Default (Real 8 []) Source Public Required .false.), f2: (Variable 2 f2 [] Local () () Default (Real 4 []) Source Public Required .false.), s: (Variable 2 s [] Local () () Default (Character 1 -2 () []) Source Public Required .false.)}) test_bool (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_9__complex complex@__lpython_overloaded_9__complex complex@__lpython_overloaded_13__complex complex@__lpython_overloaded_9__complex] [] [(= (Var 2 a) (IntegerConstant 34 (Integer 4 [])) ()) (Assert (Cast (Var 2 a) IntegerToLogical (Logical 4 []) ()) ()) (= (Var 2 a) (IntegerConstant 0 (Integer 4 [])) ()) (Assert (LogicalNot (Cast (Var 2 a) IntegerToLogical (Logical 4 []) ()) (Logical 4 []) ()) ()) (Assert (Cast (IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))) IntegerToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (LogicalNot (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a2) (Cast (IntegerConstant 34 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 34 (Integer 8 []))) ()) (Assert (Cast (Var 2 a2) IntegerToLogical (Logical 4 []) ()) ()) (= (Var 2 a3) (Cast (IntegerConstant 34 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 34 (Integer 1 []))) ()) (Assert (Cast (Var 2 a3) IntegerToLogical (Logical 4 []) ()) ()) (= (Var 2 a4) (IntegerUnaryMinus (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 1 (Integer 2 []))) (Integer 2 []) (IntegerConstant -1 (Integer 2 []))) ()) (Assert (Cast (Var 2 a4) IntegerToLogical (Logical 4 []) ()) ()) (= (Var 2 f) (RealConstant 0.000000 (Real 8 [])) ()) (Assert (LogicalNot (Cast (Var 2 f) RealToLogical (Logical 4 []) ()) (Logical 4 []) ()) ()) (= (Var 2 f) (RealConstant 1.000000 (Real 8 [])) ()) (Assert (Cast (Var 2 f) RealToLogical (Logical 4 []) ()) ()) (Assert (Cast (RealConstant 56.786866 (Real 8 [])) RealToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (LogicalNot (Cast (RealConstant 0.000000 (Real 8 [])) RealToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 f2) (RealUnaryMinus (Cast (RealConstant 235.600000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 235.600000 (Real 4 []))) (Real 4 []) (RealConstant -235.600000 (Real 4 []))) ()) (Assert (Cast (Var 2 f2) RealToLogical (Logical 4 []) ()) ()) (= (Var 2 f2) (Cast (RealConstant 0.000053 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000053 (Real 4 []))) ()) (Assert (Cast (Var 2 f2) RealToLogical (Logical 4 []) ()) ()) (= (Var 2 s) (StringConstant "" (Character 1 0 () [])) ()) (Assert (LogicalNot (Cast (Var 2 s) CharacterToLogical (Logical 4 []) ()) (Logical 4 []) ()) ()) (= (Var 2 s) (StringConstant "str" (Character 1 3 () [])) ()) (Assert (Cast (Var 2 s) CharacterToLogical (Logical 4 []) ()) ()) (Assert (LogicalNot (Cast (StringConstant "" (Character 1 0 () [])) CharacterToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (Cast (StringConstant "str" (Character 1 3 () [])) CharacterToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 b) (LogicalConstant .true. (Logical 4 [])) ()) (Assert (Var 2 b) ()) (= (Var 2 b) (LogicalConstant .false. (Logical 4 [])) ()) (Assert (LogicalNot (Var 2 b) (Logical 4 []) ()) ()) (Assert (LogicalConstant .true. (Logical 4 [])) ()) (Assert (LogicalNot (LogicalConstant .false. (Logical 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 c) (Cast (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 2 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 2.000000 3.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 2.000000 3.000000 (Complex 4 []))) ()) (Assert (Cast (Var 2 c) ComplexToLogical (Logical 4 []) ()) ()) (= (Var 2 c) (Cast (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 0 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 0.000000 0.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 0.000000 0.000000 (Complex 4 []))) ()) (Assert (LogicalNot (Cast (Var 2 c) ComplexToLogical (Logical 4 []) ()) (Logical 4 []) ()) ()) (Assert (LogicalNot (Cast (ComplexBinOp (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 0.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 0.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 0.000000 0.000000 (Complex 8 []))) ComplexToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 c1) (FunctionCall 2 complex@__lpython_overloaded_13__complex 2 complex [((IntegerConstant 0 (Integer 4 []))) ((RealConstant 0.100202 (Real 8 [])))] (Complex 8 []) (ComplexConstant 0.000000 0.100202 (Complex 8 [])) ()) ()) (Assert (Cast (Var 2 c1) ComplexToLogical (Logical 4 []) ()) ()) (Assert (LogicalNot (Cast (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 0 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 0.000000 0.000000 (Complex 8 [])) ()) ComplexToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (Cast (ComplexBinOp (Cast (IntegerConstant 3 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 3.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 5.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 3.000000 5.000000 (Complex 8 []))) ComplexToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 107 {_lpython_main_program: (ExternalSymbol 107 _lpython_main_program 109 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 107 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 110 {_lpython_main_program: (Function (SymbolTable 109 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_bool] [] [(SubroutineCall 110 test_bool () [] ())] () Public .false. .false.), test_bool: (Function (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Integer 4 []) Source Public Required .false.), a2: (Variable 2 a2 [] Local () () Default (Integer 8 []) Source Public Required .false.), a3: (Variable 2 a3 [] Local () () Default (Integer 1 []) Source Public Required .false.), a4: (Variable 2 a4 [] Local () () Default (Integer 2 []) Source Public Required .false.), b: (Variable 2 b [] Local () () Default (Logical 4 []) Source Public Required .false.), c: (Variable 2 c [] Local () () Default (Complex 4 []) Source Public Required .false.), c1: (Variable 2 c1 [] Local () () Default (Complex 8 []) Source Public Required .false.), complex: (ExternalSymbol 2 complex 4 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_13__complex: (ExternalSymbol 2 complex@__lpython_overloaded_13__complex 4 __lpython_overloaded_13__complex lpython_builtin [] __lpython_overloaded_13__complex Public), complex@__lpython_overloaded_9__complex: (ExternalSymbol 2 complex@__lpython_overloaded_9__complex 4 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public), f: (Variable 2 f [] Local () () Default (Real 8 []) Source Public Required .false.), f2: (Variable 2 f2 [] Local () () Default (Real 4 []) Source Public Required .false.), s: (Variable 2 s [] Local () () Default (Character 1 -2 () []) Source Public Required .false.)}) test_bool (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_9__complex complex@__lpython_overloaded_9__complex complex@__lpython_overloaded_13__complex complex@__lpython_overloaded_9__complex] [] [(= (Var 2 a) (IntegerConstant 34 (Integer 4 [])) ()) (Assert (Cast (Var 2 a) IntegerToLogical (Logical 4 []) ()) ()) (= (Var 2 a) (IntegerConstant 0 (Integer 4 [])) ()) (Assert (LogicalNot (Cast (Var 2 a) IntegerToLogical (Logical 4 []) ()) (Logical 4 []) ()) ()) (Assert (Cast (IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))) IntegerToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (LogicalNot (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a2) (Cast (IntegerConstant 34 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 34 (Integer 8 []))) ()) (Assert (Cast (Var 2 a2) IntegerToLogical (Logical 4 []) ()) ()) (= (Var 2 a3) (Cast (IntegerConstant 34 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 34 (Integer 1 []))) ()) (Assert (Cast (Var 2 a3) IntegerToLogical (Logical 4 []) ()) ()) (= (Var 2 a4) (IntegerUnaryMinus (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 2 []) (IntegerConstant 1 (Integer 2 []))) (Integer 2 []) (IntegerConstant -1 (Integer 2 []))) ()) (Assert (Cast (Var 2 a4) IntegerToLogical (Logical 4 []) ()) ()) (= (Var 2 f) (RealConstant 0.000000 (Real 8 [])) ()) (Assert (LogicalNot (Cast (Var 2 f) RealToLogical (Logical 4 []) ()) (Logical 4 []) ()) ()) (= (Var 2 f) (RealConstant 1.000000 (Real 8 [])) ()) (Assert (Cast (Var 2 f) RealToLogical (Logical 4 []) ()) ()) (Assert (Cast (RealConstant 56.786866 (Real 8 [])) RealToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (LogicalNot (Cast (RealConstant 0.000000 (Real 8 [])) RealToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 f2) (RealUnaryMinus (Cast (RealConstant 235.600000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 235.600000 (Real 4 []))) (Real 4 []) (RealConstant -235.600000 (Real 4 []))) ()) (Assert (Cast (Var 2 f2) RealToLogical (Logical 4 []) ()) ()) (= (Var 2 f2) (Cast (RealConstant 0.000053 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000053 (Real 4 []))) ()) (Assert (Cast (Var 2 f2) RealToLogical (Logical 4 []) ()) ()) (= (Var 2 s) (StringConstant "" (Character 1 0 () [])) ()) (Assert (LogicalNot (Cast (Var 2 s) CharacterToLogical (Logical 4 []) ()) (Logical 4 []) ()) ()) (= (Var 2 s) (StringConstant "str" (Character 1 3 () [])) ()) (Assert (Cast (Var 2 s) CharacterToLogical (Logical 4 []) ()) ()) (Assert (LogicalNot (Cast (StringConstant "" (Character 1 0 () [])) CharacterToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (Cast (StringConstant "str" (Character 1 3 () [])) CharacterToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 b) (LogicalConstant .true. (Logical 4 [])) ()) (Assert (Var 2 b) ()) (= (Var 2 b) (LogicalConstant .false. (Logical 4 [])) ()) (Assert (LogicalNot (Var 2 b) (Logical 4 []) ()) ()) (Assert (LogicalConstant .true. (Logical 4 [])) ()) (Assert (LogicalNot (LogicalConstant .false. (Logical 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 c) (Cast (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 2 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 2.000000 3.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 2.000000 3.000000 (Complex 4 []))) ()) (Assert (Cast (Var 2 c) ComplexToLogical (Logical 4 []) ()) ()) (= (Var 2 c) (Cast (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 0 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 0.000000 0.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 0.000000 0.000000 (Complex 4 []))) ()) (Assert (LogicalNot (Cast (Var 2 c) ComplexToLogical (Logical 4 []) ()) (Logical 4 []) ()) ()) (Assert (LogicalNot (Cast (ComplexBinOp (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 0.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 0.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 0.000000 0.000000 (Complex 8 []))) ComplexToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 c1) (FunctionCall 2 complex@__lpython_overloaded_13__complex 2 complex [((IntegerConstant 0 (Integer 4 []))) ((RealConstant 0.100202 (Real 8 [])))] (Complex 8 []) (ComplexConstant 0.000000 0.100202 (Complex 8 [])) ()) ()) (Assert (Cast (Var 2 c1) ComplexToLogical (Logical 4 []) ()) ()) (Assert (LogicalNot (Cast (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 0 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 0.000000 0.000000 (Complex 8 [])) ()) ComplexToLogical (Logical 4 []) (LogicalConstant .false. (Logical 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (Cast (ComplexBinOp (Cast (IntegerConstant 3 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 3.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 5.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 3.000000 5.000000 (Complex 8 []))) ComplexToLogical (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 108 {_lpython_main_program: (ExternalSymbol 108 _lpython_main_program 110 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 108 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-test_builtin_hex-64bd268.json b/tests/reference/asr-test_builtin_hex-64bd268.json index 265a9db5a2..2327defc42 100644 --- a/tests/reference/asr-test_builtin_hex-64bd268.json +++ b/tests/reference/asr-test_builtin_hex-64bd268.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_builtin_hex-64bd268.stdout", - "stdout_hash": "eed826bc1b230f4f16135669797895269b20ea61abbf8065b4aee478", + "stdout_hash": "18b6ab421505e7974ae159d4c28e3e6881a4467da72dc96940a1e607", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_builtin_hex-64bd268.stdout b/tests/reference/asr-test_builtin_hex-64bd268.stdout index 404e0e76df..306764e6e6 100644 --- a/tests/reference/asr-test_builtin_hex-64bd268.stdout +++ b/tests/reference/asr-test_builtin_hex-64bd268.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 109 {_lpython_main_program: (Function (SymbolTable 108 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_hex] [] [(SubroutineCall 109 test_hex () [] ())] () Public .false. .false.), test_hex: (Function (SymbolTable 2 {hex: (ExternalSymbol 2 hex 4 hex lpython_builtin [] hex Private), i: (Variable 2 i [] Local () () Default (Integer 4 []) Source Public Required .false.)}) test_hex (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [hex hex hex hex] [] [(= (Var 2 i) (IntegerConstant 34 (Integer 4 [])) ()) (Assert (StringCompare (FunctionCall 2 hex () [((Var 2 i))] (Character 1 -2 () []) () ()) Eq (StringConstant "0x22" (Character 1 4 () [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerUnaryMinus (IntegerConstant 4235 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4235 (Integer 4 []))) ()) (Assert (StringCompare (FunctionCall 2 hex () [((Var 2 i))] (Character 1 -2 () []) () ()) Eq (StringConstant "-0x108b" (Character 1 7 () [])) (Logical 4 []) ()) ()) (Assert (StringCompare (FunctionCall 2 hex () [((IntegerConstant 34 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0x22" (Character 1 4 () [])) ()) Eq (StringConstant "0x22" (Character 1 4 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (StringCompare (FunctionCall 2 hex () [((IntegerUnaryMinus (IntegerConstant 4235 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4235 (Integer 4 []))))] (Character 1 -2 () []) (StringConstant "-0x108b" (Character 1 7 () [])) ()) Eq (StringConstant "-0x108b" (Character 1 7 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 107 {_lpython_main_program: (ExternalSymbol 107 _lpython_main_program 109 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 107 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 110 {_lpython_main_program: (Function (SymbolTable 109 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_hex] [] [(SubroutineCall 110 test_hex () [] ())] () Public .false. .false.), test_hex: (Function (SymbolTable 2 {hex: (ExternalSymbol 2 hex 4 hex lpython_builtin [] hex Private), i: (Variable 2 i [] Local () () Default (Integer 4 []) Source Public Required .false.)}) test_hex (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [hex hex hex hex] [] [(= (Var 2 i) (IntegerConstant 34 (Integer 4 [])) ()) (Assert (StringCompare (FunctionCall 2 hex () [((Var 2 i))] (Character 1 -2 () []) () ()) Eq (StringConstant "0x22" (Character 1 4 () [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerUnaryMinus (IntegerConstant 4235 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4235 (Integer 4 []))) ()) (Assert (StringCompare (FunctionCall 2 hex () [((Var 2 i))] (Character 1 -2 () []) () ()) Eq (StringConstant "-0x108b" (Character 1 7 () [])) (Logical 4 []) ()) ()) (Assert (StringCompare (FunctionCall 2 hex () [((IntegerConstant 34 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0x22" (Character 1 4 () [])) ()) Eq (StringConstant "0x22" (Character 1 4 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (StringCompare (FunctionCall 2 hex () [((IntegerUnaryMinus (IntegerConstant 4235 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4235 (Integer 4 []))))] (Character 1 -2 () []) (StringConstant "-0x108b" (Character 1 7 () [])) ()) Eq (StringConstant "-0x108b" (Character 1 7 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 108 {_lpython_main_program: (ExternalSymbol 108 _lpython_main_program 110 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 108 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-test_builtin_oct-20b9066.json b/tests/reference/asr-test_builtin_oct-20b9066.json index 5c04e3ddf5..351d59efb9 100644 --- a/tests/reference/asr-test_builtin_oct-20b9066.json +++ b/tests/reference/asr-test_builtin_oct-20b9066.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_builtin_oct-20b9066.stdout", - "stdout_hash": "08aee4b3b7e27d3994b6eaa1d7ebcc953166ba434bb9359ae55f9a38", + "stdout_hash": "2dfb1ef6e0ee7110d49cf7900110a7545615f2f9361ae5c5d7585cb4", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_builtin_oct-20b9066.stdout b/tests/reference/asr-test_builtin_oct-20b9066.stdout index 8f4f09963f..42e65e02d6 100644 --- a/tests/reference/asr-test_builtin_oct-20b9066.stdout +++ b/tests/reference/asr-test_builtin_oct-20b9066.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 109 {_lpython_main_program: (Function (SymbolTable 108 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_oct] [] [(SubroutineCall 109 test_oct () [] ())] () Public .false. .false.), test_oct: (Function (SymbolTable 2 {i: (Variable 2 i [] Local () () Default (Integer 4 []) Source Public Required .false.), oct: (ExternalSymbol 2 oct 4 oct lpython_builtin [] oct Private)}) test_oct (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [oct oct oct oct] [] [(= (Var 2 i) (IntegerConstant 34 (Integer 4 [])) ()) (Assert (StringCompare (FunctionCall 2 oct () [((Var 2 i))] (Character 1 -2 () []) () ()) Eq (StringConstant "0o42" (Character 1 4 () [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerUnaryMinus (IntegerConstant 4235 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4235 (Integer 4 []))) ()) (Assert (StringCompare (FunctionCall 2 oct () [((Var 2 i))] (Character 1 -2 () []) () ()) Eq (StringConstant "-0o10213" (Character 1 8 () [])) (Logical 4 []) ()) ()) (Assert (StringCompare (FunctionCall 2 oct () [((IntegerConstant 34 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0o42" (Character 1 4 () [])) ()) Eq (StringConstant "0o42" (Character 1 4 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (StringCompare (FunctionCall 2 oct () [((IntegerUnaryMinus (IntegerConstant 4235 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4235 (Integer 4 []))))] (Character 1 -2 () []) (StringConstant "-0o10213" (Character 1 8 () [])) ()) Eq (StringConstant "-0o10213" (Character 1 8 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 107 {_lpython_main_program: (ExternalSymbol 107 _lpython_main_program 109 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 107 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 110 {_lpython_main_program: (Function (SymbolTable 109 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_oct] [] [(SubroutineCall 110 test_oct () [] ())] () Public .false. .false.), test_oct: (Function (SymbolTable 2 {i: (Variable 2 i [] Local () () Default (Integer 4 []) Source Public Required .false.), oct: (ExternalSymbol 2 oct 4 oct lpython_builtin [] oct Private)}) test_oct (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [oct oct oct oct] [] [(= (Var 2 i) (IntegerConstant 34 (Integer 4 [])) ()) (Assert (StringCompare (FunctionCall 2 oct () [((Var 2 i))] (Character 1 -2 () []) () ()) Eq (StringConstant "0o42" (Character 1 4 () [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerUnaryMinus (IntegerConstant 4235 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4235 (Integer 4 []))) ()) (Assert (StringCompare (FunctionCall 2 oct () [((Var 2 i))] (Character 1 -2 () []) () ()) Eq (StringConstant "-0o10213" (Character 1 8 () [])) (Logical 4 []) ()) ()) (Assert (StringCompare (FunctionCall 2 oct () [((IntegerConstant 34 (Integer 4 [])))] (Character 1 -2 () []) (StringConstant "0o42" (Character 1 4 () [])) ()) Eq (StringConstant "0o42" (Character 1 4 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (StringCompare (FunctionCall 2 oct () [((IntegerUnaryMinus (IntegerConstant 4235 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4235 (Integer 4 []))))] (Character 1 -2 () []) (StringConstant "-0o10213" (Character 1 8 () [])) ()) Eq (StringConstant "-0o10213" (Character 1 8 () [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 108 {_lpython_main_program: (ExternalSymbol 108 _lpython_main_program 110 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 108 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-test_builtin_pow-f02fcda.json b/tests/reference/asr-test_builtin_pow-f02fcda.json index f3314323e0..231344f8ce 100644 --- a/tests/reference/asr-test_builtin_pow-f02fcda.json +++ b/tests/reference/asr-test_builtin_pow-f02fcda.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_builtin_pow-f02fcda.stdout", - "stdout_hash": "4c8a9738736b1a08bde9bd0b6c3e39b9eeccef2b0f6233c3a74e19aa", + "stdout_hash": "26458620ae1e74af8150c2a95b1561e2b46680e46e2e4aa2e72867aa", "stderr": "asr-test_builtin_pow-f02fcda.stderr", "stderr_hash": "859ce76c74748f2d32c7eab92cfbba789a78d4cbf5818646b99806ea", "returncode": 0 diff --git a/tests/reference/asr-test_builtin_pow-f02fcda.stdout b/tests/reference/asr-test_builtin_pow-f02fcda.stdout index c80b6908d5..7b63d839dd 100644 --- a/tests/reference/asr-test_builtin_pow-f02fcda.stdout +++ b/tests/reference/asr-test_builtin_pow-f02fcda.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 109 {_lpython_main_program: (Function (SymbolTable 108 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_pow] [] [(SubroutineCall 109 test_pow () [] ())] () Public .false. .false.), test_pow: (Function (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Integer 4 []) Source Public Required .false.), a1: (Variable 2 a1 [] Local () () Default (Real 8 []) Source Public Required .false.), a2: (Variable 2 a2 [] Local () () Default (Real 8 []) Source Public Required .false.), abs: (ExternalSymbol 2 abs 4 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 2 abs@__lpython_overloaded_0__abs 4 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), b: (Variable 2 b [] Local () () Default (Integer 4 []) Source Public Required .false.), b1: (Variable 2 b1 [] Local () () Default (Logical 4 []) Source Public Required .false.), b2: (Variable 2 b2 [] Local () () Default (Logical 4 []) Source Public Required .false.), c1: (Variable 2 c1 [] Local () () Default (Complex 4 []) Source Public Required .false.), complex: (ExternalSymbol 2 complex 4 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_9__complex: (ExternalSymbol 2 complex@__lpython_overloaded_9__complex 4 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public), eps: (Variable 2 eps [] Local () () Default (Real 8 []) Source Public Required .false.), f1: (Variable 2 f1 [] Local () () Default (Real 4 []) Source Public Required .false.), f2: (Variable 2 f2 [] Local () () Default (Real 4 []) Source Public Required .false.), i: (Variable 2 i [] Local () () Default (Integer 8 []) Source Public Required .false.), i1: (Variable 2 i1 [] Local () () Default (Integer 8 []) Source Public Required .false.), i2: (Variable 2 i2 [] Local () () Default (Integer 8 []) Source Public Required .false.), j: (Variable 2 j [] Local () () Default (Integer 8 []) Source Public Required .false.), k: (Variable 2 k [] Local () () Default (Integer 8 []) Source Public Required .false.), p: (Variable 2 p [] Local () () Default (Real 4 []) Source Public Required .false.), pow: (ExternalSymbol 2 pow 4 pow lpython_builtin [] pow Private), pow@__lpython_overloaded_0__pow: (ExternalSymbol 2 pow@__lpython_overloaded_0__pow 4 __lpython_overloaded_0__pow lpython_builtin [] __lpython_overloaded_0__pow Public), pow@__lpython_overloaded_10__pow: (ExternalSymbol 2 pow@__lpython_overloaded_10__pow 4 __lpython_overloaded_10__pow lpython_builtin [] __lpython_overloaded_10__pow Public), pow@__lpython_overloaded_11__pow: (ExternalSymbol 2 pow@__lpython_overloaded_11__pow 4 __lpython_overloaded_11__pow lpython_builtin [] __lpython_overloaded_11__pow Public), pow@__lpython_overloaded_1__pow: (ExternalSymbol 2 pow@__lpython_overloaded_1__pow 4 __lpython_overloaded_1__pow lpython_builtin [] __lpython_overloaded_1__pow Public), pow@__lpython_overloaded_2__pow: (ExternalSymbol 2 pow@__lpython_overloaded_2__pow 4 __lpython_overloaded_2__pow lpython_builtin [] __lpython_overloaded_2__pow Public), pow@__lpython_overloaded_3__pow: (ExternalSymbol 2 pow@__lpython_overloaded_3__pow 4 __lpython_overloaded_3__pow lpython_builtin [] __lpython_overloaded_3__pow Public), pow@__lpython_overloaded_4__pow: (ExternalSymbol 2 pow@__lpython_overloaded_4__pow 4 __lpython_overloaded_4__pow lpython_builtin [] __lpython_overloaded_4__pow Public), pow@__lpython_overloaded_5__pow: (ExternalSymbol 2 pow@__lpython_overloaded_5__pow 4 __lpython_overloaded_5__pow lpython_builtin [] __lpython_overloaded_5__pow Public), pow@__lpython_overloaded_6__pow: (ExternalSymbol 2 pow@__lpython_overloaded_6__pow 4 __lpython_overloaded_6__pow lpython_builtin [] __lpython_overloaded_6__pow Public), pow@__lpython_overloaded_7__pow: (ExternalSymbol 2 pow@__lpython_overloaded_7__pow 4 __lpython_overloaded_7__pow lpython_builtin [] __lpython_overloaded_7__pow Public), pow@__lpython_overloaded_8__pow: (ExternalSymbol 2 pow@__lpython_overloaded_8__pow 4 __lpython_overloaded_8__pow lpython_builtin [] __lpython_overloaded_8__pow Public), pow@__lpython_overloaded_9__pow: (ExternalSymbol 2 pow@__lpython_overloaded_9__pow 4 __lpython_overloaded_9__pow lpython_builtin [] __lpython_overloaded_9__pow Public), x: (Variable 2 x [] Local () () Default (Integer 4 []) Source Public Required .false.), y: (Variable 2 y [] Local () () Default (Real 8 []) Source Public Required .false.)}) test_pow (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [pow@__lpython_overloaded_0__pow pow@__lpython_overloaded_0__pow pow@__lpython_overloaded_0__pow pow@__lpython_overloaded_1__pow pow@__lpython_overloaded_2__pow pow@__lpython_overloaded_4__pow pow@__lpython_overloaded_5__pow pow@__lpython_overloaded_8__pow pow@__lpython_overloaded_8__pow pow@__lpython_overloaded_8__pow pow@__lpython_overloaded_8__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_3__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_3__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_6__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_7__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_6__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_1__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_1__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_1__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_1__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_3__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_3__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_3__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_6__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_6__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_7__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_7__pow pow@__lpython_overloaded_0__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_7__pow pow@__lpython_overloaded_11__pow pow@__lpython_overloaded_10__pow complex@__lpython_overloaded_9__complex pow@__lpython_overloaded_9__pow] [] [(= (Var 2 eps) (RealConstant 0.000000 (Real 8 [])) ()) (= (Var 2 a) (IntegerConstant 2 (Integer 4 [])) ()) (= (Var 2 b) (IntegerConstant 5 (Integer 4 [])) ()) (Assert (IntegerCompare (Cast (FunctionCall 2 pow@__lpython_overloaded_0__pow 2 pow [((Var 2 a)) ((Var 2 b))] (Real 8 []) () ()) RealToInteger (Integer 4 []) ()) Eq (IntegerConstant 32 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 a) (IntegerConstant 6 (Integer 4 [])) ()) (= (Var 2 b) (IntegerConstant 3 (Integer 4 [])) ()) (Assert (IntegerCompare (Cast (FunctionCall 2 pow@__lpython_overloaded_0__pow 2 pow [((Var 2 a)) ((Var 2 b))] (Real 8 []) () ()) RealToInteger (Integer 4 []) ()) Eq (IntegerConstant 216 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 a) (IntegerConstant 2 (Integer 4 [])) ()) (= (Var 2 b) (IntegerConstant 0 (Integer 4 [])) ()) (Assert (IntegerCompare (Cast (FunctionCall 2 pow@__lpython_overloaded_0__pow 2 pow [((Var 2 a)) ((Var 2 b))] (Real 8 []) () ()) RealToInteger (Integer 4 []) ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 a) (IntegerConstant 2 (Integer 4 [])) ()) (= (Var 2 b) (IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))) ()) (= (Var 2 a) (IntegerConstant 6 (Integer 4 [])) ()) (= (Var 2 b) (IntegerUnaryMinus (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4 (Integer 4 []))) ()) (= (Var 2 i1) (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 2 (Integer 8 []))) ()) (= (Var 2 i2) (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 5 (Integer 8 []))) ()) (Assert (IntegerCompare (Cast (FunctionCall 2 pow@__lpython_overloaded_1__pow 2 pow [((Var 2 i1)) ((Var 2 i2))] (Real 8 []) () ()) RealToInteger (Integer 8 []) ()) Eq (Cast (IntegerConstant 32 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 32 (Integer 8 []))) (Logical 4 []) ()) ()) (= (Var 2 i1) (Cast (IntegerConstant 6 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 6 (Integer 8 []))) ()) (= (Var 2 i2) (IntegerUnaryMinus (Cast (IntegerConstant 3 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 3 (Integer 8 []))) (Integer 8 []) (IntegerConstant -3 (Integer 8 []))) ()) (= (Var 2 f1) (Cast (RealBinOp (Cast (IntegerConstant 525346 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 525346.000000 (Real 8 []))) Div (Cast (IntegerConstant 66456 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 66456.000000 (Real 8 []))) (Real 8 []) (RealConstant 7.905170 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 7.905170 (Real 4 []))) ()) (= (Var 2 f2) (Cast (RealConstant 3.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.000000 (Real 4 []))) ()) (= (Var 2 p) (FunctionCall 2 pow@__lpython_overloaded_2__pow 2 pow [((Var 2 f1)) ((Var 2 f2))] (Real 4 []) () ()) ()) (= (Var 2 f1) (FunctionCall 2 pow@__lpython_overloaded_4__pow 2 pow [((Var 2 a)) ((Var 2 f2))] (Real 4 []) () ()) ()) (= (Var 2 f1) (FunctionCall 2 pow@__lpython_overloaded_5__pow 2 pow [((Var 2 f2)) ((Var 2 a))] (Real 4 []) () ()) ()) (= (Var 2 b1) (LogicalConstant .true. (Logical 4 [])) ()) (= (Var 2 b2) (LogicalConstant .false. (Logical 4 [])) ()) (Assert (IntegerCompare (FunctionCall 2 pow@__lpython_overloaded_8__pow 2 pow [((Var 2 b1)) ((Var 2 b2))] (Integer 4 []) () ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 pow@__lpython_overloaded_8__pow 2 pow [((Var 2 b2)) ((Var 2 b1))] (Integer 4 []) () ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 pow@__lpython_overloaded_8__pow 2 pow [((Var 2 b1)) ((Var 2 b2))] (Integer 4 []) () ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 pow@__lpython_overloaded_8__pow 2 pow [((LogicalConstant .false. (Logical 4 []))) ((LogicalConstant .false. (Logical 4 [])))] (Integer 4 []) (IntegerConstant 1 (Integer 4 [])) ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a1) (RealConstant 4.500000 (Real 8 [])) ()) (= (Var 2 a2) (RealConstant 2.300000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_3__pow 2 pow [((Var 2 a1)) ((Var 2 a2))] (Real 8 []) () ()) Sub (RealConstant 31.797193 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_3__pow 2 pow [((Var 2 a2)) ((Var 2 a1))] (Real 8 []) () ()) Sub (RealConstant 42.439989 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (= (Var 2 x) (IntegerConstant 3 (Integer 4 [])) ()) (= (Var 2 y) (RealConstant 2.300000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_6__pow 2 pow [((Var 2 x)) ((Var 2 y))] (Real 8 []) () ()) Sub (RealConstant 12.513503 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_7__pow 2 pow [((Var 2 y)) ((Var 2 x))] (Real 8 []) () ()) Sub (RealConstant 12.167000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_6__pow 2 pow [((Var 2 x)) ((RealConstant 5.500000 (Real 8 [])))] (Real 8 []) () ()) Sub (RealConstant 420.888346 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_1__pow 2 pow [((Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 2 (Integer 8 [])))) ((IntegerUnaryMinus (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) (IntegerConstant -1 (Integer 8 []))))] (Real 8 []) (RealConstant 0.500000 (Real 8 [])) ()) Sub (RealConstant 0.500000 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_1__pow 2 pow [((Cast (IntegerConstant 6 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 6 (Integer 8 [])))) ((IntegerUnaryMinus (Cast (IntegerConstant 4 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 4 (Integer 8 []))) (Integer 8 []) (IntegerConstant -4 (Integer 8 []))))] (Real 8 []) (RealConstant 0.000772 (Real 8 [])) ()) Sub (RealConstant 0.000772 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_1__pow 2 pow [((IntegerUnaryMinus (Cast (IntegerConstant 3 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 3 (Integer 8 []))) (Integer 8 []) (IntegerConstant -3 (Integer 8 [])))) ((IntegerUnaryMinus (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 5 (Integer 8 []))) (Integer 8 []) (IntegerConstant -5 (Integer 8 []))))] (Real 8 []) (RealConstant -0.004115 (Real 8 [])) ()) Add (RealConstant 0.004115 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_1__pow 2 pow [((Cast (IntegerConstant 6 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 6 (Integer 8 [])))) ((IntegerUnaryMinus (Cast (IntegerConstant 4 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 4 (Integer 8 []))) (Integer 8 []) (IntegerConstant -4 (Integer 8 []))))] (Real 8 []) (RealConstant 0.000772 (Real 8 [])) ()) Sub (RealConstant 0.000772 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_3__pow 2 pow [((RealConstant 4.500000 (Real 8 []))) ((RealConstant 2.300000 (Real 8 [])))] (Real 8 []) (RealConstant 31.797193 (Real 8 [])) ()) Sub (RealConstant 31.797193 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_3__pow 2 pow [((RealConstant 2.300000 (Real 8 []))) ((RealConstant 0.000000 (Real 8 [])))] (Real 8 []) (RealConstant 1.000000 (Real 8 [])) ()) Sub (RealConstant 1.000000 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_3__pow 2 pow [((RealConstant 2.300000 (Real 8 []))) ((RealUnaryMinus (RealConstant 1.500000 (Real 8 [])) (Real 8 []) (RealConstant -1.500000 (Real 8 []))))] (Real 8 []) (RealConstant 0.286687 (Real 8 [])) ()) Sub (RealConstant 0.286687 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_6__pow 2 pow [((IntegerConstant 2 (Integer 4 []))) ((RealConstant 3.400000 (Real 8 [])))] (Real 8 []) (RealConstant 10.556063 (Real 8 [])) ()) Sub (RealConstant 10.556063 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_6__pow 2 pow [((IntegerConstant 2 (Integer 4 []))) ((RealUnaryMinus (RealConstant 3.400000 (Real 8 [])) (Real 8 []) (RealConstant -3.400000 (Real 8 []))))] (Real 8 []) (RealConstant 0.094732 (Real 8 [])) ()) Sub (RealConstant 0.094732 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_7__pow 2 pow [((RealConstant 3.400000 (Real 8 []))) ((IntegerConstant 9 (Integer 4 [])))] (Real 8 []) (RealConstant 60716.992766 (Real 8 [])) ()) Sub (RealConstant 60716.992766 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_7__pow 2 pow [((RealConstant 0.000000 (Real 8 []))) ((IntegerConstant 53 (Integer 4 [])))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Sub (RealConstant 0.000000 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (IntegerCompare (Cast (FunctionCall 2 pow@__lpython_overloaded_0__pow 2 pow [((IntegerConstant 4 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 [])))] (Real 8 []) (RealConstant 16.000000 (Real 8 [])) ()) RealToInteger (Integer 4 []) (IntegerConstant 16 (Integer 4 []))) Eq (IntegerConstant 16 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_7__pow 2 pow [((RealUnaryMinus (RealConstant 4235.000000 (Real 8 [])) (Real 8 []) (RealConstant -4235.000000 (Real 8 [])))) ((IntegerConstant 52 (Integer 4 [])))] (Real 8 []) (RealConstant 394800380598526378720936476336799774273305305904443955996320177992404102454228192853661558132283280490733920647962082901303487965679010854404517306573035287122910924343151116372519789002752.000000 (Real 8 [])) ()) Sub (RealConstant 394800380598526378720936476336799774273305305904443955996320177992404102454228192853661558132283280490733920647962082901303487965679010854404517306573035287122910924343151116372519789002752.000000 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (= (Var 2 i) (Cast (IntegerConstant 7 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 7 (Integer 8 []))) ()) (= (Var 2 j) (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 2 (Integer 8 []))) ()) (= (Var 2 k) (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 5 (Integer 8 []))) ()) (Assert (IntegerCompare (FunctionCall 2 pow@__lpython_overloaded_11__pow 2 pow [((Var 2 i)) ((Var 2 j)) ((Var 2 k))] (Integer 8 []) () ()) Eq (Cast (IntegerConstant 4 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 4 (Integer 8 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 pow@__lpython_overloaded_10__pow 2 pow [((IntegerConstant 102 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 121 (Integer 4 [])))] (Integer 4 []) (RealConstant 38.000000 (Real 8 [])) ()) Eq (IntegerConstant 38 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 c1) (Cast (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 4 (Integer 4 []))) ((IntegerConstant 5 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 4.000000 5.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 4.000000 5.000000 (Complex 4 []))) ()) (= (Var 2 c1) (FunctionCall 2 pow@__lpython_overloaded_9__pow 2 pow [((Var 2 c1)) ((IntegerConstant 4 (Integer 4 [])))] (Complex 4 []) () ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 107 {_lpython_main_program: (ExternalSymbol 107 _lpython_main_program 109 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 107 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 110 {_lpython_main_program: (Function (SymbolTable 109 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_pow] [] [(SubroutineCall 110 test_pow () [] ())] () Public .false. .false.), test_pow: (Function (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Integer 4 []) Source Public Required .false.), a1: (Variable 2 a1 [] Local () () Default (Real 8 []) Source Public Required .false.), a2: (Variable 2 a2 [] Local () () Default (Real 8 []) Source Public Required .false.), abs: (ExternalSymbol 2 abs 4 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 2 abs@__lpython_overloaded_0__abs 4 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), b: (Variable 2 b [] Local () () Default (Integer 4 []) Source Public Required .false.), b1: (Variable 2 b1 [] Local () () Default (Logical 4 []) Source Public Required .false.), b2: (Variable 2 b2 [] Local () () Default (Logical 4 []) Source Public Required .false.), c1: (Variable 2 c1 [] Local () () Default (Complex 4 []) Source Public Required .false.), complex: (ExternalSymbol 2 complex 4 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_9__complex: (ExternalSymbol 2 complex@__lpython_overloaded_9__complex 4 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public), eps: (Variable 2 eps [] Local () () Default (Real 8 []) Source Public Required .false.), f1: (Variable 2 f1 [] Local () () Default (Real 4 []) Source Public Required .false.), f2: (Variable 2 f2 [] Local () () Default (Real 4 []) Source Public Required .false.), i: (Variable 2 i [] Local () () Default (Integer 8 []) Source Public Required .false.), i1: (Variable 2 i1 [] Local () () Default (Integer 8 []) Source Public Required .false.), i2: (Variable 2 i2 [] Local () () Default (Integer 8 []) Source Public Required .false.), j: (Variable 2 j [] Local () () Default (Integer 8 []) Source Public Required .false.), k: (Variable 2 k [] Local () () Default (Integer 8 []) Source Public Required .false.), p: (Variable 2 p [] Local () () Default (Real 4 []) Source Public Required .false.), pow: (ExternalSymbol 2 pow 4 pow lpython_builtin [] pow Private), pow@__lpython_overloaded_0__pow: (ExternalSymbol 2 pow@__lpython_overloaded_0__pow 4 __lpython_overloaded_0__pow lpython_builtin [] __lpython_overloaded_0__pow Public), pow@__lpython_overloaded_10__pow: (ExternalSymbol 2 pow@__lpython_overloaded_10__pow 4 __lpython_overloaded_10__pow lpython_builtin [] __lpython_overloaded_10__pow Public), pow@__lpython_overloaded_11__pow: (ExternalSymbol 2 pow@__lpython_overloaded_11__pow 4 __lpython_overloaded_11__pow lpython_builtin [] __lpython_overloaded_11__pow Public), pow@__lpython_overloaded_1__pow: (ExternalSymbol 2 pow@__lpython_overloaded_1__pow 4 __lpython_overloaded_1__pow lpython_builtin [] __lpython_overloaded_1__pow Public), pow@__lpython_overloaded_2__pow: (ExternalSymbol 2 pow@__lpython_overloaded_2__pow 4 __lpython_overloaded_2__pow lpython_builtin [] __lpython_overloaded_2__pow Public), pow@__lpython_overloaded_3__pow: (ExternalSymbol 2 pow@__lpython_overloaded_3__pow 4 __lpython_overloaded_3__pow lpython_builtin [] __lpython_overloaded_3__pow Public), pow@__lpython_overloaded_4__pow: (ExternalSymbol 2 pow@__lpython_overloaded_4__pow 4 __lpython_overloaded_4__pow lpython_builtin [] __lpython_overloaded_4__pow Public), pow@__lpython_overloaded_5__pow: (ExternalSymbol 2 pow@__lpython_overloaded_5__pow 4 __lpython_overloaded_5__pow lpython_builtin [] __lpython_overloaded_5__pow Public), pow@__lpython_overloaded_6__pow: (ExternalSymbol 2 pow@__lpython_overloaded_6__pow 4 __lpython_overloaded_6__pow lpython_builtin [] __lpython_overloaded_6__pow Public), pow@__lpython_overloaded_7__pow: (ExternalSymbol 2 pow@__lpython_overloaded_7__pow 4 __lpython_overloaded_7__pow lpython_builtin [] __lpython_overloaded_7__pow Public), pow@__lpython_overloaded_8__pow: (ExternalSymbol 2 pow@__lpython_overloaded_8__pow 4 __lpython_overloaded_8__pow lpython_builtin [] __lpython_overloaded_8__pow Public), pow@__lpython_overloaded_9__pow: (ExternalSymbol 2 pow@__lpython_overloaded_9__pow 4 __lpython_overloaded_9__pow lpython_builtin [] __lpython_overloaded_9__pow Public), x: (Variable 2 x [] Local () () Default (Integer 4 []) Source Public Required .false.), y: (Variable 2 y [] Local () () Default (Real 8 []) Source Public Required .false.)}) test_pow (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [pow@__lpython_overloaded_0__pow pow@__lpython_overloaded_0__pow pow@__lpython_overloaded_0__pow pow@__lpython_overloaded_1__pow pow@__lpython_overloaded_2__pow pow@__lpython_overloaded_4__pow pow@__lpython_overloaded_5__pow pow@__lpython_overloaded_8__pow pow@__lpython_overloaded_8__pow pow@__lpython_overloaded_8__pow pow@__lpython_overloaded_8__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_3__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_3__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_6__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_7__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_6__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_1__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_1__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_1__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_1__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_3__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_3__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_3__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_6__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_6__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_7__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_7__pow pow@__lpython_overloaded_0__pow abs@__lpython_overloaded_0__abs pow@__lpython_overloaded_7__pow pow@__lpython_overloaded_11__pow pow@__lpython_overloaded_10__pow complex@__lpython_overloaded_9__complex pow@__lpython_overloaded_9__pow] [] [(= (Var 2 eps) (RealConstant 0.000000 (Real 8 [])) ()) (= (Var 2 a) (IntegerConstant 2 (Integer 4 [])) ()) (= (Var 2 b) (IntegerConstant 5 (Integer 4 [])) ()) (Assert (IntegerCompare (Cast (FunctionCall 2 pow@__lpython_overloaded_0__pow 2 pow [((Var 2 a)) ((Var 2 b))] (Real 8 []) () ()) RealToInteger (Integer 4 []) ()) Eq (IntegerConstant 32 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 a) (IntegerConstant 6 (Integer 4 [])) ()) (= (Var 2 b) (IntegerConstant 3 (Integer 4 [])) ()) (Assert (IntegerCompare (Cast (FunctionCall 2 pow@__lpython_overloaded_0__pow 2 pow [((Var 2 a)) ((Var 2 b))] (Real 8 []) () ()) RealToInteger (Integer 4 []) ()) Eq (IntegerConstant 216 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 a) (IntegerConstant 2 (Integer 4 [])) ()) (= (Var 2 b) (IntegerConstant 0 (Integer 4 [])) ()) (Assert (IntegerCompare (Cast (FunctionCall 2 pow@__lpython_overloaded_0__pow 2 pow [((Var 2 a)) ((Var 2 b))] (Real 8 []) () ()) RealToInteger (Integer 4 []) ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 a) (IntegerConstant 2 (Integer 4 [])) ()) (= (Var 2 b) (IntegerUnaryMinus (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant -1 (Integer 4 []))) ()) (= (Var 2 a) (IntegerConstant 6 (Integer 4 [])) ()) (= (Var 2 b) (IntegerUnaryMinus (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4 (Integer 4 []))) ()) (= (Var 2 i1) (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 2 (Integer 8 []))) ()) (= (Var 2 i2) (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 5 (Integer 8 []))) ()) (Assert (IntegerCompare (Cast (FunctionCall 2 pow@__lpython_overloaded_1__pow 2 pow [((Var 2 i1)) ((Var 2 i2))] (Real 8 []) () ()) RealToInteger (Integer 8 []) ()) Eq (Cast (IntegerConstant 32 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 32 (Integer 8 []))) (Logical 4 []) ()) ()) (= (Var 2 i1) (Cast (IntegerConstant 6 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 6 (Integer 8 []))) ()) (= (Var 2 i2) (IntegerUnaryMinus (Cast (IntegerConstant 3 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 3 (Integer 8 []))) (Integer 8 []) (IntegerConstant -3 (Integer 8 []))) ()) (= (Var 2 f1) (Cast (RealBinOp (Cast (IntegerConstant 525346 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 525346.000000 (Real 8 []))) Div (Cast (IntegerConstant 66456 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 66456.000000 (Real 8 []))) (Real 8 []) (RealConstant 7.905170 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 7.905170 (Real 4 []))) ()) (= (Var 2 f2) (Cast (RealConstant 3.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.000000 (Real 4 []))) ()) (= (Var 2 p) (FunctionCall 2 pow@__lpython_overloaded_2__pow 2 pow [((Var 2 f1)) ((Var 2 f2))] (Real 4 []) () ()) ()) (= (Var 2 f1) (FunctionCall 2 pow@__lpython_overloaded_4__pow 2 pow [((Var 2 a)) ((Var 2 f2))] (Real 4 []) () ()) ()) (= (Var 2 f1) (FunctionCall 2 pow@__lpython_overloaded_5__pow 2 pow [((Var 2 f2)) ((Var 2 a))] (Real 4 []) () ()) ()) (= (Var 2 b1) (LogicalConstant .true. (Logical 4 [])) ()) (= (Var 2 b2) (LogicalConstant .false. (Logical 4 [])) ()) (Assert (IntegerCompare (FunctionCall 2 pow@__lpython_overloaded_8__pow 2 pow [((Var 2 b1)) ((Var 2 b2))] (Integer 4 []) () ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 pow@__lpython_overloaded_8__pow 2 pow [((Var 2 b2)) ((Var 2 b1))] (Integer 4 []) () ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 pow@__lpython_overloaded_8__pow 2 pow [((Var 2 b1)) ((Var 2 b2))] (Integer 4 []) () ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 pow@__lpython_overloaded_8__pow 2 pow [((LogicalConstant .false. (Logical 4 []))) ((LogicalConstant .false. (Logical 4 [])))] (Integer 4 []) (IntegerConstant 1 (Integer 4 [])) ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 a1) (RealConstant 4.500000 (Real 8 [])) ()) (= (Var 2 a2) (RealConstant 2.300000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_3__pow 2 pow [((Var 2 a1)) ((Var 2 a2))] (Real 8 []) () ()) Sub (RealConstant 31.797193 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_3__pow 2 pow [((Var 2 a2)) ((Var 2 a1))] (Real 8 []) () ()) Sub (RealConstant 42.439989 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (= (Var 2 x) (IntegerConstant 3 (Integer 4 [])) ()) (= (Var 2 y) (RealConstant 2.300000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_6__pow 2 pow [((Var 2 x)) ((Var 2 y))] (Real 8 []) () ()) Sub (RealConstant 12.513503 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_7__pow 2 pow [((Var 2 y)) ((Var 2 x))] (Real 8 []) () ()) Sub (RealConstant 12.167000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_6__pow 2 pow [((Var 2 x)) ((RealConstant 5.500000 (Real 8 [])))] (Real 8 []) () ()) Sub (RealConstant 420.888346 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_1__pow 2 pow [((Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 2 (Integer 8 [])))) ((IntegerUnaryMinus (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) (IntegerConstant -1 (Integer 8 []))))] (Real 8 []) (RealConstant 0.500000 (Real 8 [])) ()) Sub (RealConstant 0.500000 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_1__pow 2 pow [((Cast (IntegerConstant 6 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 6 (Integer 8 [])))) ((IntegerUnaryMinus (Cast (IntegerConstant 4 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 4 (Integer 8 []))) (Integer 8 []) (IntegerConstant -4 (Integer 8 []))))] (Real 8 []) (RealConstant 0.000772 (Real 8 [])) ()) Sub (RealConstant 0.000772 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_1__pow 2 pow [((IntegerUnaryMinus (Cast (IntegerConstant 3 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 3 (Integer 8 []))) (Integer 8 []) (IntegerConstant -3 (Integer 8 [])))) ((IntegerUnaryMinus (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 5 (Integer 8 []))) (Integer 8 []) (IntegerConstant -5 (Integer 8 []))))] (Real 8 []) (RealConstant -0.004115 (Real 8 [])) ()) Add (RealConstant 0.004115 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_1__pow 2 pow [((Cast (IntegerConstant 6 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 6 (Integer 8 [])))) ((IntegerUnaryMinus (Cast (IntegerConstant 4 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 4 (Integer 8 []))) (Integer 8 []) (IntegerConstant -4 (Integer 8 []))))] (Real 8 []) (RealConstant 0.000772 (Real 8 [])) ()) Sub (RealConstant 0.000772 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_3__pow 2 pow [((RealConstant 4.500000 (Real 8 []))) ((RealConstant 2.300000 (Real 8 [])))] (Real 8 []) (RealConstant 31.797193 (Real 8 [])) ()) Sub (RealConstant 31.797193 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_3__pow 2 pow [((RealConstant 2.300000 (Real 8 []))) ((RealConstant 0.000000 (Real 8 [])))] (Real 8 []) (RealConstant 1.000000 (Real 8 [])) ()) Sub (RealConstant 1.000000 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_3__pow 2 pow [((RealConstant 2.300000 (Real 8 []))) ((RealUnaryMinus (RealConstant 1.500000 (Real 8 [])) (Real 8 []) (RealConstant -1.500000 (Real 8 []))))] (Real 8 []) (RealConstant 0.286687 (Real 8 [])) ()) Sub (RealConstant 0.286687 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_6__pow 2 pow [((IntegerConstant 2 (Integer 4 []))) ((RealConstant 3.400000 (Real 8 [])))] (Real 8 []) (RealConstant 10.556063 (Real 8 [])) ()) Sub (RealConstant 10.556063 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_6__pow 2 pow [((IntegerConstant 2 (Integer 4 []))) ((RealUnaryMinus (RealConstant 3.400000 (Real 8 [])) (Real 8 []) (RealConstant -3.400000 (Real 8 []))))] (Real 8 []) (RealConstant 0.094732 (Real 8 [])) ()) Sub (RealConstant 0.094732 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_7__pow 2 pow [((RealConstant 3.400000 (Real 8 []))) ((IntegerConstant 9 (Integer 4 [])))] (Real 8 []) (RealConstant 60716.992766 (Real 8 [])) ()) Sub (RealConstant 60716.992766 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_7__pow 2 pow [((RealConstant 0.000000 (Real 8 []))) ((IntegerConstant 53 (Integer 4 [])))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Sub (RealConstant 0.000000 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (Assert (IntegerCompare (Cast (FunctionCall 2 pow@__lpython_overloaded_0__pow 2 pow [((IntegerConstant 4 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 [])))] (Real 8 []) (RealConstant 16.000000 (Real 8 [])) ()) RealToInteger (Integer 4 []) (IntegerConstant 16 (Integer 4 []))) Eq (IntegerConstant 16 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 pow@__lpython_overloaded_7__pow 2 pow [((RealUnaryMinus (RealConstant 4235.000000 (Real 8 [])) (Real 8 []) (RealConstant -4235.000000 (Real 8 [])))) ((IntegerConstant 52 (Integer 4 [])))] (Real 8 []) (RealConstant 394800380598526378720936476336799774273305305904443955996320177992404102454228192853661558132283280490733920647962082901303487965679010854404517306573035287122910924343151116372519789002752.000000 (Real 8 [])) ()) Sub (RealConstant 394800380598526378720936476336799774273305305904443955996320177992404102454228192853661558132283280490733920647962082901303487965679010854404517306573035287122910924343151116372519789002752.000000 (Real 8 [])) (Real 8 []) (RealConstant 0.000000 (Real 8 []))))] (Real 8 []) (RealConstant 0.000000 (Real 8 [])) ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (= (Var 2 i) (Cast (IntegerConstant 7 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 7 (Integer 8 []))) ()) (= (Var 2 j) (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 2 (Integer 8 []))) ()) (= (Var 2 k) (Cast (IntegerConstant 5 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 5 (Integer 8 []))) ()) (Assert (IntegerCompare (FunctionCall 2 pow@__lpython_overloaded_11__pow 2 pow [((Var 2 i)) ((Var 2 j)) ((Var 2 k))] (Integer 8 []) () ()) Eq (Cast (IntegerConstant 4 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 4 (Integer 8 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 pow@__lpython_overloaded_10__pow 2 pow [((IntegerConstant 102 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 121 (Integer 4 [])))] (Integer 4 []) (RealConstant 38.000000 (Real 8 [])) ()) Eq (IntegerConstant 38 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 c1) (Cast (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 4 (Integer 4 []))) ((IntegerConstant 5 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 4.000000 5.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 4.000000 5.000000 (Complex 4 []))) ()) (= (Var 2 c1) (FunctionCall 2 pow@__lpython_overloaded_9__pow 2 pow [((Var 2 c1)) ((IntegerConstant 4 (Integer 4 [])))] (Complex 4 []) () ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 108 {_lpython_main_program: (ExternalSymbol 108 _lpython_main_program 110 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 108 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-test_builtin_round-7417a21.json b/tests/reference/asr-test_builtin_round-7417a21.json index 2af63d9180..933bf7676e 100644 --- a/tests/reference/asr-test_builtin_round-7417a21.json +++ b/tests/reference/asr-test_builtin_round-7417a21.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_builtin_round-7417a21.stdout", - "stdout_hash": "bd3aa55cde8779a89167e64703ebb0d0b1f6941bf2720820008143c5", + "stdout_hash": "5294347103ed508a5f8580c332a7d12ffc89833eb54e906b87dd7a6b", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_builtin_round-7417a21.stdout b/tests/reference/asr-test_builtin_round-7417a21.stdout index e2af9d6b1d..c584ea9577 100644 --- a/tests/reference/asr-test_builtin_round-7417a21.stdout +++ b/tests/reference/asr-test_builtin_round-7417a21.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 109 {_lpython_main_program: (Function (SymbolTable 108 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_round] [] [(SubroutineCall 109 test_round () [] ())] () Public .false. .false.), test_round: (Function (SymbolTable 2 {b: (Variable 2 b [] Local () () Default (Logical 4 []) Source Public Required .false.), f: (Variable 2 f [] Local () () Default (Real 8 []) Source Public Required .false.), f2: (Variable 2 f2 [] Local () () Default (Real 4 []) Source Public Required .false.), i: (Variable 2 i [] Local () () Default (Integer 4 []) Source Public Required .false.), i2: (Variable 2 i2 [] Local () () Default (Integer 1 []) Source Public Required .false.), i3: (Variable 2 i3 [] Local () () Default (Integer 2 []) Source Public Required .false.), i4: (Variable 2 i4 [] Local () () Default (Integer 8 []) Source Public Required .false.), round: (ExternalSymbol 2 round 4 round lpython_builtin [] round Private), round@__lpython_overloaded_0__round: (ExternalSymbol 2 round@__lpython_overloaded_0__round 4 __lpython_overloaded_0__round lpython_builtin [] __lpython_overloaded_0__round Public), round@__lpython_overloaded_1__round: (ExternalSymbol 2 round@__lpython_overloaded_1__round 4 __lpython_overloaded_1__round lpython_builtin [] __lpython_overloaded_1__round Public), round@__lpython_overloaded_2__round: (ExternalSymbol 2 round@__lpython_overloaded_2__round 4 __lpython_overloaded_2__round lpython_builtin [] __lpython_overloaded_2__round Public), round@__lpython_overloaded_3__round: (ExternalSymbol 2 round@__lpython_overloaded_3__round 4 __lpython_overloaded_3__round lpython_builtin [] __lpython_overloaded_3__round Public), round@__lpython_overloaded_4__round: (ExternalSymbol 2 round@__lpython_overloaded_4__round 4 __lpython_overloaded_4__round lpython_builtin [] __lpython_overloaded_4__round Public), round@__lpython_overloaded_5__round: (ExternalSymbol 2 round@__lpython_overloaded_5__round 4 __lpython_overloaded_5__round lpython_builtin [] __lpython_overloaded_5__round Public), round@__lpython_overloaded_6__round: (ExternalSymbol 2 round@__lpython_overloaded_6__round 4 __lpython_overloaded_6__round lpython_builtin [] __lpython_overloaded_6__round Public)}) test_round (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_1__round round@__lpython_overloaded_2__round round@__lpython_overloaded_2__round round@__lpython_overloaded_4__round round@__lpython_overloaded_5__round round@__lpython_overloaded_3__round round@__lpython_overloaded_6__round round@__lpython_overloaded_6__round round@__lpython_overloaded_6__round] [] [(= (Var 2 f) (RealConstant 5.678000 (Real 8 [])) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((Var 2 f))] (Integer 4 []) () ()) Eq (IntegerConstant 6 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 f) (RealUnaryMinus (RealConstant 183745.230000 (Real 8 [])) (Real 8 []) (RealConstant -183745.230000 (Real 8 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((Var 2 f))] (Integer 4 []) () ()) Eq (IntegerUnaryMinus (IntegerConstant 183745 (Integer 4 [])) (Integer 4 []) (IntegerConstant -183745 (Integer 4 []))) (Logical 4 []) ()) ()) (= (Var 2 f) (RealConstant 44.340000 (Real 8 [])) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((Var 2 f))] (Integer 4 []) () ()) Eq (IntegerConstant 44 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 f) (RealConstant 0.500000 (Real 8 [])) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((Var 2 f))] (Integer 4 []) () ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 f) (RealUnaryMinus (RealConstant 50.500000 (Real 8 [])) (Real 8 []) (RealConstant -50.500000 (Real 8 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((Var 2 f))] (Integer 4 []) () ()) Eq (IntegerUnaryMinus (IntegerConstant 50 (Integer 4 [])) (Integer 4 []) (IntegerConstant -50 (Integer 4 []))) (Logical 4 []) ()) ()) (= (Var 2 f) (RealConstant 1.500000 (Real 8 [])) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((Var 2 f))] (Integer 4 []) () ()) Eq (IntegerConstant 2 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((RealConstant 13.001000 (Real 8 [])))] (Integer 4 []) (IntegerConstant 13 (Integer 4 [])) ()) Eq (IntegerConstant 13 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((RealUnaryMinus (RealConstant 40.499990 (Real 8 [])) (Real 8 []) (RealConstant -40.499990 (Real 8 []))))] (Integer 4 []) (IntegerConstant -40 (Integer 4 [])) ()) Eq (IntegerUnaryMinus (IntegerConstant 40 (Integer 4 [])) (Integer 4 []) (IntegerConstant -40 (Integer 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((RealConstant 0.500000 (Real 8 [])))] (Integer 4 []) (IntegerConstant 0 (Integer 4 [])) ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((RealUnaryMinus (RealConstant 0.500000 (Real 8 [])) (Real 8 []) (RealConstant -0.500000 (Real 8 []))))] (Integer 4 []) (IntegerConstant 0 (Integer 4 [])) ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((RealConstant 1.500000 (Real 8 [])))] (Integer 4 []) (IntegerConstant 2 (Integer 4 [])) ()) Eq (IntegerConstant 2 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((RealConstant 50.500000 (Real 8 [])))] (Integer 4 []) (IntegerConstant 50 (Integer 4 [])) ()) Eq (IntegerConstant 50 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((RealConstant 56.780000 (Real 8 [])))] (Integer 4 []) (IntegerConstant 57 (Integer 4 [])) ()) Eq (IntegerConstant 57 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 f2) (Cast (RealConstant 5.678000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 5.678000 (Real 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_1__round 2 round [((Var 2 f2))] (Integer 4 []) () ()) Eq (IntegerConstant 6 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerUnaryMinus (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5 (Integer 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_2__round 2 round [((Var 2 i))] (Integer 4 []) () ()) Eq (IntegerUnaryMinus (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5 (Integer 4 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_2__round 2 round [((IntegerConstant 4 (Integer 4 [])))] (Integer 4 []) (IntegerConstant 4 (Integer 4 [])) ()) Eq (IntegerConstant 4 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 i2) (Cast (IntegerConstant 7 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 7 (Integer 1 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_4__round 2 round [((Var 2 i2))] (Integer 1 []) () ()) Eq (Cast (IntegerConstant 7 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 7 (Integer 1 []))) (Logical 4 []) ()) ()) (= (Var 2 i3) (Cast (IntegerUnaryMinus (IntegerConstant 8 (Integer 4 [])) (Integer 4 []) (IntegerConstant -8 (Integer 4 []))) IntegerToInteger (Integer 2 []) (IntegerConstant -8 (Integer 2 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_5__round 2 round [((Var 2 i3))] (Integer 2 []) () ()) Eq (Cast (IntegerUnaryMinus (IntegerConstant 8 (Integer 4 [])) (Integer 4 []) (IntegerConstant -8 (Integer 4 []))) IntegerToInteger (Integer 2 []) (IntegerConstant -8 (Integer 2 []))) (Logical 4 []) ()) ()) (= (Var 2 i4) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_3__round 2 round [((Var 2 i4))] (Integer 8 []) () ()) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) ()) (= (Var 2 b) (LogicalConstant .true. (Logical 4 [])) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_6__round 2 round [((Var 2 b))] (Integer 4 []) () ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 b) (LogicalConstant .false. (Logical 4 [])) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_6__round 2 round [((Var 2 b))] (Integer 4 []) () ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_6__round 2 round [((LogicalConstant .false. (Logical 4 [])))] (Integer 4 []) (IntegerConstant 0 (Integer 4 [])) ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 107 {_lpython_main_program: (ExternalSymbol 107 _lpython_main_program 109 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 107 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 110 {_lpython_main_program: (Function (SymbolTable 109 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_round] [] [(SubroutineCall 110 test_round () [] ())] () Public .false. .false.), test_round: (Function (SymbolTable 2 {b: (Variable 2 b [] Local () () Default (Logical 4 []) Source Public Required .false.), f: (Variable 2 f [] Local () () Default (Real 8 []) Source Public Required .false.), f2: (Variable 2 f2 [] Local () () Default (Real 4 []) Source Public Required .false.), i: (Variable 2 i [] Local () () Default (Integer 4 []) Source Public Required .false.), i2: (Variable 2 i2 [] Local () () Default (Integer 1 []) Source Public Required .false.), i3: (Variable 2 i3 [] Local () () Default (Integer 2 []) Source Public Required .false.), i4: (Variable 2 i4 [] Local () () Default (Integer 8 []) Source Public Required .false.), round: (ExternalSymbol 2 round 4 round lpython_builtin [] round Private), round@__lpython_overloaded_0__round: (ExternalSymbol 2 round@__lpython_overloaded_0__round 4 __lpython_overloaded_0__round lpython_builtin [] __lpython_overloaded_0__round Public), round@__lpython_overloaded_1__round: (ExternalSymbol 2 round@__lpython_overloaded_1__round 4 __lpython_overloaded_1__round lpython_builtin [] __lpython_overloaded_1__round Public), round@__lpython_overloaded_2__round: (ExternalSymbol 2 round@__lpython_overloaded_2__round 4 __lpython_overloaded_2__round lpython_builtin [] __lpython_overloaded_2__round Public), round@__lpython_overloaded_3__round: (ExternalSymbol 2 round@__lpython_overloaded_3__round 4 __lpython_overloaded_3__round lpython_builtin [] __lpython_overloaded_3__round Public), round@__lpython_overloaded_4__round: (ExternalSymbol 2 round@__lpython_overloaded_4__round 4 __lpython_overloaded_4__round lpython_builtin [] __lpython_overloaded_4__round Public), round@__lpython_overloaded_5__round: (ExternalSymbol 2 round@__lpython_overloaded_5__round 4 __lpython_overloaded_5__round lpython_builtin [] __lpython_overloaded_5__round Public), round@__lpython_overloaded_6__round: (ExternalSymbol 2 round@__lpython_overloaded_6__round 4 __lpython_overloaded_6__round lpython_builtin [] __lpython_overloaded_6__round Public)}) test_round (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_0__round round@__lpython_overloaded_1__round round@__lpython_overloaded_2__round round@__lpython_overloaded_2__round round@__lpython_overloaded_4__round round@__lpython_overloaded_5__round round@__lpython_overloaded_3__round round@__lpython_overloaded_6__round round@__lpython_overloaded_6__round round@__lpython_overloaded_6__round] [] [(= (Var 2 f) (RealConstant 5.678000 (Real 8 [])) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((Var 2 f))] (Integer 4 []) () ()) Eq (IntegerConstant 6 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 f) (RealUnaryMinus (RealConstant 183745.230000 (Real 8 [])) (Real 8 []) (RealConstant -183745.230000 (Real 8 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((Var 2 f))] (Integer 4 []) () ()) Eq (IntegerUnaryMinus (IntegerConstant 183745 (Integer 4 [])) (Integer 4 []) (IntegerConstant -183745 (Integer 4 []))) (Logical 4 []) ()) ()) (= (Var 2 f) (RealConstant 44.340000 (Real 8 [])) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((Var 2 f))] (Integer 4 []) () ()) Eq (IntegerConstant 44 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 f) (RealConstant 0.500000 (Real 8 [])) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((Var 2 f))] (Integer 4 []) () ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 f) (RealUnaryMinus (RealConstant 50.500000 (Real 8 [])) (Real 8 []) (RealConstant -50.500000 (Real 8 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((Var 2 f))] (Integer 4 []) () ()) Eq (IntegerUnaryMinus (IntegerConstant 50 (Integer 4 [])) (Integer 4 []) (IntegerConstant -50 (Integer 4 []))) (Logical 4 []) ()) ()) (= (Var 2 f) (RealConstant 1.500000 (Real 8 [])) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((Var 2 f))] (Integer 4 []) () ()) Eq (IntegerConstant 2 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((RealConstant 13.001000 (Real 8 [])))] (Integer 4 []) (IntegerConstant 13 (Integer 4 [])) ()) Eq (IntegerConstant 13 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((RealUnaryMinus (RealConstant 40.499990 (Real 8 [])) (Real 8 []) (RealConstant -40.499990 (Real 8 []))))] (Integer 4 []) (IntegerConstant -40 (Integer 4 [])) ()) Eq (IntegerUnaryMinus (IntegerConstant 40 (Integer 4 [])) (Integer 4 []) (IntegerConstant -40 (Integer 4 []))) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((RealConstant 0.500000 (Real 8 [])))] (Integer 4 []) (IntegerConstant 0 (Integer 4 [])) ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((RealUnaryMinus (RealConstant 0.500000 (Real 8 [])) (Real 8 []) (RealConstant -0.500000 (Real 8 []))))] (Integer 4 []) (IntegerConstant 0 (Integer 4 [])) ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((RealConstant 1.500000 (Real 8 [])))] (Integer 4 []) (IntegerConstant 2 (Integer 4 [])) ()) Eq (IntegerConstant 2 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((RealConstant 50.500000 (Real 8 [])))] (Integer 4 []) (IntegerConstant 50 (Integer 4 [])) ()) Eq (IntegerConstant 50 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_0__round 2 round [((RealConstant 56.780000 (Real 8 [])))] (Integer 4 []) (IntegerConstant 57 (Integer 4 [])) ()) Eq (IntegerConstant 57 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 f2) (Cast (RealConstant 5.678000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 5.678000 (Real 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_1__round 2 round [((Var 2 f2))] (Integer 4 []) () ()) Eq (IntegerConstant 6 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 i) (IntegerUnaryMinus (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5 (Integer 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_2__round 2 round [((Var 2 i))] (Integer 4 []) () ()) Eq (IntegerUnaryMinus (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5 (Integer 4 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_2__round 2 round [((IntegerConstant 4 (Integer 4 [])))] (Integer 4 []) (IntegerConstant 4 (Integer 4 [])) ()) Eq (IntegerConstant 4 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (= (Var 2 i2) (Cast (IntegerConstant 7 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 7 (Integer 1 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_4__round 2 round [((Var 2 i2))] (Integer 1 []) () ()) Eq (Cast (IntegerConstant 7 (Integer 4 [])) IntegerToInteger (Integer 1 []) (IntegerConstant 7 (Integer 1 []))) (Logical 4 []) ()) ()) (= (Var 2 i3) (Cast (IntegerUnaryMinus (IntegerConstant 8 (Integer 4 [])) (Integer 4 []) (IntegerConstant -8 (Integer 4 []))) IntegerToInteger (Integer 2 []) (IntegerConstant -8 (Integer 2 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_5__round 2 round [((Var 2 i3))] (Integer 2 []) () ()) Eq (Cast (IntegerUnaryMinus (IntegerConstant 8 (Integer 4 [])) (Integer 4 []) (IntegerConstant -8 (Integer 4 []))) IntegerToInteger (Integer 2 []) (IntegerConstant -8 (Integer 2 []))) (Logical 4 []) ()) ()) (= (Var 2 i4) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_3__round 2 round [((Var 2 i4))] (Integer 8 []) () ()) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) ()) (= (Var 2 b) (LogicalConstant .true. (Logical 4 [])) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_6__round 2 round [((Var 2 b))] (Integer 4 []) () ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (= (Var 2 b) (LogicalConstant .false. (Logical 4 [])) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_6__round 2 round [((Var 2 b))] (Integer 4 []) () ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 round@__lpython_overloaded_6__round 2 round [((LogicalConstant .false. (Logical 4 [])))] (Integer 4 []) (IntegerConstant 0 (Integer 4 [])) ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 108 {_lpython_main_program: (ExternalSymbol 108 _lpython_main_program 110 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 108 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-test_c_interop_01-e374f43.json b/tests/reference/asr-test_c_interop_01-e374f43.json index c1f9a354bc..27b0128cf2 100644 --- a/tests/reference/asr-test_c_interop_01-e374f43.json +++ b/tests/reference/asr-test_c_interop_01-e374f43.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_c_interop_01-e374f43.stdout", - "stdout_hash": "de530fc7fdc9e3d851a52c4d03e3e13ee92839933ec07e832dd17fdd", + "stdout_hash": "adc1b728e803bf73a2547f67516e30e287afbcd037272023908ce49d", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_c_interop_01-e374f43.stdout b/tests/reference/asr-test_c_interop_01-e374f43.stdout index 69f2324ad7..6e7632ef00 100644 --- a/tests/reference/asr-test_c_interop_01-e374f43.stdout +++ b/tests/reference/asr-test_c_interop_01-e374f43.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 113 {_lfortran_bgt32: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) BindC Public Required .false.), i: (Variable 4 i [] In () () Default (Integer 4 []) BindC Public Required .true.), j: (Variable 4 j [] In () () Default (Integer 4 []) BindC Public Required .true.)}) _lfortran_bgt32 (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 i) (Var 4 j)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_bgt64: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) BindC Public Required .false.), i: (Variable 5 i [] In () () Default (Integer 8 []) BindC Public Required .true.), j: (Variable 5 j [] In () () Default (Integer 8 []) BindC Public Required .true.)}) _lfortran_bgt64 (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 5 i) (Var 5 j)] [] (Var 5 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 2 {_lpython_return_variable: (Variable 2 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 2 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 2 x)] [] (Var 2 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 3 {_lpython_return_variable: (Variable 3 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 3 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 3 x)] [] (Var 3 _lpython_return_variable) Public .false. .false.), _lpython_main_program: (Function (SymbolTable 112 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_c_callbacks] [] [(SubroutineCall 113 test_c_callbacks () [] ())] () Public .false. .false.), test_c_callbacks: (Function (SymbolTable 6 {abs: (ExternalSymbol 6 abs 8 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 6 abs@__lpython_overloaded_0__abs 8 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), abs@__lpython_overloaded_1__abs: (ExternalSymbol 6 abs@__lpython_overloaded_1__abs 8 __lpython_overloaded_1__abs lpython_builtin [] __lpython_overloaded_1__abs Public), pi: (Variable 6 pi [] Local () () Default (Real 8 []) Source Public Required .false.)}) test_c_callbacks (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs _lfortran_dsin abs@__lpython_overloaded_0__abs _lfortran_dsin abs@__lpython_overloaded_1__abs _lfortran_ssin abs@__lpython_overloaded_1__abs _lfortran_ssin _lfortran_bgt32 _lfortran_bgt32 _lfortran_bgt64 _lfortran_bgt64] [] [(= (Var 6 pi) (RealConstant 3.141593 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 6 abs@__lpython_overloaded_0__abs 6 abs [((RealBinOp (FunctionCall 113 _lfortran_dsin () [((Var 6 pi))] (Real 8 []) () ()) Sub (RealConstant 0.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 6 abs@__lpython_overloaded_0__abs 6 abs [((RealBinOp (FunctionCall 113 _lfortran_dsin () [((RealBinOp (Var 6 pi) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) Sub (RealConstant 1.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 6 abs@__lpython_overloaded_1__abs 6 abs [((RealBinOp (FunctionCall 113 _lfortran_ssin () [((Cast (Var 6 pi) RealToReal (Real 4 []) ()))] (Real 4 []) () ()) Sub (Cast (RealConstant 0.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Real 4 []) ()))] (Real 4 []) () ()) Lt (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 6 abs@__lpython_overloaded_1__abs 6 abs [((RealBinOp (FunctionCall 113 _lfortran_ssin () [((Cast (RealBinOp (Var 6 pi) Div (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()) RealToReal (Real 4 []) ()))] (Real 4 []) () ()) Sub (Cast (RealConstant 1.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()))] (Real 4 []) () ()) Lt (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 113 _lfortran_bgt32 () [((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 4 (Integer 4 [])))] (Integer 4 []) () ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 113 _lfortran_bgt32 () [((IntegerConstant 4 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 [])))] (Integer 4 []) () ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 113 _lfortran_bgt64 () [((Cast (IntegerConstant 3 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 3 (Integer 8 [])))) ((Cast (IntegerConstant 4 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 4 (Integer 8 []))))] (Integer 4 []) () ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 113 _lfortran_bgt64 () [((Cast (IntegerConstant 4 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 4 (Integer 8 [])))) ((Cast (IntegerConstant 3 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 3 (Integer 8 []))))] (Integer 4 []) () ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 111 {_lpython_main_program: (ExternalSymbol 111 _lpython_main_program 113 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 111 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 114 {_lfortran_bgt32: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) BindC Public Required .false.), i: (Variable 4 i [] In () () Default (Integer 4 []) BindC Public Required .true.), j: (Variable 4 j [] In () () Default (Integer 4 []) BindC Public Required .true.)}) _lfortran_bgt32 (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 i) (Var 4 j)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_bgt64: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) BindC Public Required .false.), i: (Variable 5 i [] In () () Default (Integer 8 []) BindC Public Required .true.), j: (Variable 5 j [] In () () Default (Integer 8 []) BindC Public Required .true.)}) _lfortran_bgt64 (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 5 i) (Var 5 j)] [] (Var 5 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 2 {_lpython_return_variable: (Variable 2 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 2 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 2 x)] [] (Var 2 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 3 {_lpython_return_variable: (Variable 3 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 3 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 3 x)] [] (Var 3 _lpython_return_variable) Public .false. .false.), _lpython_main_program: (Function (SymbolTable 113 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_c_callbacks] [] [(SubroutineCall 114 test_c_callbacks () [] ())] () Public .false. .false.), test_c_callbacks: (Function (SymbolTable 6 {abs: (ExternalSymbol 6 abs 8 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 6 abs@__lpython_overloaded_0__abs 8 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), abs@__lpython_overloaded_1__abs: (ExternalSymbol 6 abs@__lpython_overloaded_1__abs 8 __lpython_overloaded_1__abs lpython_builtin [] __lpython_overloaded_1__abs Public), pi: (Variable 6 pi [] Local () () Default (Real 8 []) Source Public Required .false.)}) test_c_callbacks (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs _lfortran_dsin abs@__lpython_overloaded_0__abs _lfortran_dsin abs@__lpython_overloaded_1__abs _lfortran_ssin abs@__lpython_overloaded_1__abs _lfortran_ssin _lfortran_bgt32 _lfortran_bgt32 _lfortran_bgt64 _lfortran_bgt64] [] [(= (Var 6 pi) (RealConstant 3.141593 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 6 abs@__lpython_overloaded_0__abs 6 abs [((RealBinOp (FunctionCall 114 _lfortran_dsin () [((Var 6 pi))] (Real 8 []) () ()) Sub (RealConstant 0.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 6 abs@__lpython_overloaded_0__abs 6 abs [((RealBinOp (FunctionCall 114 _lfortran_dsin () [((RealBinOp (Var 6 pi) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) Sub (RealConstant 1.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 6 abs@__lpython_overloaded_1__abs 6 abs [((RealBinOp (FunctionCall 114 _lfortran_ssin () [((Cast (Var 6 pi) RealToReal (Real 4 []) ()))] (Real 4 []) () ()) Sub (Cast (RealConstant 0.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Real 4 []) ()))] (Real 4 []) () ()) Lt (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 6 abs@__lpython_overloaded_1__abs 6 abs [((RealBinOp (FunctionCall 114 _lfortran_ssin () [((Cast (RealBinOp (Var 6 pi) Div (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()) RealToReal (Real 4 []) ()))] (Real 4 []) () ()) Sub (Cast (RealConstant 1.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()))] (Real 4 []) () ()) Lt (Cast (RealConstant 0.000001 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 0.000001 (Real 4 []))) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 114 _lfortran_bgt32 () [((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 4 (Integer 4 [])))] (Integer 4 []) () ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 114 _lfortran_bgt32 () [((IntegerConstant 4 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 [])))] (Integer 4 []) () ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 114 _lfortran_bgt64 () [((Cast (IntegerConstant 3 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 3 (Integer 8 [])))) ((Cast (IntegerConstant 4 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 4 (Integer 8 []))))] (Integer 4 []) () ()) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 114 _lfortran_bgt64 () [((Cast (IntegerConstant 4 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 4 (Integer 8 [])))) ((Cast (IntegerConstant 3 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 3 (Integer 8 []))))] (Integer 4 []) () ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 112 {_lpython_main_program: (ExternalSymbol 112 _lpython_main_program 114 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 112 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-test_complex_01-a6def58.json b/tests/reference/asr-test_complex_01-a6def58.json index c8cdb1d829..4b2d74efc6 100644 --- a/tests/reference/asr-test_complex_01-a6def58.json +++ b/tests/reference/asr-test_complex_01-a6def58.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_complex_01-a6def58.stdout", - "stdout_hash": "f9aa0fa0501a0fc73505748d180c78c624d1c324a3b36107c8e80443", + "stdout_hash": "45c4cc81ff1d4d88b10ad955ec4de654f1eb645af2fc9fb48b79673f", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_complex_01-a6def58.stdout b/tests/reference/asr-test_complex_01-a6def58.stdout index 7d0cf13b83..d6e8b3d0ce 100644 --- a/tests/reference/asr-test_complex_01-a6def58.stdout +++ b/tests/reference/asr-test_complex_01-a6def58.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 113 {_lpython_main_program: (Function (SymbolTable 112 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [check] [] [(SubroutineCall 113 check () [] ())] () Public .false. .false.), check: (Function (SymbolTable 6 {}) check (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_real_imag test_complex test_complex_unary_minus test_complex_not] [] [(SubroutineCall 113 test_real_imag () [] ()) (SubroutineCall 113 test_complex () [] ()) (SubroutineCall 113 test_complex_unary_minus () [] ()) (SubroutineCall 113 test_complex_not () [] ())] () Public .false. .false.), test_complex: (Function (SymbolTable 3 {a: (Variable 3 a [] Local () () Default (Real 8 []) Source Public Required .false.), a2: (Variable 3 a2 [] Local () () Default (Real 4 []) Source Public Required .false.), a3: (Variable 3 a3 [] Local () () Default (Real 4 []) Source Public Required .false.), abs: (ExternalSymbol 3 abs 8 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 3 abs@__lpython_overloaded_0__abs 8 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), abs@__lpython_overloaded_1__abs: (ExternalSymbol 3 abs@__lpython_overloaded_1__abs 8 __lpython_overloaded_1__abs lpython_builtin [] __lpython_overloaded_1__abs Public), complex: (ExternalSymbol 3 complex 8 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_10__complex: (ExternalSymbol 3 complex@__lpython_overloaded_10__complex 8 __lpython_overloaded_10__complex lpython_builtin [] __lpython_overloaded_10__complex Public), complex@__lpython_overloaded_11__complex: (ExternalSymbol 3 complex@__lpython_overloaded_11__complex 8 __lpython_overloaded_11__complex lpython_builtin [] __lpython_overloaded_11__complex Public), complex@__lpython_overloaded_12__complex: (ExternalSymbol 3 complex@__lpython_overloaded_12__complex 8 __lpython_overloaded_12__complex lpython_builtin [] __lpython_overloaded_12__complex Public), complex@__lpython_overloaded_13__complex: (ExternalSymbol 3 complex@__lpython_overloaded_13__complex 8 __lpython_overloaded_13__complex lpython_builtin [] __lpython_overloaded_13__complex Public), complex@__lpython_overloaded_14__complex: (ExternalSymbol 3 complex@__lpython_overloaded_14__complex 8 __lpython_overloaded_14__complex lpython_builtin [] __lpython_overloaded_14__complex Public), complex@__lpython_overloaded_5__complex: (ExternalSymbol 3 complex@__lpython_overloaded_5__complex 8 __lpython_overloaded_5__complex lpython_builtin [] __lpython_overloaded_5__complex Public), complex@__lpython_overloaded_6__complex: (ExternalSymbol 3 complex@__lpython_overloaded_6__complex 8 __lpython_overloaded_6__complex lpython_builtin [] __lpython_overloaded_6__complex Public), complex@__lpython_overloaded_7__complex: (ExternalSymbol 3 complex@__lpython_overloaded_7__complex 8 __lpython_overloaded_7__complex lpython_builtin [] __lpython_overloaded_7__complex Public), complex@__lpython_overloaded_8__complex: (ExternalSymbol 3 complex@__lpython_overloaded_8__complex 8 __lpython_overloaded_8__complex lpython_builtin [] __lpython_overloaded_8__complex Public), complex@__lpython_overloaded_9__complex: (ExternalSymbol 3 complex@__lpython_overloaded_9__complex 8 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public), eps: (Variable 3 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i1: (Variable 3 i1 [] Local () () Default (Integer 4 []) Source Public Required .false.), i2: (Variable 3 i2 [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 3 x [] Local () () Default (Complex 8 []) Source Public Required .false.), x2: (Variable 3 x2 [] Local () () Default (Complex 4 []) Source Public Required .false.)}) test_complex (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_5__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs complex@__lpython_overloaded_9__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs complex@__lpython_overloaded_13__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs complex@__lpython_overloaded_14__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs complex@__lpython_overloaded_5__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs complex@__lpython_overloaded_6__complex abs@__lpython_overloaded_1__abs complex@__lpython_overloaded_7__complex complex@__lpython_overloaded_8__complex complex@__lpython_overloaded_11__complex complex@__lpython_overloaded_9__complex complex@__lpython_overloaded_10__complex complex@__lpython_overloaded_12__complex] [] [(= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_5__complex 3 complex [((RealConstant 4.500000 (Real 8 []))) ((RealConstant 6.700000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 4.500000 6.700000 (Complex 8 [])) ()) ()) (= (Var 3 eps) (RealConstant 0.000000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexRe (Var 3 x) (Real 8 []) ()) Sub (RealConstant 4.500000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexIm (Var 3 x) (Real 8 []) ()) Sub (RealConstant 6.700000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_9__complex 3 complex [((IntegerUnaryMinus (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4 (Integer 4 [])))) ((IntegerConstant 2 (Integer 4 [])))] (Complex 8 []) (ComplexConstant -4.000000 2.000000 (Complex 8 [])) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexRe (Var 3 x) (Real 8 []) ()) Sub (RealUnaryMinus (RealConstant 4.000000 (Real 8 [])) (Real 8 []) (RealConstant -4.000000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexIm (Var 3 x) (Real 8 []) ()) Sub (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_13__complex 3 complex [((IntegerConstant 4 (Integer 4 []))) ((RealConstant 7.890000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 4.000000 7.890000 (Complex 8 [])) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexRe (Var 3 x) (Real 8 []) ()) Sub (RealConstant 4.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexIm (Var 3 x) (Real 8 []) ()) Sub (RealConstant 7.890000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_14__complex 3 complex [((RealConstant 5.600000 (Real 8 []))) ((IntegerConstant 0 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 5.600000 0.000000 (Complex 8 [])) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexRe (Var 3 x) (Real 8 []) ()) Sub (RealConstant 5.600000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexIm (Var 3 x) (Real 8 []) ()) Sub (RealConstant 0.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (= (Var 3 a) (RealConstant 534.600000 (Real 8 [])) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_5__complex 3 complex [((Var 3 a)) ((RealUnaryMinus (Var 3 a) (Real 8 []) ()))] (Complex 8 []) () ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexRe (Var 3 x) (Real 8 []) ()) Sub (RealConstant 534.600000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexIm (Var 3 x) (Real 8 []) ()) Sub (RealUnaryMinus (RealConstant 534.600000 (Real 8 [])) (Real 8 []) (RealConstant -534.600000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (= (Var 3 a2) (RealUnaryMinus (Cast (RealConstant 423.543081 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 423.543081 (Real 4 []))) (Real 4 []) (RealConstant -423.543081 (Real 4 []))) ()) (= (Var 3 a3) (Cast (RealConstant 34.500000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 34.500000 (Real 4 []))) ()) (= (Var 3 x2) (FunctionCall 3 complex@__lpython_overloaded_6__complex 3 complex [((Var 3 a2)) ((Var 3 a3))] (Complex 4 []) () ()) ()) (Assert (RealCompare (Cast (FunctionCall 3 abs@__lpython_overloaded_1__abs 3 abs [((RealBinOp (ComplexIm (Var 3 x2) (Real 4 []) ()) Sub (Cast (RealConstant 34.500000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 34.500000 (Real 4 []))) (Real 4 []) ()))] (Real 4 []) () ()) RealToReal (Real 8 []) ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (= (Var 3 i1) (IntegerUnaryMinus (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5 (Integer 4 []))) ()) (= (Var 3 i2) (IntegerUnaryMinus (Cast (IntegerConstant 6 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 6 (Integer 8 []))) (Integer 8 []) (IntegerConstant -6 (Integer 8 []))) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_7__complex 3 complex [((Var 3 a3)) ((Var 3 a))] (Complex 8 []) () ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_8__complex 3 complex [((Var 3 a)) ((Var 3 a3))] (Complex 8 []) () ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_11__complex 3 complex [((Var 3 i1)) ((Var 3 i2))] (Complex 8 []) () ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_9__complex 3 complex [((Var 3 i1)) ((IntegerUnaryMinus (Var 3 i1) (Integer 4 []) ()))] (Complex 8 []) () ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_10__complex 3 complex [((IntegerUnaryMinus (Var 3 i2) (Integer 8 []) ())) ((IntegerUnaryMinus (Var 3 i2) (Integer 8 []) ()))] (Complex 8 []) () ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_12__complex 3 complex [((Var 3 i2)) ((IntegerUnaryMinus (Var 3 i1) (Integer 4 []) ()))] (Complex 8 []) () ()) ())] () Public .false. .false.), test_complex_not: (Function (SymbolTable 5 {b: (Variable 5 b [] Local () () Default (Logical 4 []) Source Public Required .false.), c: (Variable 5 c [] Local () () Default (Complex 4 []) Source Public Required .false.), c2: (Variable 5 c2 [] Local () () Default (Complex 8 []) Source Public Required .false.), complex: (ExternalSymbol 5 complex 8 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_9__complex: (ExternalSymbol 5 complex@__lpython_overloaded_9__complex 8 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public)}) test_complex_not (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_9__complex complex@__lpython_overloaded_9__complex] [] [(= (Var 5 c) (Cast (FunctionCall 5 complex@__lpython_overloaded_9__complex 5 complex [((IntegerConstant 4 (Integer 4 []))) ((IntegerConstant 5 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 4.000000 5.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 4.000000 5.000000 (Complex 4 []))) ()) (= (Var 5 b) (LogicalNot (Cast (Var 5 c) ComplexToLogical (Logical 4 []) ()) (Logical 4 []) ()) ()) (Assert (LogicalNot (Var 5 b) (Logical 4 []) ()) ()) (= (Var 5 c2) (FunctionCall 5 complex@__lpython_overloaded_9__complex 5 complex [((IntegerConstant 0 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 0.000000 0.000000 (Complex 8 [])) ()) ()) (= (Var 5 b) (LogicalNot (Cast (Var 5 c2) ComplexToLogical (Logical 4 []) ()) (Logical 4 []) ()) ()) (Assert (Var 5 b) ())] () Public .false. .false.), test_complex_unary_minus: (Function (SymbolTable 4 {_c: (Variable 4 _c [] Local () () Default (Complex 4 []) Source Public Required .false.), abs: (ExternalSymbol 4 abs 8 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 4 abs@__lpython_overloaded_0__abs 8 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), c: (Variable 4 c [] Local () () Default (Complex 4 []) Source Public Required .false.), c2: (Variable 4 c2 [] Local () () Default (Complex 8 []) Source Public Required .false.), complex: (ExternalSymbol 4 complex 8 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_13__complex: (ExternalSymbol 4 complex@__lpython_overloaded_13__complex 8 __lpython_overloaded_13__complex lpython_builtin [] __lpython_overloaded_13__complex Public), complex@__lpython_overloaded_5__complex: (ExternalSymbol 4 complex@__lpython_overloaded_5__complex 8 __lpython_overloaded_5__complex lpython_builtin [] __lpython_overloaded_5__complex Public), complex@__lpython_overloaded_9__complex: (ExternalSymbol 4 complex@__lpython_overloaded_9__complex 8 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public)}) test_complex_unary_minus (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_13__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs complex@__lpython_overloaded_9__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs complex@__lpython_overloaded_5__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs] [] [(= (Var 4 c) (Cast (FunctionCall 4 complex@__lpython_overloaded_13__complex 4 complex [((IntegerConstant 3 (Integer 4 []))) ((RealConstant 4.500000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.500000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 3.000000 4.500000 (Complex 4 []))) ()) (= (Var 4 _c) (ComplexUnaryMinus (Var 4 c) (Complex 4 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (Cast (ComplexRe (Var 4 _c) (Real 4 []) ()) RealToReal (Real 8 []) ()) Sub (RealUnaryMinus (RealConstant 3.000000 (Real 8 [])) (Real 8 []) (RealConstant -3.000000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (Cast (ComplexIm (Var 4 _c) (Real 4 []) ()) RealToReal (Real 8 []) ()) Sub (RealUnaryMinus (RealConstant 4.500000 (Real 8 [])) (Real 8 []) (RealConstant -4.500000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 4 _c) (Cast (FunctionCall 4 complex@__lpython_overloaded_9__complex 4 complex [((IntegerConstant 5 (Integer 4 []))) ((IntegerUnaryMinus (IntegerConstant 78 (Integer 4 [])) (Integer 4 []) (IntegerConstant -78 (Integer 4 []))))] (Complex 8 []) (ComplexConstant 5.000000 -78.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 5.000000 -78.000000 (Complex 4 []))) ()) (= (Var 4 _c) (ComplexUnaryMinus (Var 4 _c) (Complex 4 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (Cast (ComplexRe (Var 4 _c) (Real 4 []) ()) RealToReal (Real 8 []) ()) Sub (RealUnaryMinus (RealConstant 5.000000 (Real 8 [])) (Real 8 []) (RealConstant -5.000000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (Cast (ComplexIm (Var 4 _c) (Real 4 []) ()) RealToReal (Real 8 []) ()) Sub (RealConstant 78.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 4 c2) (FunctionCall 4 complex@__lpython_overloaded_5__complex 4 complex [((RealUnaryMinus (RealConstant 4.500000 (Real 8 [])) (Real 8 []) (RealConstant -4.500000 (Real 8 [])))) ((RealUnaryMinus (RealConstant 7.800000 (Real 8 [])) (Real 8 []) (RealConstant -7.800000 (Real 8 []))))] (Complex 8 []) (ComplexConstant -4.500000 -7.800000 (Complex 8 [])) ()) ()) (= (Var 4 c2) (ComplexUnaryMinus (Var 4 c2) (Complex 8 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (ComplexRe (Var 4 c2) (Real 8 []) ()) Sub (RealConstant 4.500000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (ComplexIm (Var 4 c2) (Real 8 []) ()) Sub (RealConstant 7.800000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 4 c2) (ComplexBinOp (Cast (IntegerConstant 3 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 3.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 4.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 []))) ()) (= (Var 4 c2) (ComplexUnaryMinus (Var 4 c2) (Complex 8 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (ComplexRe (Var 4 c2) (Real 8 []) ()) Sub (RealUnaryMinus (RealConstant 3.000000 (Real 8 [])) (Real 8 []) (RealConstant -3.000000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (ComplexIm (Var 4 c2) (Real 8 []) ()) Sub (RealUnaryMinus (RealConstant 4.000000 (Real 8 [])) (Real 8 []) (RealConstant -4.000000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ())] () Public .false. .false.), test_real_imag: (Function (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Real 8 []) Source Public Required .false.), abs: (ExternalSymbol 2 abs 8 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 2 abs@__lpython_overloaded_0__abs 8 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), b: (Variable 2 b [] Local () () Default (Real 8 []) Source Public Required .false.), eps: (Variable 2 eps [] Local () () Default (Real 8 []) Source Public Required .false.), x: (Variable 2 x [] Local () () Default (Complex 8 []) Source Public Required .false.)}) test_real_imag (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs] [] [(= (Var 2 x) (ComplexBinOp (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 2.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 3.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 2.000000 3.000000 (Complex 8 []))) ()) (= (Var 2 eps) (RealConstant 0.000000 (Real 8 [])) ()) (= (Var 2 a) (ComplexRe (Var 2 x) (Real 8 []) ()) ()) (= (Var 2 b) (ComplexIm (Var 2 x) (Real 8 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (Var 2 a) Sub (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (Var 2 b) Sub (RealConstant 3.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 2 eps) (Logical 4 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 111 {_lpython_main_program: (ExternalSymbol 111 _lpython_main_program 113 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 111 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 114 {_lpython_main_program: (Function (SymbolTable 113 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [check] [] [(SubroutineCall 114 check () [] ())] () Public .false. .false.), check: (Function (SymbolTable 6 {}) check (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_real_imag test_complex test_complex_unary_minus test_complex_not] [] [(SubroutineCall 114 test_real_imag () [] ()) (SubroutineCall 114 test_complex () [] ()) (SubroutineCall 114 test_complex_unary_minus () [] ()) (SubroutineCall 114 test_complex_not () [] ())] () Public .false. .false.), test_complex: (Function (SymbolTable 3 {a: (Variable 3 a [] Local () () Default (Real 8 []) Source Public Required .false.), a2: (Variable 3 a2 [] Local () () Default (Real 4 []) Source Public Required .false.), a3: (Variable 3 a3 [] Local () () Default (Real 4 []) Source Public Required .false.), abs: (ExternalSymbol 3 abs 8 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 3 abs@__lpython_overloaded_0__abs 8 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), abs@__lpython_overloaded_1__abs: (ExternalSymbol 3 abs@__lpython_overloaded_1__abs 8 __lpython_overloaded_1__abs lpython_builtin [] __lpython_overloaded_1__abs Public), complex: (ExternalSymbol 3 complex 8 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_10__complex: (ExternalSymbol 3 complex@__lpython_overloaded_10__complex 8 __lpython_overloaded_10__complex lpython_builtin [] __lpython_overloaded_10__complex Public), complex@__lpython_overloaded_11__complex: (ExternalSymbol 3 complex@__lpython_overloaded_11__complex 8 __lpython_overloaded_11__complex lpython_builtin [] __lpython_overloaded_11__complex Public), complex@__lpython_overloaded_12__complex: (ExternalSymbol 3 complex@__lpython_overloaded_12__complex 8 __lpython_overloaded_12__complex lpython_builtin [] __lpython_overloaded_12__complex Public), complex@__lpython_overloaded_13__complex: (ExternalSymbol 3 complex@__lpython_overloaded_13__complex 8 __lpython_overloaded_13__complex lpython_builtin [] __lpython_overloaded_13__complex Public), complex@__lpython_overloaded_14__complex: (ExternalSymbol 3 complex@__lpython_overloaded_14__complex 8 __lpython_overloaded_14__complex lpython_builtin [] __lpython_overloaded_14__complex Public), complex@__lpython_overloaded_5__complex: (ExternalSymbol 3 complex@__lpython_overloaded_5__complex 8 __lpython_overloaded_5__complex lpython_builtin [] __lpython_overloaded_5__complex Public), complex@__lpython_overloaded_6__complex: (ExternalSymbol 3 complex@__lpython_overloaded_6__complex 8 __lpython_overloaded_6__complex lpython_builtin [] __lpython_overloaded_6__complex Public), complex@__lpython_overloaded_7__complex: (ExternalSymbol 3 complex@__lpython_overloaded_7__complex 8 __lpython_overloaded_7__complex lpython_builtin [] __lpython_overloaded_7__complex Public), complex@__lpython_overloaded_8__complex: (ExternalSymbol 3 complex@__lpython_overloaded_8__complex 8 __lpython_overloaded_8__complex lpython_builtin [] __lpython_overloaded_8__complex Public), complex@__lpython_overloaded_9__complex: (ExternalSymbol 3 complex@__lpython_overloaded_9__complex 8 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public), eps: (Variable 3 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i1: (Variable 3 i1 [] Local () () Default (Integer 4 []) Source Public Required .false.), i2: (Variable 3 i2 [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 3 x [] Local () () Default (Complex 8 []) Source Public Required .false.), x2: (Variable 3 x2 [] Local () () Default (Complex 4 []) Source Public Required .false.)}) test_complex (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_5__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs complex@__lpython_overloaded_9__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs complex@__lpython_overloaded_13__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs complex@__lpython_overloaded_14__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs complex@__lpython_overloaded_5__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs complex@__lpython_overloaded_6__complex abs@__lpython_overloaded_1__abs complex@__lpython_overloaded_7__complex complex@__lpython_overloaded_8__complex complex@__lpython_overloaded_11__complex complex@__lpython_overloaded_9__complex complex@__lpython_overloaded_10__complex complex@__lpython_overloaded_12__complex] [] [(= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_5__complex 3 complex [((RealConstant 4.500000 (Real 8 []))) ((RealConstant 6.700000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 4.500000 6.700000 (Complex 8 [])) ()) ()) (= (Var 3 eps) (RealConstant 0.000000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexRe (Var 3 x) (Real 8 []) ()) Sub (RealConstant 4.500000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexIm (Var 3 x) (Real 8 []) ()) Sub (RealConstant 6.700000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_9__complex 3 complex [((IntegerUnaryMinus (IntegerConstant 4 (Integer 4 [])) (Integer 4 []) (IntegerConstant -4 (Integer 4 [])))) ((IntegerConstant 2 (Integer 4 [])))] (Complex 8 []) (ComplexConstant -4.000000 2.000000 (Complex 8 [])) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexRe (Var 3 x) (Real 8 []) ()) Sub (RealUnaryMinus (RealConstant 4.000000 (Real 8 [])) (Real 8 []) (RealConstant -4.000000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexIm (Var 3 x) (Real 8 []) ()) Sub (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_13__complex 3 complex [((IntegerConstant 4 (Integer 4 []))) ((RealConstant 7.890000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 4.000000 7.890000 (Complex 8 [])) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexRe (Var 3 x) (Real 8 []) ()) Sub (RealConstant 4.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexIm (Var 3 x) (Real 8 []) ()) Sub (RealConstant 7.890000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_14__complex 3 complex [((RealConstant 5.600000 (Real 8 []))) ((IntegerConstant 0 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 5.600000 0.000000 (Complex 8 [])) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexRe (Var 3 x) (Real 8 []) ()) Sub (RealConstant 5.600000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexIm (Var 3 x) (Real 8 []) ()) Sub (RealConstant 0.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (= (Var 3 a) (RealConstant 534.600000 (Real 8 [])) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_5__complex 3 complex [((Var 3 a)) ((RealUnaryMinus (Var 3 a) (Real 8 []) ()))] (Complex 8 []) () ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexRe (Var 3 x) (Real 8 []) ()) Sub (RealConstant 534.600000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 abs@__lpython_overloaded_0__abs 3 abs [((RealBinOp (ComplexIm (Var 3 x) (Real 8 []) ()) Sub (RealUnaryMinus (RealConstant 534.600000 (Real 8 [])) (Real 8 []) (RealConstant -534.600000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (= (Var 3 a2) (RealUnaryMinus (Cast (RealConstant 423.543081 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 423.543081 (Real 4 []))) (Real 4 []) (RealConstant -423.543081 (Real 4 []))) ()) (= (Var 3 a3) (Cast (RealConstant 34.500000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 34.500000 (Real 4 []))) ()) (= (Var 3 x2) (FunctionCall 3 complex@__lpython_overloaded_6__complex 3 complex [((Var 3 a2)) ((Var 3 a3))] (Complex 4 []) () ()) ()) (Assert (RealCompare (Cast (FunctionCall 3 abs@__lpython_overloaded_1__abs 3 abs [((RealBinOp (ComplexIm (Var 3 x2) (Real 4 []) ()) Sub (Cast (RealConstant 34.500000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 34.500000 (Real 4 []))) (Real 4 []) ()))] (Real 4 []) () ()) RealToReal (Real 8 []) ()) LtE (Var 3 eps) (Logical 4 []) ()) ()) (= (Var 3 i1) (IntegerUnaryMinus (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant -5 (Integer 4 []))) ()) (= (Var 3 i2) (IntegerUnaryMinus (Cast (IntegerConstant 6 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 6 (Integer 8 []))) (Integer 8 []) (IntegerConstant -6 (Integer 8 []))) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_7__complex 3 complex [((Var 3 a3)) ((Var 3 a))] (Complex 8 []) () ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_8__complex 3 complex [((Var 3 a)) ((Var 3 a3))] (Complex 8 []) () ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_11__complex 3 complex [((Var 3 i1)) ((Var 3 i2))] (Complex 8 []) () ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_9__complex 3 complex [((Var 3 i1)) ((IntegerUnaryMinus (Var 3 i1) (Integer 4 []) ()))] (Complex 8 []) () ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_10__complex 3 complex [((IntegerUnaryMinus (Var 3 i2) (Integer 8 []) ())) ((IntegerUnaryMinus (Var 3 i2) (Integer 8 []) ()))] (Complex 8 []) () ()) ()) (= (Var 3 x) (FunctionCall 3 complex@__lpython_overloaded_12__complex 3 complex [((Var 3 i2)) ((IntegerUnaryMinus (Var 3 i1) (Integer 4 []) ()))] (Complex 8 []) () ()) ())] () Public .false. .false.), test_complex_not: (Function (SymbolTable 5 {b: (Variable 5 b [] Local () () Default (Logical 4 []) Source Public Required .false.), c: (Variable 5 c [] Local () () Default (Complex 4 []) Source Public Required .false.), c2: (Variable 5 c2 [] Local () () Default (Complex 8 []) Source Public Required .false.), complex: (ExternalSymbol 5 complex 8 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_9__complex: (ExternalSymbol 5 complex@__lpython_overloaded_9__complex 8 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public)}) test_complex_not (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_9__complex complex@__lpython_overloaded_9__complex] [] [(= (Var 5 c) (Cast (FunctionCall 5 complex@__lpython_overloaded_9__complex 5 complex [((IntegerConstant 4 (Integer 4 []))) ((IntegerConstant 5 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 4.000000 5.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 4.000000 5.000000 (Complex 4 []))) ()) (= (Var 5 b) (LogicalNot (Cast (Var 5 c) ComplexToLogical (Logical 4 []) ()) (Logical 4 []) ()) ()) (Assert (LogicalNot (Var 5 b) (Logical 4 []) ()) ()) (= (Var 5 c2) (FunctionCall 5 complex@__lpython_overloaded_9__complex 5 complex [((IntegerConstant 0 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 0.000000 0.000000 (Complex 8 [])) ()) ()) (= (Var 5 b) (LogicalNot (Cast (Var 5 c2) ComplexToLogical (Logical 4 []) ()) (Logical 4 []) ()) ()) (Assert (Var 5 b) ())] () Public .false. .false.), test_complex_unary_minus: (Function (SymbolTable 4 {_c: (Variable 4 _c [] Local () () Default (Complex 4 []) Source Public Required .false.), abs: (ExternalSymbol 4 abs 8 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 4 abs@__lpython_overloaded_0__abs 8 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), c: (Variable 4 c [] Local () () Default (Complex 4 []) Source Public Required .false.), c2: (Variable 4 c2 [] Local () () Default (Complex 8 []) Source Public Required .false.), complex: (ExternalSymbol 4 complex 8 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_13__complex: (ExternalSymbol 4 complex@__lpython_overloaded_13__complex 8 __lpython_overloaded_13__complex lpython_builtin [] __lpython_overloaded_13__complex Public), complex@__lpython_overloaded_5__complex: (ExternalSymbol 4 complex@__lpython_overloaded_5__complex 8 __lpython_overloaded_5__complex lpython_builtin [] __lpython_overloaded_5__complex Public), complex@__lpython_overloaded_9__complex: (ExternalSymbol 4 complex@__lpython_overloaded_9__complex 8 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public)}) test_complex_unary_minus (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_13__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs complex@__lpython_overloaded_9__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs complex@__lpython_overloaded_5__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs] [] [(= (Var 4 c) (Cast (FunctionCall 4 complex@__lpython_overloaded_13__complex 4 complex [((IntegerConstant 3 (Integer 4 []))) ((RealConstant 4.500000 (Real 8 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.500000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 3.000000 4.500000 (Complex 4 []))) ()) (= (Var 4 _c) (ComplexUnaryMinus (Var 4 c) (Complex 4 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (Cast (ComplexRe (Var 4 _c) (Real 4 []) ()) RealToReal (Real 8 []) ()) Sub (RealUnaryMinus (RealConstant 3.000000 (Real 8 [])) (Real 8 []) (RealConstant -3.000000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (Cast (ComplexIm (Var 4 _c) (Real 4 []) ()) RealToReal (Real 8 []) ()) Sub (RealUnaryMinus (RealConstant 4.500000 (Real 8 [])) (Real 8 []) (RealConstant -4.500000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 4 _c) (Cast (FunctionCall 4 complex@__lpython_overloaded_9__complex 4 complex [((IntegerConstant 5 (Integer 4 []))) ((IntegerUnaryMinus (IntegerConstant 78 (Integer 4 [])) (Integer 4 []) (IntegerConstant -78 (Integer 4 []))))] (Complex 8 []) (ComplexConstant 5.000000 -78.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 5.000000 -78.000000 (Complex 4 []))) ()) (= (Var 4 _c) (ComplexUnaryMinus (Var 4 _c) (Complex 4 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (Cast (ComplexRe (Var 4 _c) (Real 4 []) ()) RealToReal (Real 8 []) ()) Sub (RealUnaryMinus (RealConstant 5.000000 (Real 8 [])) (Real 8 []) (RealConstant -5.000000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (Cast (ComplexIm (Var 4 _c) (Real 4 []) ()) RealToReal (Real 8 []) ()) Sub (RealConstant 78.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 4 c2) (FunctionCall 4 complex@__lpython_overloaded_5__complex 4 complex [((RealUnaryMinus (RealConstant 4.500000 (Real 8 [])) (Real 8 []) (RealConstant -4.500000 (Real 8 [])))) ((RealUnaryMinus (RealConstant 7.800000 (Real 8 [])) (Real 8 []) (RealConstant -7.800000 (Real 8 []))))] (Complex 8 []) (ComplexConstant -4.500000 -7.800000 (Complex 8 [])) ()) ()) (= (Var 4 c2) (ComplexUnaryMinus (Var 4 c2) (Complex 8 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (ComplexRe (Var 4 c2) (Real 8 []) ()) Sub (RealConstant 4.500000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (ComplexIm (Var 4 c2) (Real 8 []) ()) Sub (RealConstant 7.800000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (= (Var 4 c2) (ComplexBinOp (Cast (IntegerConstant 3 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 3.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 4.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 []))) ()) (= (Var 4 c2) (ComplexUnaryMinus (Var 4 c2) (Complex 8 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (ComplexRe (Var 4 c2) (Real 8 []) ()) Sub (RealUnaryMinus (RealConstant 3.000000 (Real 8 [])) (Real 8 []) (RealConstant -3.000000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 4 abs@__lpython_overloaded_0__abs 4 abs [((RealBinOp (ComplexIm (Var 4 c2) (Real 8 []) ()) Sub (RealUnaryMinus (RealConstant 4.000000 (Real 8 [])) (Real 8 []) (RealConstant -4.000000 (Real 8 []))) (Real 8 []) ()))] (Real 8 []) () ()) LtE (RealConstant 0.000000 (Real 8 [])) (Logical 4 []) ()) ())] () Public .false. .false.), test_real_imag: (Function (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Real 8 []) Source Public Required .false.), abs: (ExternalSymbol 2 abs 8 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 2 abs@__lpython_overloaded_0__abs 8 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), b: (Variable 2 b [] Local () () Default (Real 8 []) Source Public Required .false.), eps: (Variable 2 eps [] Local () () Default (Real 8 []) Source Public Required .false.), x: (Variable 2 x [] Local () () Default (Complex 8 []) Source Public Required .false.)}) test_real_imag (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs] [] [(= (Var 2 x) (ComplexBinOp (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 2.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 3.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 2.000000 3.000000 (Complex 8 []))) ()) (= (Var 2 eps) (RealConstant 0.000000 (Real 8 [])) ()) (= (Var 2 a) (ComplexRe (Var 2 x) (Real 8 []) ()) ()) (= (Var 2 b) (ComplexIm (Var 2 x) (Real 8 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (Var 2 a) Sub (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 2 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (Var 2 b) Sub (RealConstant 3.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 2 eps) (Logical 4 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 112 {_lpython_main_program: (ExternalSymbol 112 _lpython_main_program 114 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 112 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-test_complex_02-782ba2d.json b/tests/reference/asr-test_complex_02-782ba2d.json index decb0ca66d..939078204e 100644 --- a/tests/reference/asr-test_complex_02-782ba2d.json +++ b/tests/reference/asr-test_complex_02-782ba2d.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_complex_02-782ba2d.stdout", - "stdout_hash": "04f336a993dabe3cbad4e6d188cde548139ef92428e0af22ec86a871", + "stdout_hash": "399dc3a266509ec9e3a5c756cf01420c0d6de37ce801bda3bd0014cb", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_complex_02-782ba2d.stdout b/tests/reference/asr-test_complex_02-782ba2d.stdout index 0aa0375a90..f4930efbaf 100644 --- a/tests/reference/asr-test_complex_02-782ba2d.stdout +++ b/tests/reference/asr-test_complex_02-782ba2d.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 112 {_lpython_main_program: (Function (SymbolTable 111 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [check] [] [(SubroutineCall 112 check () [] ())] () Public .false. .false.), check: (Function (SymbolTable 5 {}) check (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_complex_abs test_complex_binop_32 test_complex_binop_64] [] [(SubroutineCall 112 test_complex_abs () [] ()) (SubroutineCall 112 test_complex_binop_32 () [] ()) (SubroutineCall 112 test_complex_binop_64 () [] ())] () Public .false. .false.), test_complex_abs: (Function (SymbolTable 2 {abs: (ExternalSymbol 2 abs 7 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 2 abs@__lpython_overloaded_0__abs 7 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), abs@__lpython_overloaded_7__abs: (ExternalSymbol 2 abs@__lpython_overloaded_7__abs 7 __lpython_overloaded_7__abs lpython_builtin [] __lpython_overloaded_7__abs Public), abs@__lpython_overloaded_8__abs: (ExternalSymbol 2 abs@__lpython_overloaded_8__abs 7 __lpython_overloaded_8__abs lpython_builtin [] __lpython_overloaded_8__abs Public), complex: (ExternalSymbol 2 complex 7 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_9__complex: (ExternalSymbol 2 complex@__lpython_overloaded_9__complex 7 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public), eps: (Variable 2 eps [] Local () () Default (Real 8 []) Source Public Required .false.), x: (Variable 2 x [] Local () () Default (Complex 4 []) Source Public Required .false.), y: (Variable 2 y [] Local () () Default (Complex 8 []) Source Public Required .false.)}) test_complex_abs (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_9__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_7__abs complex@__lpython_overloaded_9__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_8__abs] [] [(= (Var 2 x) (Cast (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 4 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 3.000000 4.000000 (Complex 4 []))) ()) (= (Var 2 eps) (RealConstant 0.000000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (Cast (FunctionCall 2 abs@__lpython_overloaded_7__abs 2 abs [((Var 2 x))] (Real 4 []) () ()) RealToReal (Real 8 []) ()) Sub (RealConstant 5.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (= (Var 2 y) (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 6 (Integer 4 []))) ((IntegerConstant 8 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 6.000000 8.000000 (Complex 8 [])) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 abs@__lpython_overloaded_8__abs 2 abs [((Var 2 y))] (Real 8 []) () ()) Sub (RealConstant 10.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 2 eps) (Logical 4 []) ()) ())] () Public .false. .false.), test_complex_binop_32: (Function (SymbolTable 3 {x: (Variable 3 x [] Local () () Default (Complex 4 []) Source Public Required .false.), y: (Variable 3 y [] Local () () Default (Complex 4 []) Source Public Required .false.), z: (Variable 3 z [] Local () () Default (Complex 4 []) Source Public Required .false.)}) test_complex_binop_32 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 3 x) (Cast (ComplexBinOp (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 2.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 3.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 2.000000 3.000000 (Complex 8 []))) ComplexToComplex (Complex 4 []) (ComplexConstant 2.000000 3.000000 (Complex 4 []))) ()) (= (Var 3 y) (Cast (ComplexBinOp (Cast (IntegerConstant 4 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 4.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 5.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 4.000000 5.000000 (Complex 8 []))) ComplexToComplex (Complex 4 []) (ComplexConstant 4.000000 5.000000 (Complex 4 []))) ()) (= (Var 3 z) (ComplexBinOp (Var 3 x) Add (Var 3 y) (Complex 4 []) ()) ()) (= (Var 3 z) (ComplexBinOp (Var 3 x) Sub (Var 3 y) (Complex 4 []) ()) ()) (= (Var 3 z) (ComplexBinOp (Var 3 x) Mul (Var 3 y) (Complex 4 []) ()) ()) (= (Var 3 z) (ComplexBinOp (Var 3 x) Pow (Var 3 y) (Complex 4 []) ()) ())] () Public .false. .false.), test_complex_binop_64: (Function (SymbolTable 4 {x: (Variable 4 x [] Local () () Default (Complex 8 []) Source Public Required .false.), y: (Variable 4 y [] Local () () Default (Complex 8 []) Source Public Required .false.), z: (Variable 4 z [] Local () () Default (Complex 8 []) Source Public Required .false.)}) test_complex_binop_64 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 4 x) (ComplexBinOp (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 2.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 3.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 2.000000 3.000000 (Complex 8 []))) ()) (= (Var 4 y) (ComplexBinOp (Cast (IntegerConstant 4 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 4.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 5.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 4.000000 5.000000 (Complex 8 []))) ()) (= (Var 4 z) (ComplexBinOp (Var 4 x) Add (Var 4 y) (Complex 8 []) ()) ()) (= (Var 4 z) (ComplexBinOp (Var 4 x) Sub (Var 4 y) (Complex 8 []) ()) ()) (= (Var 4 z) (ComplexBinOp (Var 4 x) Mul (Var 4 y) (Complex 8 []) ()) ()) (= (Var 4 z) (ComplexBinOp (Var 4 x) Pow (Var 4 y) (Complex 8 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 110 {_lpython_main_program: (ExternalSymbol 110 _lpython_main_program 112 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 110 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 113 {_lpython_main_program: (Function (SymbolTable 112 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [check] [] [(SubroutineCall 113 check () [] ())] () Public .false. .false.), check: (Function (SymbolTable 5 {}) check (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_complex_abs test_complex_binop_32 test_complex_binop_64] [] [(SubroutineCall 113 test_complex_abs () [] ()) (SubroutineCall 113 test_complex_binop_32 () [] ()) (SubroutineCall 113 test_complex_binop_64 () [] ())] () Public .false. .false.), test_complex_abs: (Function (SymbolTable 2 {abs: (ExternalSymbol 2 abs 7 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 2 abs@__lpython_overloaded_0__abs 7 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), abs@__lpython_overloaded_7__abs: (ExternalSymbol 2 abs@__lpython_overloaded_7__abs 7 __lpython_overloaded_7__abs lpython_builtin [] __lpython_overloaded_7__abs Public), abs@__lpython_overloaded_8__abs: (ExternalSymbol 2 abs@__lpython_overloaded_8__abs 7 __lpython_overloaded_8__abs lpython_builtin [] __lpython_overloaded_8__abs Public), complex: (ExternalSymbol 2 complex 7 complex lpython_builtin [] complex Private), complex@__lpython_overloaded_9__complex: (ExternalSymbol 2 complex@__lpython_overloaded_9__complex 7 __lpython_overloaded_9__complex lpython_builtin [] __lpython_overloaded_9__complex Public), eps: (Variable 2 eps [] Local () () Default (Real 8 []) Source Public Required .false.), x: (Variable 2 x [] Local () () Default (Complex 4 []) Source Public Required .false.), y: (Variable 2 y [] Local () () Default (Complex 8 []) Source Public Required .false.)}) test_complex_abs (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [complex@__lpython_overloaded_9__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_7__abs complex@__lpython_overloaded_9__complex abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_8__abs] [] [(= (Var 2 x) (Cast (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 3 (Integer 4 []))) ((IntegerConstant 4 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 3.000000 4.000000 (Complex 8 [])) ()) ComplexToComplex (Complex 4 []) (ComplexConstant 3.000000 4.000000 (Complex 4 []))) ()) (= (Var 2 eps) (RealConstant 0.000000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (Cast (FunctionCall 2 abs@__lpython_overloaded_7__abs 2 abs [((Var 2 x))] (Real 4 []) () ()) RealToReal (Real 8 []) ()) Sub (RealConstant 5.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 2 eps) (Logical 4 []) ()) ()) (= (Var 2 y) (FunctionCall 2 complex@__lpython_overloaded_9__complex 2 complex [((IntegerConstant 6 (Integer 4 []))) ((IntegerConstant 8 (Integer 4 [])))] (Complex 8 []) (ComplexConstant 6.000000 8.000000 (Complex 8 [])) ()) ()) (Assert (RealCompare (FunctionCall 2 abs@__lpython_overloaded_0__abs 2 abs [((RealBinOp (FunctionCall 2 abs@__lpython_overloaded_8__abs 2 abs [((Var 2 y))] (Real 8 []) () ()) Sub (RealConstant 10.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 2 eps) (Logical 4 []) ()) ())] () Public .false. .false.), test_complex_binop_32: (Function (SymbolTable 3 {x: (Variable 3 x [] Local () () Default (Complex 4 []) Source Public Required .false.), y: (Variable 3 y [] Local () () Default (Complex 4 []) Source Public Required .false.), z: (Variable 3 z [] Local () () Default (Complex 4 []) Source Public Required .false.)}) test_complex_binop_32 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 3 x) (Cast (ComplexBinOp (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 2.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 3.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 2.000000 3.000000 (Complex 8 []))) ComplexToComplex (Complex 4 []) (ComplexConstant 2.000000 3.000000 (Complex 4 []))) ()) (= (Var 3 y) (Cast (ComplexBinOp (Cast (IntegerConstant 4 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 4.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 5.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 4.000000 5.000000 (Complex 8 []))) ComplexToComplex (Complex 4 []) (ComplexConstant 4.000000 5.000000 (Complex 4 []))) ()) (= (Var 3 z) (ComplexBinOp (Var 3 x) Add (Var 3 y) (Complex 4 []) ()) ()) (= (Var 3 z) (ComplexBinOp (Var 3 x) Sub (Var 3 y) (Complex 4 []) ()) ()) (= (Var 3 z) (ComplexBinOp (Var 3 x) Mul (Var 3 y) (Complex 4 []) ()) ()) (= (Var 3 z) (ComplexBinOp (Var 3 x) Pow (Var 3 y) (Complex 4 []) ()) ())] () Public .false. .false.), test_complex_binop_64: (Function (SymbolTable 4 {x: (Variable 4 x [] Local () () Default (Complex 8 []) Source Public Required .false.), y: (Variable 4 y [] Local () () Default (Complex 8 []) Source Public Required .false.), z: (Variable 4 z [] Local () () Default (Complex 8 []) Source Public Required .false.)}) test_complex_binop_64 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(= (Var 4 x) (ComplexBinOp (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 2.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 3.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 2.000000 3.000000 (Complex 8 []))) ()) (= (Var 4 y) (ComplexBinOp (Cast (IntegerConstant 4 (Integer 4 [])) IntegerToComplex (Complex 8 []) (ComplexConstant 4.000000 0.000000 (Complex 8 []))) Add (ComplexConstant 0.000000 5.000000 (Complex 8 [])) (Complex 8 []) (ComplexConstant 4.000000 5.000000 (Complex 8 []))) ()) (= (Var 4 z) (ComplexBinOp (Var 4 x) Add (Var 4 y) (Complex 8 []) ()) ()) (= (Var 4 z) (ComplexBinOp (Var 4 x) Sub (Var 4 y) (Complex 8 []) ()) ()) (= (Var 4 z) (ComplexBinOp (Var 4 x) Mul (Var 4 y) (Complex 8 []) ()) ()) (= (Var 4 z) (ComplexBinOp (Var 4 x) Pow (Var 4 y) (Complex 8 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 111 {_lpython_main_program: (ExternalSymbol 111 _lpython_main_program 113 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 111 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-test_max_min-3c2fc51.json b/tests/reference/asr-test_max_min-3c2fc51.json index 3dd82c78f0..a5a75fd9a9 100644 --- a/tests/reference/asr-test_max_min-3c2fc51.json +++ b/tests/reference/asr-test_max_min-3c2fc51.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_max_min-3c2fc51.stdout", - "stdout_hash": "96fa7048982d0572d04665ac4c7f69f677dee9cd7f65b1406ad65d4f", + "stdout_hash": "ec27917710a6f0c81fd6d347e88d8a0c640c82acf46015e601a05fea", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_max_min-3c2fc51.stdout b/tests/reference/asr-test_max_min-3c2fc51.stdout index c29a5399cf..3535a90327 100644 --- a/tests/reference/asr-test_max_min-3c2fc51.stdout +++ b/tests/reference/asr-test_max_min-3c2fc51.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 113 {_lpython_main_program: (Function (SymbolTable 112 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [check] [] [(SubroutineCall 113 check () [] ())] () Public .false. .false.), check: (Function (SymbolTable 6 {}) check (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_max_int test_max_float test_min_int test_min_float] [] [(SubroutineCall 113 test_max_int () [] ()) (SubroutineCall 113 test_max_float () [] ()) (SubroutineCall 113 test_min_int () [] ()) (SubroutineCall 113 test_min_float () [] ())] () Public .false. .false.), test_max_float: (Function (SymbolTable 3 {d: (Variable 3 d [] Local () () Default (Real 8 []) Source Public Required .false.), e: (Variable 3 e [] Local () () Default (Real 8 []) Source Public Required .false.), f: (Variable 3 f [] Local () () Default (Real 8 []) Source Public Required .false.), max: (ExternalSymbol 3 max 8 max lpython_builtin [] max Private), max@__lpython_overloaded_2__max: (ExternalSymbol 3 max@__lpython_overloaded_2__max 8 __lpython_overloaded_2__max lpython_builtin [] __lpython_overloaded_2__max Public), max@__lpython_overloaded_3__max: (ExternalSymbol 3 max@__lpython_overloaded_3__max 8 __lpython_overloaded_3__max lpython_builtin [] __lpython_overloaded_3__max Public)}) test_max_float (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [max@__lpython_overloaded_2__max max@__lpython_overloaded_3__max] [] [(= (Var 3 d) (RealConstant 23.233000 (Real 8 [])) ()) (= (Var 3 e) (RealConstant 23.223300 (Real 8 [])) ()) (= (Var 3 f) (RealConstant 21.230000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 3 max@__lpython_overloaded_2__max 3 max [((Var 3 d)) ((Var 3 e)) ((Var 3 f))] (Real 8 []) () ()) Eq (Var 3 d) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 max@__lpython_overloaded_3__max 3 max [((Var 3 e)) ((Var 3 f))] (Real 8 []) () ()) Eq (Var 3 e) (Logical 4 []) ()) ())] () Public .false. .false.), test_max_int: (Function (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Integer 4 []) Source Public Required .false.), b: (Variable 2 b [] Local () () Default (Integer 4 []) Source Public Required .false.), c: (Variable 2 c [] Local () () Default (Integer 4 []) Source Public Required .false.), max: (ExternalSymbol 2 max 8 max lpython_builtin [] max Private), max@__lpython_overloaded_0__max: (ExternalSymbol 2 max@__lpython_overloaded_0__max 8 __lpython_overloaded_0__max lpython_builtin [] __lpython_overloaded_0__max Public), max@__lpython_overloaded_1__max: (ExternalSymbol 2 max@__lpython_overloaded_1__max 8 __lpython_overloaded_1__max lpython_builtin [] __lpython_overloaded_1__max Public)}) test_max_int (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [max@__lpython_overloaded_0__max max@__lpython_overloaded_1__max max@__lpython_overloaded_1__max max@__lpython_overloaded_0__max] [] [(= (Var 2 a) (IntegerConstant 1 (Integer 4 [])) ()) (= (Var 2 b) (IntegerConstant 2 (Integer 4 [])) ()) (= (Var 2 c) (IntegerConstant 3 (Integer 4 [])) ()) (Assert (IntegerCompare (FunctionCall 2 max@__lpython_overloaded_0__max 2 max [((Var 2 a)) ((Var 2 b))] (Integer 4 []) () ()) Eq (Var 2 b) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 max@__lpython_overloaded_1__max 2 max [((Var 2 a)) ((Var 2 b)) ((Var 2 c))] (Integer 4 []) () ()) Eq (Var 2 c) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 max@__lpython_overloaded_1__max 2 max [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 [])))] (Integer 4 []) (IntegerConstant 3 (Integer 4 [])) ()) Eq (IntegerConstant 3 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 max@__lpython_overloaded_0__max 2 max [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 6 (Integer 4 [])))] (Integer 4 []) (IntegerConstant 6 (Integer 4 [])) ()) Eq (IntegerConstant 6 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ())] () Public .false. .false.), test_min_float: (Function (SymbolTable 5 {d: (Variable 5 d [] Local () () Default (Real 8 []) Source Public Required .false.), e: (Variable 5 e [] Local () () Default (Real 8 []) Source Public Required .false.), f: (Variable 5 f [] Local () () Default (Real 8 []) Source Public Required .false.), min: (ExternalSymbol 5 min 8 min lpython_builtin [] min Private), min@__lpython_overloaded_2__min: (ExternalSymbol 5 min@__lpython_overloaded_2__min 8 __lpython_overloaded_2__min lpython_builtin [] __lpython_overloaded_2__min Public), min@__lpython_overloaded_3__min: (ExternalSymbol 5 min@__lpython_overloaded_3__min 8 __lpython_overloaded_3__min lpython_builtin [] __lpython_overloaded_3__min Public)}) test_min_float (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [min@__lpython_overloaded_2__min min@__lpython_overloaded_3__min] [] [(= (Var 5 d) (RealConstant 23.233000 (Real 8 [])) ()) (= (Var 5 e) (RealConstant 23.223300 (Real 8 [])) ()) (= (Var 5 f) (RealConstant 21.230000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 5 min@__lpython_overloaded_2__min 5 min [((Var 5 d)) ((Var 5 e)) ((Var 5 f))] (Real 8 []) () ()) Eq (Var 5 f) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 5 min@__lpython_overloaded_3__min 5 min [((Var 5 e)) ((Var 5 f))] (Real 8 []) () ()) Eq (Var 5 f) (Logical 4 []) ()) ())] () Public .false. .false.), test_min_int: (Function (SymbolTable 4 {a: (Variable 4 a [] Local () () Default (Integer 4 []) Source Public Required .false.), b: (Variable 4 b [] Local () () Default (Integer 4 []) Source Public Required .false.), c: (Variable 4 c [] Local () () Default (Integer 4 []) Source Public Required .false.), min: (ExternalSymbol 4 min 8 min lpython_builtin [] min Private), min@__lpython_overloaded_0__min: (ExternalSymbol 4 min@__lpython_overloaded_0__min 8 __lpython_overloaded_0__min lpython_builtin [] __lpython_overloaded_0__min Public), min@__lpython_overloaded_1__min: (ExternalSymbol 4 min@__lpython_overloaded_1__min 8 __lpython_overloaded_1__min lpython_builtin [] __lpython_overloaded_1__min Public)}) test_min_int (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [min@__lpython_overloaded_0__min min@__lpython_overloaded_1__min min@__lpython_overloaded_1__min min@__lpython_overloaded_0__min] [] [(= (Var 4 a) (IntegerConstant 1 (Integer 4 [])) ()) (= (Var 4 b) (IntegerConstant 2 (Integer 4 [])) ()) (= (Var 4 c) (IntegerConstant 3 (Integer 4 [])) ()) (Assert (IntegerCompare (FunctionCall 4 min@__lpython_overloaded_0__min 4 min [((Var 4 a)) ((Var 4 b))] (Integer 4 []) () ()) Eq (Var 4 a) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 4 min@__lpython_overloaded_1__min 4 min [((Var 4 a)) ((Var 4 b)) ((Var 4 c))] (Integer 4 []) () ()) Eq (Var 4 a) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 4 min@__lpython_overloaded_1__min 4 min [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 [])))] (Integer 4 []) (IntegerConstant 1 (Integer 4 [])) ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 4 min@__lpython_overloaded_0__min 4 min [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 6 (Integer 4 [])))] (Integer 4 []) (IntegerConstant 1 (Integer 4 [])) ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 111 {_lpython_main_program: (ExternalSymbol 111 _lpython_main_program 113 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 111 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 114 {_lpython_main_program: (Function (SymbolTable 113 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [check] [] [(SubroutineCall 114 check () [] ())] () Public .false. .false.), check: (Function (SymbolTable 6 {}) check (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_max_int test_max_float test_min_int test_min_float] [] [(SubroutineCall 114 test_max_int () [] ()) (SubroutineCall 114 test_max_float () [] ()) (SubroutineCall 114 test_min_int () [] ()) (SubroutineCall 114 test_min_float () [] ())] () Public .false. .false.), test_max_float: (Function (SymbolTable 3 {d: (Variable 3 d [] Local () () Default (Real 8 []) Source Public Required .false.), e: (Variable 3 e [] Local () () Default (Real 8 []) Source Public Required .false.), f: (Variable 3 f [] Local () () Default (Real 8 []) Source Public Required .false.), max: (ExternalSymbol 3 max 8 max lpython_builtin [] max Private), max@__lpython_overloaded_2__max: (ExternalSymbol 3 max@__lpython_overloaded_2__max 8 __lpython_overloaded_2__max lpython_builtin [] __lpython_overloaded_2__max Public), max@__lpython_overloaded_3__max: (ExternalSymbol 3 max@__lpython_overloaded_3__max 8 __lpython_overloaded_3__max lpython_builtin [] __lpython_overloaded_3__max Public)}) test_max_float (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [max@__lpython_overloaded_2__max max@__lpython_overloaded_3__max] [] [(= (Var 3 d) (RealConstant 23.233000 (Real 8 [])) ()) (= (Var 3 e) (RealConstant 23.223300 (Real 8 [])) ()) (= (Var 3 f) (RealConstant 21.230000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 3 max@__lpython_overloaded_2__max 3 max [((Var 3 d)) ((Var 3 e)) ((Var 3 f))] (Real 8 []) () ()) Eq (Var 3 d) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 3 max@__lpython_overloaded_3__max 3 max [((Var 3 e)) ((Var 3 f))] (Real 8 []) () ()) Eq (Var 3 e) (Logical 4 []) ()) ())] () Public .false. .false.), test_max_int: (Function (SymbolTable 2 {a: (Variable 2 a [] Local () () Default (Integer 4 []) Source Public Required .false.), b: (Variable 2 b [] Local () () Default (Integer 4 []) Source Public Required .false.), c: (Variable 2 c [] Local () () Default (Integer 4 []) Source Public Required .false.), max: (ExternalSymbol 2 max 8 max lpython_builtin [] max Private), max@__lpython_overloaded_0__max: (ExternalSymbol 2 max@__lpython_overloaded_0__max 8 __lpython_overloaded_0__max lpython_builtin [] __lpython_overloaded_0__max Public), max@__lpython_overloaded_1__max: (ExternalSymbol 2 max@__lpython_overloaded_1__max 8 __lpython_overloaded_1__max lpython_builtin [] __lpython_overloaded_1__max Public)}) test_max_int (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [max@__lpython_overloaded_0__max max@__lpython_overloaded_1__max max@__lpython_overloaded_1__max max@__lpython_overloaded_0__max] [] [(= (Var 2 a) (IntegerConstant 1 (Integer 4 [])) ()) (= (Var 2 b) (IntegerConstant 2 (Integer 4 [])) ()) (= (Var 2 c) (IntegerConstant 3 (Integer 4 [])) ()) (Assert (IntegerCompare (FunctionCall 2 max@__lpython_overloaded_0__max 2 max [((Var 2 a)) ((Var 2 b))] (Integer 4 []) () ()) Eq (Var 2 b) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 max@__lpython_overloaded_1__max 2 max [((Var 2 a)) ((Var 2 b)) ((Var 2 c))] (Integer 4 []) () ()) Eq (Var 2 c) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 2 max@__lpython_overloaded_1__max 2 max [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 [])))] (Integer 4 []) (IntegerConstant 3 (Integer 4 [])) ()) Eq (IntegerConstant 3 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 2 max@__lpython_overloaded_0__max 2 max [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 6 (Integer 4 [])))] (Integer 4 []) (IntegerConstant 6 (Integer 4 [])) ()) Eq (IntegerConstant 6 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ())] () Public .false. .false.), test_min_float: (Function (SymbolTable 5 {d: (Variable 5 d [] Local () () Default (Real 8 []) Source Public Required .false.), e: (Variable 5 e [] Local () () Default (Real 8 []) Source Public Required .false.), f: (Variable 5 f [] Local () () Default (Real 8 []) Source Public Required .false.), min: (ExternalSymbol 5 min 8 min lpython_builtin [] min Private), min@__lpython_overloaded_2__min: (ExternalSymbol 5 min@__lpython_overloaded_2__min 8 __lpython_overloaded_2__min lpython_builtin [] __lpython_overloaded_2__min Public), min@__lpython_overloaded_3__min: (ExternalSymbol 5 min@__lpython_overloaded_3__min 8 __lpython_overloaded_3__min lpython_builtin [] __lpython_overloaded_3__min Public)}) test_min_float (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [min@__lpython_overloaded_2__min min@__lpython_overloaded_3__min] [] [(= (Var 5 d) (RealConstant 23.233000 (Real 8 [])) ()) (= (Var 5 e) (RealConstant 23.223300 (Real 8 [])) ()) (= (Var 5 f) (RealConstant 21.230000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 5 min@__lpython_overloaded_2__min 5 min [((Var 5 d)) ((Var 5 e)) ((Var 5 f))] (Real 8 []) () ()) Eq (Var 5 f) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 5 min@__lpython_overloaded_3__min 5 min [((Var 5 e)) ((Var 5 f))] (Real 8 []) () ()) Eq (Var 5 f) (Logical 4 []) ()) ())] () Public .false. .false.), test_min_int: (Function (SymbolTable 4 {a: (Variable 4 a [] Local () () Default (Integer 4 []) Source Public Required .false.), b: (Variable 4 b [] Local () () Default (Integer 4 []) Source Public Required .false.), c: (Variable 4 c [] Local () () Default (Integer 4 []) Source Public Required .false.), min: (ExternalSymbol 4 min 8 min lpython_builtin [] min Private), min@__lpython_overloaded_0__min: (ExternalSymbol 4 min@__lpython_overloaded_0__min 8 __lpython_overloaded_0__min lpython_builtin [] __lpython_overloaded_0__min Public), min@__lpython_overloaded_1__min: (ExternalSymbol 4 min@__lpython_overloaded_1__min 8 __lpython_overloaded_1__min lpython_builtin [] __lpython_overloaded_1__min Public)}) test_min_int (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [min@__lpython_overloaded_0__min min@__lpython_overloaded_1__min min@__lpython_overloaded_1__min min@__lpython_overloaded_0__min] [] [(= (Var 4 a) (IntegerConstant 1 (Integer 4 [])) ()) (= (Var 4 b) (IntegerConstant 2 (Integer 4 [])) ()) (= (Var 4 c) (IntegerConstant 3 (Integer 4 [])) ()) (Assert (IntegerCompare (FunctionCall 4 min@__lpython_overloaded_0__min 4 min [((Var 4 a)) ((Var 4 b))] (Integer 4 []) () ()) Eq (Var 4 a) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 4 min@__lpython_overloaded_1__min 4 min [((Var 4 a)) ((Var 4 b)) ((Var 4 c))] (Integer 4 []) () ()) Eq (Var 4 a) (Logical 4 []) ()) ()) (Assert (IntegerCompare (FunctionCall 4 min@__lpython_overloaded_1__min 4 min [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 []))) ((IntegerConstant 3 (Integer 4 [])))] (Integer 4 []) (IntegerConstant 1 (Integer 4 [])) ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ()) (Assert (IntegerCompare (FunctionCall 4 min@__lpython_overloaded_0__min 4 min [((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 6 (Integer 4 [])))] (Integer 4 []) (IntegerConstant 1 (Integer 4 [])) ()) Eq (IntegerConstant 1 (Integer 4 [])) (Logical 4 []) (LogicalConstant .true. (Logical 4 []))) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 112 {_lpython_main_program: (ExternalSymbol 112 _lpython_main_program 114 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 112 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-test_numpy_03-e600a49.json b/tests/reference/asr-test_numpy_03-e600a49.json index 08c980f0b6..997098c4ac 100644 --- a/tests/reference/asr-test_numpy_03-e600a49.json +++ b/tests/reference/asr-test_numpy_03-e600a49.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_numpy_03-e600a49.stdout", - "stdout_hash": "8337504e81fcd41d4acffa6f88de1c36be4a195c14327a56365f54f1", + "stdout_hash": "f51b2b1546adb1b1d984c2f41b8eb22a69f07b59d8f237f11ad567f2", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_numpy_03-e600a49.stdout b/tests/reference/asr-test_numpy_03-e600a49.stdout index c871d5485c..974eeb0974 100644 --- a/tests/reference/asr-test_numpy_03-e600a49.stdout +++ b/tests/reference/asr-test_numpy_03-e600a49.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 201 {_lpython_main_program: (Function (SymbolTable 200 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_reshape_with_argument] [] [(SubroutineCall 201 test_reshape_with_argument () [] ())] () Public .false. .false.), test_1d_to_nd: (Function (SymbolTable 183 {a: (Variable 183 a [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) Source Public Required .false.), b: (Variable 183 b [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 [])))]) Source Public Required .false.), block: (Block (SymbolTable 190 {_lpython_floordiv: (ExternalSymbol 190 _lpython_floordiv 79 _lpython_floordiv lpython_builtin [] _lpython_floordiv Private), _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv: (ExternalSymbol 190 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 79 __lpython_overloaded_4___lpython_floordiv lpython_builtin [] __lpython_overloaded_4___lpython_floordiv Public)}) block [(= (Var 183 i) (FunctionCall 190 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 190 _lpython_floordiv [((Var 183 k)) ((IntegerConstant 16 (Integer 4 [])))] (Integer 4 []) () ()) ()) (= (Var 183 j) (IntegerBinOp (Var 183 k) Sub (IntegerBinOp (Var 183 i) Mul (IntegerConstant 16 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ()) ()) (= (ArrayItem (Var 183 b) [(() (Var 183 k) ())] (Real 8 []) RowMajor ()) (RealBinOp (Cast (IntegerBinOp (Var 183 i) Add (Var 183 j) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) Add (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()) ())]), block1: (Block (SymbolTable 191 {block: (Block (SymbolTable 192 {abs: (ExternalSymbol 192 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 192 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public)}) block [(Assert (RealCompare (FunctionCall 192 abs@__lpython_overloaded_0__abs 192 abs [((RealBinOp (RealBinOp (ArrayItem (Var 183 a) [(() (Var 183 i) ()) (() (Var 183 j) ())] (Real 8 []) RowMajor ()) Sub (Cast (IntegerBinOp (Var 183 i) Add (Var 183 j) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) Sub (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 183 eps) (Logical 4 []) ()) ())])}) block1 [(DoLoop ((Var 183 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 191 block)])]), block2: (Block (SymbolTable 193 {block: (Block (SymbolTable 194 {block: (Block (SymbolTable 195 {abs: (ExternalSymbol 195 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 195 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public)}) block [(Assert (RealCompare (FunctionCall 195 abs@__lpython_overloaded_0__abs 195 abs [((RealBinOp (RealBinOp (ArrayItem (Var 183 c) [(() (Var 183 i) ()) (() (Var 183 j) ()) (() (Var 183 k) ())] (Real 8 []) RowMajor ()) Sub (Cast (IntegerBinOp (IntegerBinOp (Var 183 i) Add (Var 183 j) (Integer 4 []) ()) Add (Var 183 k) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) Sub (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 183 eps) (Logical 4 []) ()) ())])}) block [(DoLoop ((Var 183 k) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 194 block)])])}) block2 [(DoLoop ((Var 183 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 193 block)])]), c: (Variable 183 c [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) Source Public Required .false.), d: (Variable 183 d [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.), eps: (Variable 183 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 183 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 183 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 183 k [] Local () () Default (Integer 4 []) Source Public Required .false.), l: (Variable 183 l [] Local () () Default (Integer 4 []) Source Public Required .false.), newshape: (Variable 183 newshape [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])))]) Source Public Required .false.), newshape1: (Variable 183 newshape1 [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.)}) test_1d_to_nd (FunctionType [(Real 8 [(() ())])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [_lpython_floordiv@__lpython_overloaded_4___lpython_floordiv abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs] [(Var 183 d)] [(= (Var 183 eps) (RealConstant 0.000000 (Real 8 [])) ()) (DoLoop ((Var 183 k) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 256 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 255 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 183 block)]) (= (ArrayItem (Var 183 newshape) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 16 (Integer 4 [])) ()) (= (ArrayItem (Var 183 newshape) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 16 (Integer 4 [])) ()) (= (Var 183 a) (ArrayReshape (Var 183 b) (Var 183 newshape) (Real 8 [(() ())]) ()) ()) (DoLoop ((Var 183 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 183 block1)]) (= (ArrayItem (Var 183 newshape1) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 16 (Integer 4 [])) ()) (= (ArrayItem (Var 183 newshape1) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 16 (Integer 4 [])) ()) (= (ArrayItem (Var 183 newshape1) [(() (IntegerConstant 2 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 16 (Integer 4 [])) ()) (= (Var 183 c) (ArrayReshape (Var 183 d) (Var 183 newshape1) (Real 8 [(() ())]) ()) ()) (DoLoop ((Var 183 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 183 block2)])] () Public .false. .false.), test_nd_to_1d: (Function (SymbolTable 182 {a: (Variable 182 a [] InOut () () Default (Real 8 [(() ()) (() ())]) Source Public Required .false.), b: (Variable 182 b [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 [])))]) Source Public Required .false.), block: (Block (SymbolTable 185 {_lpython_floordiv: (ExternalSymbol 185 _lpython_floordiv 79 _lpython_floordiv lpython_builtin [] _lpython_floordiv Private), _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv: (ExternalSymbol 185 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 79 __lpython_overloaded_4___lpython_floordiv lpython_builtin [] __lpython_overloaded_4___lpython_floordiv Public), abs: (ExternalSymbol 185 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 185 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public)}) block [(= (Var 182 i) (FunctionCall 185 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 185 _lpython_floordiv [((Var 182 k)) ((IntegerConstant 16 (Integer 4 [])))] (Integer 4 []) () ()) ()) (= (Var 182 j) (IntegerBinOp (Var 182 k) Sub (IntegerBinOp (Var 182 i) Mul (IntegerConstant 16 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ()) ()) (Assert (RealCompare (FunctionCall 185 abs@__lpython_overloaded_0__abs 185 abs [((RealBinOp (RealBinOp (ArrayItem (Var 182 b) [(() (Var 182 k) ())] (Real 8 []) RowMajor ()) Sub (Cast (IntegerBinOp (Var 182 i) Add (Var 182 j) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) Sub (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 182 eps) (Logical 4 []) ()) ())]), block1: (Block (SymbolTable 189 {_lpython_floordiv: (ExternalSymbol 189 _lpython_floordiv 79 _lpython_floordiv lpython_builtin [] _lpython_floordiv Private), _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv: (ExternalSymbol 189 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 79 __lpython_overloaded_4___lpython_floordiv lpython_builtin [] __lpython_overloaded_4___lpython_floordiv Public), abs: (ExternalSymbol 189 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 189 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public)}) block1 [(= (Var 182 i) (Cast (Cast (RealBinOp (Cast (Var 182 l) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 256 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 256.000000 (Real 8 []))) (Real 8 []) ()) RealToInteger (Integer 8 []) ()) IntegerToInteger (Integer 4 []) ()) ()) (= (Var 182 j) (FunctionCall 189 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 189 _lpython_floordiv [((IntegerBinOp (Var 182 l) Sub (IntegerBinOp (Var 182 i) Mul (IntegerConstant 256 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ())) ((IntegerConstant 16 (Integer 4 [])))] (Integer 4 []) () ()) ()) (= (Var 182 k) (IntegerBinOp (IntegerBinOp (Var 182 l) Sub (IntegerBinOp (Var 182 i) Mul (IntegerConstant 256 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ()) Sub (IntegerBinOp (Var 182 j) Mul (IntegerConstant 16 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ()) ()) (Assert (RealCompare (FunctionCall 189 abs@__lpython_overloaded_0__abs 189 abs [((RealBinOp (RealBinOp (ArrayItem (Var 182 d) [(() (Var 182 l) ())] (Real 8 []) RowMajor ()) Sub (Cast (IntegerBinOp (IntegerBinOp (Var 182 i) Add (Var 182 j) (Integer 4 []) ()) Add (Var 182 k) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) Sub (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 182 eps) (Logical 4 []) ()) ())]), c: (Variable 182 c [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) Source Public Required .false.), d: (Variable 182 d [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4096 (Integer 4 [])))]) Source Public Required .false.), eps: (Variable 182 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 182 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 182 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 182 k [] Local () () Default (Integer 4 []) Source Public Required .false.), l: (Variable 182 l [] Local () () Default (Integer 4 []) Source Public Required .false.), newshape: (Variable 182 newshape [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), newshape1: (Variable 182 newshape1 [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.)}) test_nd_to_1d (FunctionType [(Real 8 [(() ()) (() ())])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [_lpython_floordiv@__lpython_overloaded_4___lpython_floordiv abs@__lpython_overloaded_0__abs _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv abs@__lpython_overloaded_0__abs _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv abs@__lpython_overloaded_0__abs _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv abs@__lpython_overloaded_0__abs] [(Var 182 a)] [(= (Var 182 eps) (RealConstant 0.000000 (Real 8 [])) ()) (= (ArrayItem (Var 182 newshape) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 256 (Integer 4 [])) ()) (= (Var 182 b) (ArrayReshape (Var 182 a) (Var 182 newshape) (Real 8 [(() ())]) ()) ()) (DoLoop ((Var 182 k) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 256 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 255 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 182 block)]) (DoLoop ((Var 182 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 182 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 182 k) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 182 c) [(() (Var 182 i) ()) (() (Var 182 j) ()) (() (Var 182 k) ())] (Real 8 []) RowMajor ()) (RealBinOp (Cast (IntegerBinOp (IntegerBinOp (Var 182 i) Add (Var 182 j) (Integer 4 []) ()) Add (Var 182 k) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) Add (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()) ())])])]) (= (ArrayItem (Var 182 newshape1) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 4096 (Integer 4 [])) ()) (= (Var 182 d) (ArrayReshape (Var 182 c) (Var 182 newshape1) (Real 8 [(() ())]) ()) ()) (DoLoop ((Var 182 l) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 4096 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 4095 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 182 block1)])] () Public .false. .false.), test_reshape_with_argument: (Function (SymbolTable 184 {a: (Variable 184 a [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) Source Public Required .false.), block: (Block (SymbolTable 198 {_lpython_floordiv: (ExternalSymbol 198 _lpython_floordiv 79 _lpython_floordiv lpython_builtin [] _lpython_floordiv Private), _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv: (ExternalSymbol 198 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 79 __lpython_overloaded_4___lpython_floordiv lpython_builtin [] __lpython_overloaded_4___lpython_floordiv Public)}) block [(= (Var 184 i) (Cast (Cast (RealBinOp (Cast (Var 184 l) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 256 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 256.000000 (Real 8 []))) (Real 8 []) ()) RealToInteger (Integer 8 []) ()) IntegerToInteger (Integer 4 []) ()) ()) (= (Var 184 j) (FunctionCall 198 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 198 _lpython_floordiv [((IntegerBinOp (Var 184 l) Sub (IntegerBinOp (Var 184 i) Mul (IntegerConstant 256 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ())) ((IntegerConstant 16 (Integer 4 [])))] (Integer 4 []) () ()) ()) (= (Var 184 k) (IntegerBinOp (IntegerBinOp (Var 184 l) Sub (IntegerBinOp (Var 184 i) Mul (IntegerConstant 256 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ()) Sub (IntegerBinOp (Var 184 j) Mul (IntegerConstant 16 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ()) ()) (= (ArrayItem (Var 184 d) [(() (Var 184 l) ())] (Real 8 []) RowMajor ()) (RealBinOp (Cast (IntegerBinOp (IntegerBinOp (Var 184 i) Add (Var 184 j) (Integer 4 []) ()) Add (Var 184 k) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) Add (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()) ())]), d: (Variable 184 d [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4096 (Integer 4 [])))]) Source Public Required .false.), i: (Variable 184 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 184 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 184 k [] Local () () Default (Integer 4 []) Source Public Required .false.), l: (Variable 184 l [] Local () () Default (Integer 4 []) Source Public Required .false.)}) test_reshape_with_argument (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [_lpython_floordiv@__lpython_overloaded_4___lpython_floordiv test_nd_to_1d _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv test_1d_to_nd] [] [(DoLoop ((Var 184 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 184 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 184 a) [(() (Var 184 i) ()) (() (Var 184 j) ())] (Real 8 []) RowMajor ()) (RealBinOp (Cast (IntegerBinOp (Var 184 i) Add (Var 184 j) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) Add (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()) ())])]) (SubroutineCall 201 test_nd_to_1d () [((Var 184 a))] ()) (DoLoop ((Var 184 l) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 4096 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 4095 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 184 block)]) (SubroutineCall 201 test_1d_to_nd () [((Var 184 d))] ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 199 {_lpython_main_program: (ExternalSymbol 199 _lpython_main_program 201 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 199 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_4___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_4___mod 79 __lpython_overloaded_4___mod lpython_builtin [] __lpython_overloaded_4___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_4___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_4___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_2___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 0.500000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) (RealConstant 3.141593 (Real 4 [])) Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) (RealConstant 3.141593 (Real 8 [])) Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 202 {_lpython_main_program: (Function (SymbolTable 201 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_reshape_with_argument] [] [(SubroutineCall 202 test_reshape_with_argument () [] ())] () Public .false. .false.), test_1d_to_nd: (Function (SymbolTable 184 {a: (Variable 184 a [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) Source Public Required .false.), b: (Variable 184 b [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 [])))]) Source Public Required .false.), block: (Block (SymbolTable 191 {_lpython_floordiv: (ExternalSymbol 191 _lpython_floordiv 79 _lpython_floordiv lpython_builtin [] _lpython_floordiv Private), _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv: (ExternalSymbol 191 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 79 __lpython_overloaded_4___lpython_floordiv lpython_builtin [] __lpython_overloaded_4___lpython_floordiv Public)}) block [(= (Var 184 i) (FunctionCall 191 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 191 _lpython_floordiv [((Var 184 k)) ((IntegerConstant 16 (Integer 4 [])))] (Integer 4 []) () ()) ()) (= (Var 184 j) (IntegerBinOp (Var 184 k) Sub (IntegerBinOp (Var 184 i) Mul (IntegerConstant 16 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ()) ()) (= (ArrayItem (Var 184 b) [(() (Var 184 k) ())] (Real 8 []) RowMajor ()) (RealBinOp (Cast (IntegerBinOp (Var 184 i) Add (Var 184 j) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) Add (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()) ())]), block1: (Block (SymbolTable 192 {block: (Block (SymbolTable 193 {abs: (ExternalSymbol 193 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 193 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public)}) block [(Assert (RealCompare (FunctionCall 193 abs@__lpython_overloaded_0__abs 193 abs [((RealBinOp (RealBinOp (ArrayItem (Var 184 a) [(() (Var 184 i) ()) (() (Var 184 j) ())] (Real 8 []) RowMajor ()) Sub (Cast (IntegerBinOp (Var 184 i) Add (Var 184 j) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) Sub (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 184 eps) (Logical 4 []) ()) ())])}) block1 [(DoLoop ((Var 184 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 192 block)])]), block2: (Block (SymbolTable 194 {block: (Block (SymbolTable 195 {block: (Block (SymbolTable 196 {abs: (ExternalSymbol 196 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 196 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public)}) block [(Assert (RealCompare (FunctionCall 196 abs@__lpython_overloaded_0__abs 196 abs [((RealBinOp (RealBinOp (ArrayItem (Var 184 c) [(() (Var 184 i) ()) (() (Var 184 j) ()) (() (Var 184 k) ())] (Real 8 []) RowMajor ()) Sub (Cast (IntegerBinOp (IntegerBinOp (Var 184 i) Add (Var 184 j) (Integer 4 []) ()) Add (Var 184 k) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) Sub (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 184 eps) (Logical 4 []) ()) ())])}) block [(DoLoop ((Var 184 k) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 195 block)])])}) block2 [(DoLoop ((Var 184 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 194 block)])]), c: (Variable 184 c [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) Source Public Required .false.), d: (Variable 184 d [] InOut () () Default (Real 8 [(() ())]) Source Public Required .false.), eps: (Variable 184 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 184 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 184 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 184 k [] Local () () Default (Integer 4 []) Source Public Required .false.), l: (Variable 184 l [] Local () () Default (Integer 4 []) Source Public Required .false.), newshape: (Variable 184 newshape [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])))]) Source Public Required .false.), newshape1: (Variable 184 newshape1 [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.)}) test_1d_to_nd (FunctionType [(Real 8 [(() ())])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [_lpython_floordiv@__lpython_overloaded_4___lpython_floordiv abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs] [(Var 184 d)] [(= (Var 184 eps) (RealConstant 0.000000 (Real 8 [])) ()) (DoLoop ((Var 184 k) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 256 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 255 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 184 block)]) (= (ArrayItem (Var 184 newshape) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 16 (Integer 4 [])) ()) (= (ArrayItem (Var 184 newshape) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 16 (Integer 4 [])) ()) (= (Var 184 a) (ArrayReshape (Var 184 b) (Var 184 newshape) (Real 8 [(() ())]) ()) ()) (DoLoop ((Var 184 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 184 block1)]) (= (ArrayItem (Var 184 newshape1) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 16 (Integer 4 [])) ()) (= (ArrayItem (Var 184 newshape1) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 16 (Integer 4 [])) ()) (= (ArrayItem (Var 184 newshape1) [(() (IntegerConstant 2 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 16 (Integer 4 [])) ()) (= (Var 184 c) (ArrayReshape (Var 184 d) (Var 184 newshape1) (Real 8 [(() ())]) ()) ()) (DoLoop ((Var 184 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 184 block2)])] () Public .false. .false.), test_nd_to_1d: (Function (SymbolTable 183 {a: (Variable 183 a [] InOut () () Default (Real 8 [(() ()) (() ())]) Source Public Required .false.), b: (Variable 183 b [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 256 (Integer 4 [])))]) Source Public Required .false.), block: (Block (SymbolTable 186 {_lpython_floordiv: (ExternalSymbol 186 _lpython_floordiv 79 _lpython_floordiv lpython_builtin [] _lpython_floordiv Private), _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv: (ExternalSymbol 186 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 79 __lpython_overloaded_4___lpython_floordiv lpython_builtin [] __lpython_overloaded_4___lpython_floordiv Public), abs: (ExternalSymbol 186 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 186 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public)}) block [(= (Var 183 i) (FunctionCall 186 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 186 _lpython_floordiv [((Var 183 k)) ((IntegerConstant 16 (Integer 4 [])))] (Integer 4 []) () ()) ()) (= (Var 183 j) (IntegerBinOp (Var 183 k) Sub (IntegerBinOp (Var 183 i) Mul (IntegerConstant 16 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ()) ()) (Assert (RealCompare (FunctionCall 186 abs@__lpython_overloaded_0__abs 186 abs [((RealBinOp (RealBinOp (ArrayItem (Var 183 b) [(() (Var 183 k) ())] (Real 8 []) RowMajor ()) Sub (Cast (IntegerBinOp (Var 183 i) Add (Var 183 j) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) Sub (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 183 eps) (Logical 4 []) ()) ())]), block1: (Block (SymbolTable 190 {_lpython_floordiv: (ExternalSymbol 190 _lpython_floordiv 79 _lpython_floordiv lpython_builtin [] _lpython_floordiv Private), _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv: (ExternalSymbol 190 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 79 __lpython_overloaded_4___lpython_floordiv lpython_builtin [] __lpython_overloaded_4___lpython_floordiv Public), abs: (ExternalSymbol 190 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 190 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public)}) block1 [(= (Var 183 i) (Cast (Cast (RealBinOp (Cast (Var 183 l) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 256 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 256.000000 (Real 8 []))) (Real 8 []) ()) RealToInteger (Integer 8 []) ()) IntegerToInteger (Integer 4 []) ()) ()) (= (Var 183 j) (FunctionCall 190 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 190 _lpython_floordiv [((IntegerBinOp (Var 183 l) Sub (IntegerBinOp (Var 183 i) Mul (IntegerConstant 256 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ())) ((IntegerConstant 16 (Integer 4 [])))] (Integer 4 []) () ()) ()) (= (Var 183 k) (IntegerBinOp (IntegerBinOp (Var 183 l) Sub (IntegerBinOp (Var 183 i) Mul (IntegerConstant 256 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ()) Sub (IntegerBinOp (Var 183 j) Mul (IntegerConstant 16 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ()) ()) (Assert (RealCompare (FunctionCall 190 abs@__lpython_overloaded_0__abs 190 abs [((RealBinOp (RealBinOp (ArrayItem (Var 183 d) [(() (Var 183 l) ())] (Real 8 []) RowMajor ()) Sub (Cast (IntegerBinOp (IntegerBinOp (Var 183 i) Add (Var 183 j) (Integer 4 []) ()) Add (Var 183 k) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) (Real 8 []) ()) Sub (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) LtE (Var 183 eps) (Logical 4 []) ()) ())]), c: (Variable 183 c [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) Source Public Required .false.), d: (Variable 183 d [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4096 (Integer 4 [])))]) Source Public Required .false.), eps: (Variable 183 eps [] Local () () Default (Real 8 []) Source Public Required .false.), i: (Variable 183 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 183 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 183 k [] Local () () Default (Integer 4 []) Source Public Required .false.), l: (Variable 183 l [] Local () () Default (Integer 4 []) Source Public Required .false.), newshape: (Variable 183 newshape [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.), newshape1: (Variable 183 newshape1 [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1 (Integer 4 [])))]) Source Public Required .false.)}) test_nd_to_1d (FunctionType [(Real 8 [(() ()) (() ())])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [_lpython_floordiv@__lpython_overloaded_4___lpython_floordiv abs@__lpython_overloaded_0__abs _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv abs@__lpython_overloaded_0__abs _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv abs@__lpython_overloaded_0__abs _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv abs@__lpython_overloaded_0__abs] [(Var 183 a)] [(= (Var 183 eps) (RealConstant 0.000000 (Real 8 [])) ()) (= (ArrayItem (Var 183 newshape) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 256 (Integer 4 [])) ()) (= (Var 183 b) (ArrayReshape (Var 183 a) (Var 183 newshape) (Real 8 [(() ())]) ()) ()) (DoLoop ((Var 183 k) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 256 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 255 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 183 block)]) (DoLoop ((Var 183 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 183 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 183 k) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 183 c) [(() (Var 183 i) ()) (() (Var 183 j) ()) (() (Var 183 k) ())] (Real 8 []) RowMajor ()) (RealBinOp (Cast (IntegerBinOp (IntegerBinOp (Var 183 i) Add (Var 183 j) (Integer 4 []) ()) Add (Var 183 k) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) Add (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()) ())])])]) (= (ArrayItem (Var 183 newshape1) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) (IntegerConstant 4096 (Integer 4 [])) ()) (= (Var 183 d) (ArrayReshape (Var 183 c) (Var 183 newshape1) (Real 8 [(() ())]) ()) ()) (DoLoop ((Var 183 l) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 4096 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 4095 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 183 block1)])] () Public .false. .false.), test_reshape_with_argument: (Function (SymbolTable 185 {a: (Variable 185 a [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 []))) ((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 16 (Integer 4 [])))]) Source Public Required .false.), block: (Block (SymbolTable 199 {_lpython_floordiv: (ExternalSymbol 199 _lpython_floordiv 79 _lpython_floordiv lpython_builtin [] _lpython_floordiv Private), _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv: (ExternalSymbol 199 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 79 __lpython_overloaded_4___lpython_floordiv lpython_builtin [] __lpython_overloaded_4___lpython_floordiv Public)}) block [(= (Var 185 i) (Cast (Cast (RealBinOp (Cast (Var 185 l) IntegerToReal (Real 8 []) ()) Div (Cast (IntegerConstant 256 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 256.000000 (Real 8 []))) (Real 8 []) ()) RealToInteger (Integer 8 []) ()) IntegerToInteger (Integer 4 []) ()) ()) (= (Var 185 j) (FunctionCall 199 _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv 199 _lpython_floordiv [((IntegerBinOp (Var 185 l) Sub (IntegerBinOp (Var 185 i) Mul (IntegerConstant 256 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ())) ((IntegerConstant 16 (Integer 4 [])))] (Integer 4 []) () ()) ()) (= (Var 185 k) (IntegerBinOp (IntegerBinOp (Var 185 l) Sub (IntegerBinOp (Var 185 i) Mul (IntegerConstant 256 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ()) Sub (IntegerBinOp (Var 185 j) Mul (IntegerConstant 16 (Integer 4 [])) (Integer 4 []) ()) (Integer 4 []) ()) ()) (= (ArrayItem (Var 185 d) [(() (Var 185 l) ())] (Real 8 []) RowMajor ()) (RealBinOp (Cast (IntegerBinOp (IntegerBinOp (Var 185 i) Add (Var 185 j) (Integer 4 []) ()) Add (Var 185 k) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) Add (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()) ())]), d: (Variable 185 d [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 4096 (Integer 4 [])))]) Source Public Required .false.), i: (Variable 185 i [] Local () () Default (Integer 4 []) Source Public Required .false.), j: (Variable 185 j [] Local () () Default (Integer 4 []) Source Public Required .false.), k: (Variable 185 k [] Local () () Default (Integer 4 []) Source Public Required .false.), l: (Variable 185 l [] Local () () Default (Integer 4 []) Source Public Required .false.)}) test_reshape_with_argument (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [_lpython_floordiv@__lpython_overloaded_4___lpython_floordiv test_nd_to_1d _lpython_floordiv@__lpython_overloaded_4___lpython_floordiv test_1d_to_nd] [] [(DoLoop ((Var 185 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(DoLoop ((Var 185 j) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 16 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 15 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 185 a) [(() (Var 185 i) ()) (() (Var 185 j) ())] (Real 8 []) RowMajor ()) (RealBinOp (Cast (IntegerBinOp (Var 185 i) Add (Var 185 j) (Integer 4 []) ()) IntegerToReal (Real 8 []) ()) Add (RealConstant 0.500000 (Real 8 [])) (Real 8 []) ()) ())])]) (SubroutineCall 202 test_nd_to_1d () [((Var 185 a))] ()) (DoLoop ((Var 185 l) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 4096 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 4095 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(BlockCall -1 185 block)]) (SubroutineCall 202 test_1d_to_nd () [((Var 185 d))] ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 200 {_lpython_main_program: (ExternalSymbol 200 _lpython_main_program 202 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 200 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_4___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_4___mod 79 __lpython_overloaded_4___mod lpython_builtin [] __lpython_overloaded_4___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_4___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_4___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_2___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 0.500000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) (RealConstant 3.141593 (Real 4 [])) Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) (RealConstant 3.141593 (Real 8 [])) Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) diff --git a/tests/reference/asr-test_numpy_04-ecbb614.json b/tests/reference/asr-test_numpy_04-ecbb614.json index a81ce75388..be77ee5fb3 100644 --- a/tests/reference/asr-test_numpy_04-ecbb614.json +++ b/tests/reference/asr-test_numpy_04-ecbb614.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_numpy_04-ecbb614.stdout", - "stdout_hash": "4c0db4880365f6789e94151b42b5530900824ef2489736b217db5149", + "stdout_hash": "cea4c9ea404ffd97bdc3cb2292ac7c7cb0492dc2462de4b544bdb851", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_numpy_04-ecbb614.stdout b/tests/reference/asr-test_numpy_04-ecbb614.stdout index 89319193a3..c1bc969c57 100644 --- a/tests/reference/asr-test_numpy_04-ecbb614.stdout +++ b/tests/reference/asr-test_numpy_04-ecbb614.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 187 {_lpython_main_program: (Function (SymbolTable 186 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [check] [] [(SubroutineCall 187 check () [] ())] () Public .false. .false.), check: (Function (SymbolTable 184 {}) check (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_array_01 test_array_02] [] [(SubroutineCall 187 test_array_01 () [] ()) (SubroutineCall 187 test_array_02 () [] ())] () Public .false. .false.), test_array_01: (Function (SymbolTable 182 {abs: (ExternalSymbol 182 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 182 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), eps: (Variable 182 eps [] Local () () Default (Real 8 []) Source Public Required .false.), x: (Variable 182 x [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.)}) test_array_01 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs] [] [(= (Var 182 x) (ArrayConstant [(RealConstant 1.000000 (Real 8 [])) (RealConstant 2.000000 (Real 8 [])) (RealConstant 3.000000 (Real 8 []))] (Real 8 []) RowMajor) ()) (= (Var 182 eps) (RealConstant 0.000000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 182 abs@__lpython_overloaded_0__abs 182 abs [((RealBinOp (ArrayItem (Var 182 x) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Real 8 []) RowMajor ()) Sub (RealConstant 1.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 182 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 182 abs@__lpython_overloaded_0__abs 182 abs [((RealBinOp (ArrayItem (Var 182 x) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Real 8 []) RowMajor ()) Sub (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 182 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 182 abs@__lpython_overloaded_0__abs 182 abs [((RealBinOp (ArrayItem (Var 182 x) [(() (IntegerConstant 2 (Integer 4 [])) ())] (Real 8 []) RowMajor ()) Sub (RealConstant 3.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 182 eps) (Logical 4 []) ()) ())] () Public .false. .false.), test_array_02: (Function (SymbolTable 183 {abs: (ExternalSymbol 183 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_4__abs: (ExternalSymbol 183 abs@__lpython_overloaded_4__abs 79 __lpython_overloaded_4__abs lpython_builtin [] __lpython_overloaded_4__abs Public), eps: (Variable 183 eps [] Local () () Default (Real 8 []) Source Public Required .false.), x: (Variable 183 x [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.)}) test_array_02 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_4__abs abs@__lpython_overloaded_4__abs abs@__lpython_overloaded_4__abs] [] [(= (Var 183 x) (ArrayConstant [(IntegerConstant 1 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])) (IntegerConstant 3 (Integer 4 []))] (Integer 4 []) RowMajor) ()) (= (Var 183 eps) (RealConstant 0.000000 (Real 8 [])) ()) (Assert (RealCompare (Cast (FunctionCall 183 abs@__lpython_overloaded_4__abs 183 abs [((IntegerBinOp (ArrayItem (Var 183 x) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()))] (Integer 4 []) () ()) IntegerToReal (Real 8 []) ()) Lt (Var 183 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (Cast (FunctionCall 183 abs@__lpython_overloaded_4__abs 183 abs [((IntegerBinOp (ArrayItem (Var 183 x) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) Sub (IntegerConstant 2 (Integer 4 [])) (Integer 4 []) ()))] (Integer 4 []) () ()) IntegerToReal (Real 8 []) ()) Lt (Var 183 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (Cast (FunctionCall 183 abs@__lpython_overloaded_4__abs 183 abs [((IntegerBinOp (ArrayItem (Var 183 x) [(() (IntegerConstant 2 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) Sub (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) ()))] (Integer 4 []) () ()) IntegerToReal (Real 8 []) ()) Lt (Var 183 eps) (Logical 4 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 185 {_lpython_main_program: (ExternalSymbol 185 _lpython_main_program 187 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 185 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_4___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_4___mod 79 __lpython_overloaded_4___mod lpython_builtin [] __lpython_overloaded_4___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_4___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_4___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_2___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 0.500000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) (RealConstant 3.141593 (Real 4 [])) Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) (RealConstant 3.141593 (Real 8 [])) Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 188 {_lpython_main_program: (Function (SymbolTable 187 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [check] [] [(SubroutineCall 188 check () [] ())] () Public .false. .false.), check: (Function (SymbolTable 185 {}) check (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [test_array_01 test_array_02] [] [(SubroutineCall 188 test_array_01 () [] ()) (SubroutineCall 188 test_array_02 () [] ())] () Public .false. .false.), test_array_01: (Function (SymbolTable 183 {abs: (ExternalSymbol 183 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_0__abs: (ExternalSymbol 183 abs@__lpython_overloaded_0__abs 79 __lpython_overloaded_0__abs lpython_builtin [] __lpython_overloaded_0__abs Public), eps: (Variable 183 eps [] Local () () Default (Real 8 []) Source Public Required .false.), x: (Variable 183 x [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.)}) test_array_01 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs abs@__lpython_overloaded_0__abs] [] [(= (Var 183 x) (ArrayConstant [(RealConstant 1.000000 (Real 8 [])) (RealConstant 2.000000 (Real 8 [])) (RealConstant 3.000000 (Real 8 []))] (Real 8 []) RowMajor) ()) (= (Var 183 eps) (RealConstant 0.000000 (Real 8 [])) ()) (Assert (RealCompare (FunctionCall 183 abs@__lpython_overloaded_0__abs 183 abs [((RealBinOp (ArrayItem (Var 183 x) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Real 8 []) RowMajor ()) Sub (RealConstant 1.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 183 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 183 abs@__lpython_overloaded_0__abs 183 abs [((RealBinOp (ArrayItem (Var 183 x) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Real 8 []) RowMajor ()) Sub (RealConstant 2.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 183 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (FunctionCall 183 abs@__lpython_overloaded_0__abs 183 abs [((RealBinOp (ArrayItem (Var 183 x) [(() (IntegerConstant 2 (Integer 4 [])) ())] (Real 8 []) RowMajor ()) Sub (RealConstant 3.000000 (Real 8 [])) (Real 8 []) ()))] (Real 8 []) () ()) Lt (Var 183 eps) (Logical 4 []) ()) ())] () Public .false. .false.), test_array_02: (Function (SymbolTable 184 {abs: (ExternalSymbol 184 abs 79 abs lpython_builtin [] abs Private), abs@__lpython_overloaded_4__abs: (ExternalSymbol 184 abs@__lpython_overloaded_4__abs 79 __lpython_overloaded_4__abs lpython_builtin [] __lpython_overloaded_4__abs Public), eps: (Variable 184 eps [] Local () () Default (Real 8 []) Source Public Required .false.), x: (Variable 184 x [] Local () () Default (Integer 4 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 3 (Integer 4 [])))]) Source Public Required .false.)}) test_array_02 (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [abs@__lpython_overloaded_4__abs abs@__lpython_overloaded_4__abs abs@__lpython_overloaded_4__abs] [] [(= (Var 184 x) (ArrayConstant [(IntegerConstant 1 (Integer 4 [])) (IntegerConstant 2 (Integer 4 [])) (IntegerConstant 3 (Integer 4 []))] (Integer 4 []) RowMajor) ()) (= (Var 184 eps) (RealConstant 0.000000 (Real 8 [])) ()) (Assert (RealCompare (Cast (FunctionCall 184 abs@__lpython_overloaded_4__abs 184 abs [((IntegerBinOp (ArrayItem (Var 184 x) [(() (IntegerConstant 0 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()))] (Integer 4 []) () ()) IntegerToReal (Real 8 []) ()) Lt (Var 184 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (Cast (FunctionCall 184 abs@__lpython_overloaded_4__abs 184 abs [((IntegerBinOp (ArrayItem (Var 184 x) [(() (IntegerConstant 1 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) Sub (IntegerConstant 2 (Integer 4 [])) (Integer 4 []) ()))] (Integer 4 []) () ()) IntegerToReal (Real 8 []) ()) Lt (Var 184 eps) (Logical 4 []) ()) ()) (Assert (RealCompare (Cast (FunctionCall 184 abs@__lpython_overloaded_4__abs 184 abs [((IntegerBinOp (ArrayItem (Var 184 x) [(() (IntegerConstant 2 (Integer 4 [])) ())] (Integer 4 []) RowMajor ()) Sub (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) ()))] (Integer 4 []) () ()) IntegerToReal (Real 8 []) ()) Lt (Var 184 eps) (Logical 4 []) ()) ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 186 {_lpython_main_program: (ExternalSymbol 186 _lpython_main_program 188 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 186 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_4___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_4___mod 79 __lpython_overloaded_4___mod lpython_builtin [] __lpython_overloaded_4___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_4___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_4___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_2___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 0.500000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) (RealConstant 3.141593 (Real 4 [])) Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) (RealConstant 3.141593 (Real 8 [])) Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) diff --git a/tests/reference/asr-test_pow-3f5d550.json b/tests/reference/asr-test_pow-3f5d550.json index 413a912d8a..d6a905f829 100644 --- a/tests/reference/asr-test_pow-3f5d550.json +++ b/tests/reference/asr-test_pow-3f5d550.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_pow-3f5d550.stdout", - "stdout_hash": "9f0fc95f96d162613e1c191fb106aefe4a89bdd33435bb38f621c2bd", + "stdout_hash": "4f46f0b445313c0de6b5e39d48b47f152fb3e2ab6f1bc0b9f962a498", "stderr": "asr-test_pow-3f5d550.stderr", "stderr_hash": "3d950301563cce75654f28bf41f6f53428ed1f5ae997774345f374a3", "returncode": 0 diff --git a/tests/reference/asr-test_pow-3f5d550.stdout b/tests/reference/asr-test_pow-3f5d550.stdout index 0f312a59c9..3d72846be5 100644 --- a/tests/reference/asr-test_pow-3f5d550.stdout +++ b/tests/reference/asr-test_pow-3f5d550.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 109 {_lpython_main_program: (Function (SymbolTable 108 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [main] [] [(SubroutineCall 109 main () [] ())] () Public .false. .false.), main: (Function (SymbolTable 2 {pow: (ExternalSymbol 2 pow 4 pow lpython_builtin [] pow Private), pow@__lpython_overloaded_0__pow: (ExternalSymbol 2 pow@__lpython_overloaded_0__pow 4 __lpython_overloaded_0__pow lpython_builtin [] __lpython_overloaded_0__pow Public)}) main (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [pow@__lpython_overloaded_0__pow] [] [(Print () [(FunctionCall 2 pow@__lpython_overloaded_0__pow 2 pow [((IntegerConstant 2 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 [])))] (Real 8 []) (RealConstant 4.000000 (Real 8 [])) ())] () ()) (Print () [(IntegerBinOp (IntegerConstant 2 (Integer 4 [])) Pow (IntegerConstant 2 (Integer 4 [])) (Integer 4 []) (IntegerConstant 4 (Integer 4 [])))] () ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 107 {_lpython_main_program: (ExternalSymbol 107 _lpython_main_program 109 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 107 _lpython_main_program () [] ())])}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 110 {_lpython_main_program: (Function (SymbolTable 109 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [main] [] [(SubroutineCall 110 main () [] ())] () Public .false. .false.), main: (Function (SymbolTable 2 {pow: (ExternalSymbol 2 pow 4 pow lpython_builtin [] pow Private), pow@__lpython_overloaded_0__pow: (ExternalSymbol 2 pow@__lpython_overloaded_0__pow 4 __lpython_overloaded_0__pow lpython_builtin [] __lpython_overloaded_0__pow Public)}) main (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [pow@__lpython_overloaded_0__pow] [] [(Print () [(FunctionCall 2 pow@__lpython_overloaded_0__pow 2 pow [((IntegerConstant 2 (Integer 4 []))) ((IntegerConstant 2 (Integer 4 [])))] (Real 8 []) (RealConstant 4.000000 (Real 8 [])) ())] () ()) (Print () [(IntegerBinOp (IntegerConstant 2 (Integer 4 [])) Pow (IntegerConstant 2 (Integer 4 [])) (Integer 4 []) (IntegerConstant 4 (Integer 4 [])))] () ())] () Public .false. .false.)}) _global_symbols [lpython_builtin] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 108 {_lpython_main_program: (ExternalSymbol 108 _lpython_main_program 110 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 108 _lpython_main_program () [] ())])}) []) diff --git a/tests/reference/asr-vec_01-66ac423.json b/tests/reference/asr-vec_01-66ac423.json index 8d87bb978b..d5d636854e 100644 --- a/tests/reference/asr-vec_01-66ac423.json +++ b/tests/reference/asr-vec_01-66ac423.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-vec_01-66ac423.stdout", - "stdout_hash": "fca321ad895958d111ae3aeca2451735f44ac568f19c07ab9dd47f99", + "stdout_hash": "b8d5980412a52485482e2f973845f637f1c8dc9f30cae7188c0e7861", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-vec_01-66ac423.stdout b/tests/reference/asr-vec_01-66ac423.stdout index 6bfc1adf66..d1e2ecfe50 100644 --- a/tests/reference/asr-vec_01-66ac423.stdout +++ b/tests/reference/asr-vec_01-66ac423.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 188 {_lpython_main_program: (Function (SymbolTable 187 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [loop_vec] [] [(SubroutineCall 188 loop_vec () [] ())] () Public .false. .false.), loop_vec: (Function (SymbolTable 182 {a: (Variable 182 a [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) Source Public Required .false.), b: (Variable 182 b [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) Source Public Required .false.), i: (Variable 182 i [] Local () () Default (Integer 4 []) Source Public Required .false.)}) loop_vec (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(DoLoop ((Var 182 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 9216 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9215 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 182 b) [(() (Var 182 i) ())] (Real 8 []) RowMajor ()) (RealConstant 5.000000 (Real 8 [])) ())]) (DoLoop ((Var 182 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 9216 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9215 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 182 a) [(() (Var 182 i) ())] (Real 8 []) RowMajor ()) (ArrayItem (Var 182 b) [(() (Var 182 i) ())] (Real 8 []) RowMajor ()) ())]) (DoLoop ((Var 182 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 9216 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9215 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(Assert (RealCompare (ArrayItem (Var 182 a) [(() (Var 182 i) ())] (Real 8 []) RowMajor ()) Eq (RealConstant 5.000000 (Real 8 [])) (Logical 4 []) ()) ())])] () Public .false. .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 186 {_lpython_main_program: (ExternalSymbol 186 _lpython_main_program 188 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 186 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_4___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_4___mod 79 __lpython_overloaded_4___mod lpython_builtin [] __lpython_overloaded_4___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_4___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_4___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_2___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 0.500000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) (RealConstant 3.141593 (Real 4 [])) Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) (RealConstant 3.141593 (Real 8 [])) Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 189 {_lpython_main_program: (Function (SymbolTable 188 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [loop_vec] [] [(SubroutineCall 189 loop_vec () [] ())] () Public .false. .false.), loop_vec: (Function (SymbolTable 183 {a: (Variable 183 a [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) Source Public Required .false.), b: (Variable 183 b [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) Source Public Required .false.), i: (Variable 183 i [] Local () () Default (Integer 4 []) Source Public Required .false.)}) loop_vec (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [] [(DoLoop ((Var 183 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 9216 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9215 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 183 b) [(() (Var 183 i) ())] (Real 8 []) RowMajor ()) (RealConstant 5.000000 (Real 8 [])) ())]) (DoLoop ((Var 183 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 9216 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9215 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 183 a) [(() (Var 183 i) ())] (Real 8 []) RowMajor ()) (ArrayItem (Var 183 b) [(() (Var 183 i) ())] (Real 8 []) RowMajor ()) ())]) (DoLoop ((Var 183 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 9216 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9215 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(Assert (RealCompare (ArrayItem (Var 183 a) [(() (Var 183 i) ())] (Real 8 []) RowMajor ()) Eq (RealConstant 5.000000 (Real 8 [])) (Logical 4 []) ()) ())])] () Public .false. .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 187 {_lpython_main_program: (ExternalSymbol 187 _lpython_main_program 189 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 187 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_4___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_4___mod 79 __lpython_overloaded_4___mod lpython_builtin [] __lpython_overloaded_4___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_4___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_4___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_2___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 0.500000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) (RealConstant 3.141593 (Real 4 [])) Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) (RealConstant 3.141593 (Real 8 [])) Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) diff --git a/tests/reference/pass_loop_vectorise-vec_01-be9985e.json b/tests/reference/pass_loop_vectorise-vec_01-be9985e.json index 2b57d31690..6e84f61135 100644 --- a/tests/reference/pass_loop_vectorise-vec_01-be9985e.json +++ b/tests/reference/pass_loop_vectorise-vec_01-be9985e.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "pass_loop_vectorise-vec_01-be9985e.stdout", - "stdout_hash": "4452b5ca39dce5392d2f180ae76d14a3e9dfa9fc8aaa09506d3e1bcd", + "stdout_hash": "899d52d4e331cac3becd88e8515fb5521ace18e3940f7d9e0cba3e90", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/pass_loop_vectorise-vec_01-be9985e.stdout b/tests/reference/pass_loop_vectorise-vec_01-be9985e.stdout index d1a8eade0e..bd45eac3d1 100644 --- a/tests/reference/pass_loop_vectorise-vec_01-be9985e.stdout +++ b/tests/reference/pass_loop_vectorise-vec_01-be9985e.stdout @@ -1 +1 @@ -(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 188 {_lpython_main_program: (Function (SymbolTable 187 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [loop_vec] [] [(SubroutineCall 188 loop_vec () [] ())] () Public .false. .false.), loop_vec: (Function (SymbolTable 182 {a: (Variable 182 a [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) Source Public Required .false.), b: (Variable 182 b [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) Source Public Required .false.), i: (Variable 182 i [] Local () () Default (Integer 4 []) Source Public Required .false.), vector_copy_f64f64i32@IntrinsicOptimization: (Function (SymbolTable 189 {__1_k: (Variable 189 __1_k [] Local () () Default (Integer 4 []) Source Public Required .false.), arg0: (Variable 189 arg0 [] In () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) Source Public Required .false.), arg1: (Variable 189 arg1 [] In () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) Source Public Required .false.), arg2: (Variable 189 arg2 [] In () () Default (Integer 4 []) Source Public Required .false.), arg3: (Variable 189 arg3 [] In () () Default (Integer 4 []) Source Public Required .false.), arg4: (Variable 189 arg4 [] In () () Default (Integer 4 []) Source Public Required .false.), arg5: (Variable 189 arg5 [] In () () Default (Integer 4 []) Source Public Required .false.)}) vector_copy_f64f64i32@IntrinsicOptimization (FunctionType [(Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) (Integer 4 []) (Integer 4 []) (Integer 4 []) (Integer 4 [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 189 arg0) (Var 189 arg1) (Var 189 arg2) (Var 189 arg3) (Var 189 arg4) (Var 189 arg5)] [(= (Var 189 __1_k) (IntegerBinOp (Var 189 arg2) Sub (Var 189 arg4) (Integer 4 []) ()) ()) (WhileLoop (IntegerCompare (IntegerBinOp (Var 189 __1_k) Add (Var 189 arg4) (Integer 4 []) ()) Lt (Var 189 arg3) (Logical 4 []) ()) [(= (Var 189 __1_k) (IntegerBinOp (Var 189 __1_k) Add (Var 189 arg4) (Integer 4 []) ()) ()) (= (ArrayItem (Var 189 arg0) [(() (Var 189 __1_k) ())] (Real 8 []) RowMajor ()) (ArrayItem (Var 189 arg1) [(() (Var 189 __1_k) ())] (Real 8 []) RowMajor ()) ())])] () Public .false. .false.)}) loop_vec (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [vector_copy_f64f64i32@IntrinsicOptimization] [] [(DoLoop ((Var 182 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 9216 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9215 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 182 b) [(() (Var 182 i) ())] (Real 8 []) RowMajor ()) (RealConstant 5.000000 (Real 8 [])) ())]) (DoLoop ((Var 182 i) (IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1151 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) [(SubroutineCall 182 vector_copy_f64f64i32@IntrinsicOptimization () [((Var 182 a)) ((Var 182 b)) ((IntegerBinOp (Var 182 i) Mul (IntegerConstant 8 (Integer 4 [])) (Integer 4 []) ())) ((IntegerBinOp (IntegerBinOp (Var 182 i) Add (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) Mul (IntegerConstant 8 (Integer 4 [])) (Integer 4 []) ())) ((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 8 (Integer 4 [])))] ())]) (DoLoop ((Var 182 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 9216 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9215 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(Assert (RealCompare (ArrayItem (Var 182 a) [(() (Var 182 i) ())] (Real 8 []) RowMajor ()) Eq (RealConstant 5.000000 (Real 8 [])) (Logical 4 []) ()) ())])] () Public .false. .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 186 {_lpython_main_program: (ExternalSymbol 186 _lpython_main_program 188 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 186 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_4___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_4___mod 79 __lpython_overloaded_4___mod lpython_builtin [] __lpython_overloaded_4___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_4___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_4___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_2___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 0.500000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) (RealConstant 3.141593 (Real 4 [])) Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) (RealConstant 3.141593 (Real 8 [])) Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) +(TranslationUnit (SymbolTable 1 {_global_symbols: (Module (SymbolTable 189 {_lpython_main_program: (Function (SymbolTable 188 {}) _lpython_main_program (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [loop_vec] [] [(SubroutineCall 189 loop_vec () [] ())] () Public .false. .false.), loop_vec: (Function (SymbolTable 183 {a: (Variable 183 a [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) Source Public Required .false.), b: (Variable 183 b [] Local () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) Source Public Required .false.), i: (Variable 183 i [] Local () () Default (Integer 4 []) Source Public Required .false.), vector_copy_f64f64i32@IntrinsicOptimization: (Function (SymbolTable 190 {__1_k: (Variable 190 __1_k [] Local () () Default (Integer 4 []) Source Public Required .false.), arg0: (Variable 190 arg0 [] In () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) Source Public Required .false.), arg1: (Variable 190 arg1 [] In () () Default (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) Source Public Required .false.), arg2: (Variable 190 arg2 [] In () () Default (Integer 4 []) Source Public Required .false.), arg3: (Variable 190 arg3 [] In () () Default (Integer 4 []) Source Public Required .false.), arg4: (Variable 190 arg4 [] In () () Default (Integer 4 []) Source Public Required .false.), arg5: (Variable 190 arg5 [] In () () Default (Integer 4 []) Source Public Required .false.)}) vector_copy_f64f64i32@IntrinsicOptimization (FunctionType [(Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) (Real 8 [((IntegerConstant 0 (Integer 4 [])) (IntegerConstant 9216 (Integer 4 [])))]) (Integer 4 []) (Integer 4 []) (Integer 4 []) (Integer 4 [])] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 190 arg0) (Var 190 arg1) (Var 190 arg2) (Var 190 arg3) (Var 190 arg4) (Var 190 arg5)] [(= (Var 190 __1_k) (IntegerBinOp (Var 190 arg2) Sub (Var 190 arg4) (Integer 4 []) ()) ()) (WhileLoop (IntegerCompare (IntegerBinOp (Var 190 __1_k) Add (Var 190 arg4) (Integer 4 []) ()) Lt (Var 190 arg3) (Logical 4 []) ()) [(= (Var 190 __1_k) (IntegerBinOp (Var 190 __1_k) Add (Var 190 arg4) (Integer 4 []) ()) ()) (= (ArrayItem (Var 190 arg0) [(() (Var 190 __1_k) ())] (Real 8 []) RowMajor ()) (ArrayItem (Var 190 arg1) [(() (Var 190 __1_k) ())] (Real 8 []) RowMajor ()) ())])] () Public .false. .false.)}) loop_vec (FunctionType [] () Source Implementation () .false. .false. .false. .false. .false. [] [] .false.) [vector_copy_f64f64i32@IntrinsicOptimization] [] [(DoLoop ((Var 183 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 9216 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9215 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(= (ArrayItem (Var 183 b) [(() (Var 183 i) ())] (Real 8 []) RowMajor ()) (RealConstant 5.000000 (Real 8 [])) ())]) (DoLoop ((Var 183 i) (IntegerConstant 0 (Integer 4 [])) (IntegerConstant 1151 (Integer 4 [])) (IntegerConstant 1 (Integer 4 []))) [(SubroutineCall 183 vector_copy_f64f64i32@IntrinsicOptimization () [((Var 183 a)) ((Var 183 b)) ((IntegerBinOp (Var 183 i) Mul (IntegerConstant 8 (Integer 4 [])) (Integer 4 []) ())) ((IntegerBinOp (IntegerBinOp (Var 183 i) Add (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) ()) Mul (IntegerConstant 8 (Integer 4 [])) (Integer 4 []) ())) ((IntegerConstant 1 (Integer 4 []))) ((IntegerConstant 8 (Integer 4 [])))] ())]) (DoLoop ((Var 183 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 9216 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9215 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(Assert (RealCompare (ArrayItem (Var 183 a) [(() (Var 183 i) ())] (Real 8 []) RowMajor ()) Eq (RealConstant 5.000000 (Real 8 [])) (Logical 4 []) ()) ())])] () Public .false. .false.)}) _global_symbols [] .false. .false.), lpython_builtin: (IntrinsicModule lpython_builtin), main_program: (Program (SymbolTable 187 {_lpython_main_program: (ExternalSymbol 187 _lpython_main_program 189 _lpython_main_program _global_symbols [] _lpython_main_program Public)}) main_program [_global_symbols] [(SubroutineCall 187 _lpython_main_program () [] ())]), numpy: (Module (SymbolTable 3 {__lpython_overloaded_0__arccos: (Function (SymbolTable 41 {_lpython_return_variable: (Variable 41 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 41 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacos] [(Var 41 x)] [(= (Var 41 _lpython_return_variable) (FunctionCall 3 _lfortran_dacos () [((Var 41 x))] (Real 8 []) () ()) ()) (Return)] (Var 41 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arccosh: (Function (SymbolTable 65 {_lpython_return_variable: (Variable 65 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 65 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arccosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dacosh] [(Var 65 x)] [(= (Var 65 _lpython_return_variable) (FunctionCall 3 _lfortran_dacosh () [((Var 65 x))] (Real 8 []) () ()) ()) (Return)] (Var 65 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsin: (Function (SymbolTable 37 {_lpython_return_variable: (Variable 37 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 37 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasin] [(Var 37 x)] [(= (Var 37 _lpython_return_variable) (FunctionCall 3 _lfortran_dasin () [((Var 37 x))] (Real 8 []) () ()) ()) (Return)] (Var 37 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arcsinh: (Function (SymbolTable 61 {_lpython_return_variable: (Variable 61 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 61 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arcsinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dasinh] [(Var 61 x)] [(= (Var 61 _lpython_return_variable) (FunctionCall 3 _lfortran_dasinh () [((Var 61 x))] (Real 8 []) () ()) ()) (Return)] (Var 61 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctan: (Function (SymbolTable 53 {_lpython_return_variable: (Variable 53 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 53 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datan] [(Var 53 x)] [(= (Var 53 _lpython_return_variable) (FunctionCall 3 _lfortran_datan () [((Var 53 x))] (Real 8 []) () ()) ()) (Return)] (Var 53 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__arctanh: (Function (SymbolTable 69 {_lpython_return_variable: (Variable 69 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 69 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__arctanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_datanh] [(Var 69 x)] [(= (Var 69 _lpython_return_variable) (FunctionCall 3 _lfortran_datanh () [((Var 69 x))] (Real 8 []) () ()) ()) (Return)] (Var 69 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__ceil: (Function (SymbolTable 76 {_lpython_return_variable: (Variable 76 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 76 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 76 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__ceil (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 76 x)] [(= (Var 76 result) (Cast (Var 76 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 76 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 76 x) Eq (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 76 _lpython_return_variable) (Cast (Var 76 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 76 _lpython_return_variable) (Cast (IntegerBinOp (Var 76 result) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 76 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cos: (Function (SymbolTable 9 {_lpython_return_variable: (Variable 9 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 9 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cos (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcos] [(Var 9 x)] [(= (Var 9 _lpython_return_variable) (FunctionCall 3 _lfortran_dcos () [((Var 9 x))] (Real 8 []) () ()) ()) (Return)] (Var 9 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__cosh: (Function (SymbolTable 23 {_lpython_return_variable: (Variable 23 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 23 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__cosh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dcosh] [(Var 23 x)] [(= (Var 23 _lpython_return_variable) (FunctionCall 3 _lfortran_dcosh () [((Var 23 x))] (Real 8 []) () ()) ()) (Return)] (Var 23 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__degrees: (Function (SymbolTable 56 {_lpython_return_variable: (Variable 56 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 56 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__degrees (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 56 x)] [(= (Var 56 _lpython_return_variable) (RealBinOp (RealBinOp (Var 56 x) Mul (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) Div (Var 3 pi_64) (Real 8 []) ()) ()) (Return)] (Var 56 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__exp: (Function (SymbolTable 49 {_lpython_return_variable: (Variable 49 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 49 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__exp (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dexp] [(Var 49 x)] [(= (Var 49 _lpython_return_variable) (FunctionCall 3 _lfortran_dexp () [((Var 49 x))] (Real 8 []) () ()) ()) (Return)] (Var 49 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__floor: (Function (SymbolTable 74 {_lpython_return_variable: (Variable 74 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), result: (Variable 74 result [] Local () () Default (Integer 8 []) Source Public Required .false.), x: (Variable 74 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__floor (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 74 x)] [(= (Var 74 result) (Cast (Var 74 x) RealToInteger (Integer 8 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 74 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 0.000000 (Real 8 []))) (Logical 4 []) ()) Or (RealCompare (Var 74 x) Eq (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 74 _lpython_return_variable) (Cast (Var 74 result) IntegerToReal (Real 8 []) ()) ()) (Return)] []) (= (Var 74 _lpython_return_variable) (Cast (IntegerBinOp (Var 74 result) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 1 (Integer 8 []))) (Integer 8 []) ()) IntegerToReal (Real 8 []) ()) ()) (Return)] (Var 74 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log: (Function (SymbolTable 27 {_lpython_return_variable: (Variable 27 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 27 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog] [(Var 27 x)] [(= (Var 27 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog () [((Var 27 x))] (Real 8 []) () ()) ()) (Return)] (Var 27 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log10: (Function (SymbolTable 31 {_lpython_return_variable: (Variable 31 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 31 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log10 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog10] [(Var 31 x)] [(= (Var 31 _lpython_return_variable) (FunctionCall 3 _lfortran_dlog10 () [((Var 31 x))] (Real 8 []) () ()) ()) (Return)] (Var 31 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__log2: (Function (SymbolTable 34 {_lpython_return_variable: (Variable 34 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 34 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__log2 (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dlog _lfortran_dlog] [(Var 34 x)] [(= (Var 34 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_dlog () [((Var 34 x))] (Real 8 []) () ()) Div (FunctionCall 3 _lfortran_dlog () [((RealConstant 2.000000 (Real 8 [])))] (Real 8 []) () ()) (Real 8 []) ()) ()) (Return)] (Var 34 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__mod: (Function (SymbolTable 72 {_lpython_return_variable: (Variable 72 _lpython_return_variable [] ReturnVar () () Default (Integer 8 []) Source Public Required .false.), _mod: (ExternalSymbol 72 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_4___mod: (ExternalSymbol 72 _mod@__lpython_overloaded_4___mod 79 __lpython_overloaded_4___mod lpython_builtin [] __lpython_overloaded_4___mod Public), x1: (Variable 72 x1 [] In () () Default (Integer 8 []) Source Public Required .false.), x2: (Variable 72 x2 [] In () () Default (Integer 8 []) Source Public Required .false.)}) __lpython_overloaded_0__mod (FunctionType [(Integer 8 []) (Integer 8 [])] (Integer 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_4___mod] [(Var 72 x1) (Var 72 x2)] [(If (IntegerCompare (Var 72 x2) Eq (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) (Logical 4 []) ()) [(= (Var 72 _lpython_return_variable) (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToInteger (Integer 8 []) (IntegerConstant 0 (Integer 8 []))) ()) (Return)] []) (= (Var 72 _lpython_return_variable) (FunctionCall 72 _mod@__lpython_overloaded_4___mod 72 _mod [((Var 72 x1)) ((Var 72 x2))] (Integer 8 []) () ()) ()) (Return)] (Var 72 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__radians: (Function (SymbolTable 58 {_lpython_return_variable: (Variable 58 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 58 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__radians (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 58 x)] [(= (Var 58 _lpython_return_variable) (RealBinOp (RealBinOp (Var 58 x) Mul (Var 3 pi_64) (Real 8 []) ()) Div (RealConstant 180.000000 (Real 8 [])) (Real 8 []) ()) ()) (Return)] (Var 58 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sin: (Function (SymbolTable 5 {_lpython_return_variable: (Variable 5 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 5 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sin (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsin] [(Var 5 x)] [(= (Var 5 _lpython_return_variable) (FunctionCall 3 _lfortran_dsin () [((Var 5 x))] (Real 8 []) () ()) ()) (Return)] (Var 5 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sinh: (Function (SymbolTable 19 {_lpython_return_variable: (Variable 19 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 19 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sinh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dsinh] [(Var 19 x)] [(= (Var 19 _lpython_return_variable) (FunctionCall 3 _lfortran_dsinh () [((Var 19 x))] (Real 8 []) () ()) ()) (Return)] (Var 19 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__sqrt: (Function (SymbolTable 12 {_lpython_return_variable: (Variable 12 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 12 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__sqrt (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 12 x)] [(= (Var 12 _lpython_return_variable) (RealBinOp (Var 12 x) Pow (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) (Real 8 []) ()) ()) (Return)] (Var 12 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tan: (Function (SymbolTable 15 {_lpython_return_variable: (Variable 15 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 15 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tan (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtan] [(Var 15 x)] [(= (Var 15 _lpython_return_variable) (FunctionCall 3 _lfortran_dtan () [((Var 15 x))] (Real 8 []) () ()) ()) (Return)] (Var 15 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_0__tanh: (Function (SymbolTable 45 {_lpython_return_variable: (Variable 45 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) Source Public Required .false.), x: (Variable 45 x [] In () () Default (Real 8 []) Source Public Required .false.)}) __lpython_overloaded_0__tanh (FunctionType [(Real 8 [])] (Real 8 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_dtanh] [(Var 45 x)] [(= (Var 45 _lpython_return_variable) (FunctionCall 3 _lfortran_dtanh () [((Var 45 x))] (Real 8 []) () ()) ()) (Return)] (Var 45 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccos: (Function (SymbolTable 43 {_lpython_return_variable: (Variable 43 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 43 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacos] [(Var 43 x)] [(= (Var 43 _lpython_return_variable) (FunctionCall 3 _lfortran_sacos () [((Var 43 x))] (Real 4 []) () ()) ()) (Return)] (Var 43 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arccosh: (Function (SymbolTable 67 {_lpython_return_variable: (Variable 67 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 67 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arccosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sacosh] [(Var 67 x)] [(= (Var 67 _lpython_return_variable) (FunctionCall 3 _lfortran_sacosh () [((Var 67 x))] (Real 4 []) () ()) ()) (Return)] (Var 67 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsin: (Function (SymbolTable 39 {_lpython_return_variable: (Variable 39 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 39 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasin] [(Var 39 x)] [(= (Var 39 _lpython_return_variable) (FunctionCall 3 _lfortran_sasin () [((Var 39 x))] (Real 4 []) () ()) ()) (Return)] (Var 39 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arcsinh: (Function (SymbolTable 63 {_lpython_return_variable: (Variable 63 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 63 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arcsinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sasinh] [(Var 63 x)] [(= (Var 63 _lpython_return_variable) (FunctionCall 3 _lfortran_sasinh () [((Var 63 x))] (Real 4 []) () ()) ()) (Return)] (Var 63 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctan: (Function (SymbolTable 55 {_lpython_return_variable: (Variable 55 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 55 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satan] [(Var 55 x)] [(= (Var 55 _lpython_return_variable) (FunctionCall 3 _lfortran_satan () [((Var 55 x))] (Real 4 []) () ()) ()) (Return)] (Var 55 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__arctanh: (Function (SymbolTable 71 {_lpython_return_variable: (Variable 71 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 71 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__arctanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_satanh] [(Var 71 x)] [(= (Var 71 _lpython_return_variable) (FunctionCall 3 _lfortran_satanh () [((Var 71 x))] (Real 4 []) () ()) ()) (Return)] (Var 71 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__ceil: (Function (SymbolTable 77 {_lpython_return_variable: (Variable 77 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 77 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 77 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__ceil (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 77 x)] [(= (Var 77 resultf) (Cast (Cast (Var 77 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 77 x) LtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 77 x) Eq (Var 77 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 77 _lpython_return_variable) (Var 77 resultf) ()) (Return)] []) (= (Var 77 _lpython_return_variable) (RealBinOp (Var 77 resultf) Add (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 77 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cos: (Function (SymbolTable 11 {_lpython_return_variable: (Variable 11 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 11 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cos (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scos] [(Var 11 x)] [(= (Var 11 _lpython_return_variable) (FunctionCall 3 _lfortran_scos () [((Var 11 x))] (Real 4 []) () ()) ()) (Return)] (Var 11 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__cosh: (Function (SymbolTable 25 {_lpython_return_variable: (Variable 25 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 25 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__cosh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_scosh] [(Var 25 x)] [(= (Var 25 _lpython_return_variable) (FunctionCall 3 _lfortran_scosh () [((Var 25 x))] (Real 4 []) () ()) ()) (Return)] (Var 25 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__degrees: (Function (SymbolTable 57 {_lpython_return_variable: (Variable 57 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 57 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__degrees (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 57 x)] [(= (Var 57 _lpython_return_variable) (RealBinOp (Var 57 x) Mul (RealBinOp (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) Div (Var 3 pi_32) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 57 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__exp: (Function (SymbolTable 51 {_lpython_return_variable: (Variable 51 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 51 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__exp (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_sexp] [(Var 51 x)] [(= (Var 51 _lpython_return_variable) (FunctionCall 3 _lfortran_sexp () [((Var 51 x))] (Real 4 []) () ()) ()) (Return)] (Var 51 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__floor: (Function (SymbolTable 75 {_lpython_return_variable: (Variable 75 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), resultf: (Variable 75 resultf [] Local () () Default (Real 4 []) Source Public Required .false.), x: (Variable 75 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__floor (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 75 x)] [(= (Var 75 resultf) (Cast (Cast (Var 75 x) RealToInteger (Integer 4 []) ()) IntegerToReal (Real 4 []) ()) ()) (If (LogicalBinOp (RealCompare (Var 75 x) GtE (Cast (IntegerConstant 0 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 0.000000 (Real 4 []))) (Logical 4 []) ()) Or (RealCompare (Var 75 x) Eq (Var 75 resultf) (Logical 4 []) ()) (Logical 4 []) ()) [(= (Var 75 _lpython_return_variable) (Var 75 resultf) ()) (Return)] []) (= (Var 75 _lpython_return_variable) (RealBinOp (Var 75 resultf) Sub (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 1.000000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 75 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log: (Function (SymbolTable 29 {_lpython_return_variable: (Variable 29 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 29 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog] [(Var 29 x)] [(= (Var 29 _lpython_return_variable) (FunctionCall 3 _lfortran_slog () [((Var 29 x))] (Real 4 []) () ()) ()) (Return)] (Var 29 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log10: (Function (SymbolTable 33 {_lpython_return_variable: (Variable 33 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 33 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log10 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog10] [(Var 33 x)] [(= (Var 33 _lpython_return_variable) (FunctionCall 3 _lfortran_slog10 () [((Var 33 x))] (Real 4 []) () ()) ()) (Return)] (Var 33 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__log2: (Function (SymbolTable 35 {_lpython_return_variable: (Variable 35 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 35 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__log2 (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_slog _lfortran_slog] [(Var 35 x)] [(= (Var 35 _lpython_return_variable) (RealBinOp (FunctionCall 3 _lfortran_slog () [((Var 35 x))] (Real 4 []) () ()) Div (FunctionCall 3 _lfortran_slog () [((Cast (RealConstant 2.000000 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 2.000000 (Real 4 []))))] (Real 4 []) () ()) (Real 4 []) ()) ()) (Return)] (Var 35 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__mod: (Function (SymbolTable 73 {_lpython_return_variable: (Variable 73 _lpython_return_variable [] ReturnVar () () Default (Integer 4 []) Source Public Required .false.), _mod: (ExternalSymbol 73 _mod 79 _mod lpython_builtin [] _mod Private), _mod@__lpython_overloaded_2___mod: (ExternalSymbol 73 _mod@__lpython_overloaded_2___mod 79 __lpython_overloaded_2___mod lpython_builtin [] __lpython_overloaded_2___mod Public), x1: (Variable 73 x1 [] In () () Default (Integer 4 []) Source Public Required .false.), x2: (Variable 73 x2 [] In () () Default (Integer 4 []) Source Public Required .false.)}) __lpython_overloaded_1__mod (FunctionType [(Integer 4 []) (Integer 4 [])] (Integer 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_mod@__lpython_overloaded_2___mod] [(Var 73 x1) (Var 73 x2)] [(If (IntegerCompare (Var 73 x2) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(= (Var 73 _lpython_return_variable) (IntegerConstant 0 (Integer 4 [])) ()) (Return)] []) (= (Var 73 _lpython_return_variable) (FunctionCall 73 _mod@__lpython_overloaded_2___mod 73 _mod [((Var 73 x1)) ((Var 73 x2))] (Integer 4 []) () ()) ()) (Return)] (Var 73 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__radians: (Function (SymbolTable 59 {_lpython_return_variable: (Variable 59 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 59 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__radians (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 59 x)] [(= (Var 59 _lpython_return_variable) (RealBinOp (Var 59 x) Mul (RealBinOp (Var 3 pi_32) Div (Cast (IntegerConstant 180 (Integer 4 [])) IntegerToReal (Real 4 []) (RealConstant 180.000000 (Real 4 []))) (Real 4 []) ()) (Real 4 []) ()) ()) (Return)] (Var 59 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sin: (Function (SymbolTable 7 {_lpython_return_variable: (Variable 7 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 7 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sin (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssin] [(Var 7 x)] [(= (Var 7 _lpython_return_variable) (FunctionCall 3 _lfortran_ssin () [((Var 7 x))] (Real 4 []) () ()) ()) (Return)] (Var 7 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sinh: (Function (SymbolTable 21 {_lpython_return_variable: (Variable 21 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 21 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sinh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_ssinh] [(Var 21 x)] [(= (Var 21 _lpython_return_variable) (FunctionCall 3 _lfortran_ssinh () [((Var 21 x))] (Real 4 []) () ()) ()) (Return)] (Var 21 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__sqrt: (Function (SymbolTable 13 {_lpython_return_variable: (Variable 13 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 13 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__sqrt (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [] [(Var 13 x)] [(= (Var 13 _lpython_return_variable) (RealBinOp (Var 13 x) Pow (Cast (RealBinOp (Cast (IntegerConstant 1 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 1.000000 (Real 8 []))) Div (Cast (IntegerConstant 2 (Integer 4 [])) IntegerToReal (Real 8 []) (RealConstant 2.000000 (Real 8 []))) (Real 8 []) (RealConstant 0.500000 (Real 8 []))) RealToReal (Real 4 []) (RealConstant 0.500000 (Real 4 []))) (Real 4 []) ()) ()) (Return)] (Var 13 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tan: (Function (SymbolTable 17 {_lpython_return_variable: (Variable 17 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 17 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tan (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stan] [(Var 17 x)] [(= (Var 17 _lpython_return_variable) (FunctionCall 3 _lfortran_stan () [((Var 17 x))] (Real 4 []) () ()) ()) (Return)] (Var 17 _lpython_return_variable) Public .false. .false.), __lpython_overloaded_1__tanh: (Function (SymbolTable 47 {_lpython_return_variable: (Variable 47 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) Source Public Required .false.), x: (Variable 47 x [] In () () Default (Real 4 []) Source Public Required .false.)}) __lpython_overloaded_1__tanh (FunctionType [(Real 4 [])] (Real 4 []) Source Implementation () .true. .false. .false. .false. .false. [] [] .false.) [_lfortran_stanh] [(Var 47 x)] [(= (Var 47 _lpython_return_variable) (FunctionCall 3 _lfortran_stanh () [((Var 47 x))] (Real 4 []) () ()) ()) (Return)] (Var 47 _lpython_return_variable) Public .false. .false.), _lfortran_dacos: (Function (SymbolTable 40 {_lpython_return_variable: (Variable 40 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 40 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 40 x)] [] (Var 40 _lpython_return_variable) Public .false. .false.), _lfortran_dacosh: (Function (SymbolTable 64 {_lpython_return_variable: (Variable 64 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 64 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dacosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 64 x)] [] (Var 64 _lpython_return_variable) Public .false. .false.), _lfortran_dasin: (Function (SymbolTable 36 {_lpython_return_variable: (Variable 36 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 36 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 36 x)] [] (Var 36 _lpython_return_variable) Public .false. .false.), _lfortran_dasinh: (Function (SymbolTable 60 {_lpython_return_variable: (Variable 60 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 60 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dasinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 60 x)] [] (Var 60 _lpython_return_variable) Public .false. .false.), _lfortran_datan: (Function (SymbolTable 52 {_lpython_return_variable: (Variable 52 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 52 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 52 x)] [] (Var 52 _lpython_return_variable) Public .false. .false.), _lfortran_datanh: (Function (SymbolTable 68 {_lpython_return_variable: (Variable 68 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 68 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_datanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 68 x)] [] (Var 68 _lpython_return_variable) Public .false. .false.), _lfortran_dcos: (Function (SymbolTable 8 {_lpython_return_variable: (Variable 8 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 8 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcos (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 8 x)] [] (Var 8 _lpython_return_variable) Public .false. .false.), _lfortran_dcosh: (Function (SymbolTable 22 {_lpython_return_variable: (Variable 22 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 22 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dcosh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 22 x)] [] (Var 22 _lpython_return_variable) Public .false. .false.), _lfortran_dexp: (Function (SymbolTable 48 {_lpython_return_variable: (Variable 48 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 48 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dexp (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 48 x)] [] (Var 48 _lpython_return_variable) Public .false. .false.), _lfortran_dlog: (Function (SymbolTable 26 {_lpython_return_variable: (Variable 26 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 26 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 26 x)] [] (Var 26 _lpython_return_variable) Public .false. .false.), _lfortran_dlog10: (Function (SymbolTable 30 {_lpython_return_variable: (Variable 30 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 30 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dlog10 (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 30 x)] [] (Var 30 _lpython_return_variable) Public .false. .false.), _lfortran_dsin: (Function (SymbolTable 4 {_lpython_return_variable: (Variable 4 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 4 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsin (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 4 x)] [] (Var 4 _lpython_return_variable) Public .false. .false.), _lfortran_dsinh: (Function (SymbolTable 18 {_lpython_return_variable: (Variable 18 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 18 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dsinh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 18 x)] [] (Var 18 _lpython_return_variable) Public .false. .false.), _lfortran_dtan: (Function (SymbolTable 14 {_lpython_return_variable: (Variable 14 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 14 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtan (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 14 x)] [] (Var 14 _lpython_return_variable) Public .false. .false.), _lfortran_dtanh: (Function (SymbolTable 44 {_lpython_return_variable: (Variable 44 _lpython_return_variable [] ReturnVar () () Default (Real 8 []) BindC Public Required .false.), x: (Variable 44 x [] In () () Default (Real 8 []) BindC Public Required .true.)}) _lfortran_dtanh (FunctionType [(Real 8 [])] (Real 8 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 44 x)] [] (Var 44 _lpython_return_variable) Public .false. .false.), _lfortran_sacos: (Function (SymbolTable 42 {_lpython_return_variable: (Variable 42 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 42 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 42 x)] [] (Var 42 _lpython_return_variable) Public .false. .false.), _lfortran_sacosh: (Function (SymbolTable 66 {_lpython_return_variable: (Variable 66 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 66 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sacosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 66 x)] [] (Var 66 _lpython_return_variable) Public .false. .false.), _lfortran_sasin: (Function (SymbolTable 38 {_lpython_return_variable: (Variable 38 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 38 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 38 x)] [] (Var 38 _lpython_return_variable) Public .false. .false.), _lfortran_sasinh: (Function (SymbolTable 62 {_lpython_return_variable: (Variable 62 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 62 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sasinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 62 x)] [] (Var 62 _lpython_return_variable) Public .false. .false.), _lfortran_satan: (Function (SymbolTable 54 {_lpython_return_variable: (Variable 54 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 54 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 54 x)] [] (Var 54 _lpython_return_variable) Public .false. .false.), _lfortran_satanh: (Function (SymbolTable 70 {_lpython_return_variable: (Variable 70 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 70 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_satanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 70 x)] [] (Var 70 _lpython_return_variable) Public .false. .false.), _lfortran_scos: (Function (SymbolTable 10 {_lpython_return_variable: (Variable 10 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 10 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scos (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 10 x)] [] (Var 10 _lpython_return_variable) Public .false. .false.), _lfortran_scosh: (Function (SymbolTable 24 {_lpython_return_variable: (Variable 24 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 24 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_scosh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 24 x)] [] (Var 24 _lpython_return_variable) Public .false. .false.), _lfortran_sexp: (Function (SymbolTable 50 {_lpython_return_variable: (Variable 50 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 50 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_sexp (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 50 x)] [] (Var 50 _lpython_return_variable) Public .false. .false.), _lfortran_slog: (Function (SymbolTable 28 {_lpython_return_variable: (Variable 28 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 28 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 28 x)] [] (Var 28 _lpython_return_variable) Public .false. .false.), _lfortran_slog10: (Function (SymbolTable 32 {_lpython_return_variable: (Variable 32 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 32 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_slog10 (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 32 x)] [] (Var 32 _lpython_return_variable) Public .false. .false.), _lfortran_ssin: (Function (SymbolTable 6 {_lpython_return_variable: (Variable 6 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 6 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssin (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 6 x)] [] (Var 6 _lpython_return_variable) Public .false. .false.), _lfortran_ssinh: (Function (SymbolTable 20 {_lpython_return_variable: (Variable 20 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 20 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_ssinh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 20 x)] [] (Var 20 _lpython_return_variable) Public .false. .false.), _lfortran_stan: (Function (SymbolTable 16 {_lpython_return_variable: (Variable 16 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 16 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stan (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 16 x)] [] (Var 16 _lpython_return_variable) Public .false. .false.), _lfortran_stanh: (Function (SymbolTable 46 {_lpython_return_variable: (Variable 46 _lpython_return_variable [] ReturnVar () () Default (Real 4 []) BindC Public Required .false.), x: (Variable 46 x [] In () () Default (Real 4 []) BindC Public Required .true.)}) _lfortran_stanh (FunctionType [(Real 4 [])] (Real 4 []) BindC Interface () .false. .false. .false. .false. .false. [] [] .false.) [] [(Var 46 x)] [] (Var 46 _lpython_return_variable) Public .false. .false.), arccos: (GenericProcedure 3 arccos [3 __lpython_overloaded_0__arccos 3 __lpython_overloaded_1__arccos] Public), arccosh: (GenericProcedure 3 arccosh [3 __lpython_overloaded_0__arccosh 3 __lpython_overloaded_1__arccosh] Public), arcsin: (GenericProcedure 3 arcsin [3 __lpython_overloaded_0__arcsin 3 __lpython_overloaded_1__arcsin] Public), arcsinh: (GenericProcedure 3 arcsinh [3 __lpython_overloaded_0__arcsinh 3 __lpython_overloaded_1__arcsinh] Public), arctan: (GenericProcedure 3 arctan [3 __lpython_overloaded_0__arctan 3 __lpython_overloaded_1__arctan] Public), arctanh: (GenericProcedure 3 arctanh [3 __lpython_overloaded_0__arctanh 3 __lpython_overloaded_1__arctanh] Public), ceil: (GenericProcedure 3 ceil [3 __lpython_overloaded_0__ceil 3 __lpython_overloaded_1__ceil] Public), cos: (GenericProcedure 3 cos [3 __lpython_overloaded_0__cos 3 __lpython_overloaded_1__cos] Public), cosh: (GenericProcedure 3 cosh [3 __lpython_overloaded_0__cosh 3 __lpython_overloaded_1__cosh] Public), degrees: (GenericProcedure 3 degrees [3 __lpython_overloaded_0__degrees 3 __lpython_overloaded_1__degrees] Public), exp: (GenericProcedure 3 exp [3 __lpython_overloaded_0__exp 3 __lpython_overloaded_1__exp] Public), floor: (GenericProcedure 3 floor [3 __lpython_overloaded_0__floor 3 __lpython_overloaded_1__floor] Public), log: (GenericProcedure 3 log [3 __lpython_overloaded_0__log 3 __lpython_overloaded_1__log] Public), log10: (GenericProcedure 3 log10 [3 __lpython_overloaded_0__log10 3 __lpython_overloaded_1__log10] Public), log2: (GenericProcedure 3 log2 [3 __lpython_overloaded_0__log2 3 __lpython_overloaded_1__log2] Public), mod: (GenericProcedure 3 mod [3 __lpython_overloaded_0__mod 3 __lpython_overloaded_1__mod] Public), pi_32: (Variable 3 pi_32 [] Local (Cast (RealConstant 3.141593 (Real 8 [])) RealToReal (Real 4 []) (RealConstant 3.141593 (Real 4 []))) (RealConstant 3.141593 (Real 4 [])) Default (Real 4 []) Source Public Required .false.), pi_64: (Variable 3 pi_64 [] Local (RealConstant 3.141593 (Real 8 [])) (RealConstant 3.141593 (Real 8 [])) Default (Real 8 []) Source Public Required .false.), radians: (GenericProcedure 3 radians [3 __lpython_overloaded_0__radians 3 __lpython_overloaded_1__radians] Public), sin: (GenericProcedure 3 sin [3 __lpython_overloaded_0__sin 3 __lpython_overloaded_1__sin] Public), sinh: (GenericProcedure 3 sinh [3 __lpython_overloaded_0__sinh 3 __lpython_overloaded_1__sinh] Public), sqrt: (GenericProcedure 3 sqrt [3 __lpython_overloaded_0__sqrt 3 __lpython_overloaded_1__sqrt] Public), tan: (GenericProcedure 3 tan [3 __lpython_overloaded_0__tan 3 __lpython_overloaded_1__tan] Public), tanh: (GenericProcedure 3 tanh [3 __lpython_overloaded_0__tanh 3 __lpython_overloaded_1__tanh] Public)}) numpy [lpython_builtin lpython_builtin] .false. .false.)}) []) From 649b1202082a4a4abd4e73412db66e47c8cd2a3b Mon Sep 17 00:00:00 2001 From: Harsh Singh Jadon Date: Wed, 29 Mar 2023 14:04:52 +0530 Subject: [PATCH 6/7] Modified down_cast to down_cast2 --- src/lpython/semantics/python_ast_to_asr.cpp | 22 +++++++++------------ 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/src/lpython/semantics/python_ast_to_asr.cpp b/src/lpython/semantics/python_ast_to_asr.cpp index f6336ba372..cddc7b3823 100644 --- a/src/lpython/semantics/python_ast_to_asr.cpp +++ b/src/lpython/semantics/python_ast_to_asr.cpp @@ -5830,7 +5830,7 @@ class BodyVisitor : public CommonVisitor { return res; } - ASR::expr_t* evaluate_partition(std::string &s_var, ASR::expr_t* arg_seperator, + ASR::expr_t* eval_partition(std::string &s_var, ASR::expr_t* arg_seperator, const Location &loc, ASR::ttype_t *arg_seperator_type) { /* Invoked when Seperator argument is provided as a constant string @@ -5876,12 +5876,12 @@ class BodyVisitor : public CommonVisitor { } void create_partition(const Location &loc, std::string &s_var, ASR::expr_t *arg_seperator, - ASR::ttype_t *arg_seperator_type, ASR::expr_t *value) { - /* - Invoked when Seperator argument is provided as a variable - b: str = "ple" - Eg: "apple".seperator(b) - */ + ASR::ttype_t *arg_seperator_type) { + + ASR::expr_t *value = nullptr; + if(ASRUtils::expr_value(arg_seperator)) { + value = eval_partition(s_var, arg_seperator, loc, arg_seperator_type); + } ASR::symbol_t *fn_div = resolve_intrinsic_function(loc, "_lpython_str_partition"); Vec args; args.reserve(al, 1); @@ -5895,7 +5895,7 @@ class BodyVisitor : public CommonVisitor { args.push_back(al, str_arg); args.push_back(al, sub_arg); tmp = make_call_helper(al, fn_div, current_scope, args, "_lpython_str_partition", loc); - ASR::down_cast(tmp)->m_value = value; + ASR::down_cast2(tmp)->m_value = value; return; } @@ -6124,11 +6124,7 @@ class BodyVisitor : public CommonVisitor { if(s_var.size() == 0) { throw SemanticError("string to undergo partition cannot be empty",loc); } - ASR::expr_t *value = nullptr; - if(ASRUtils::expr_value(arg_seperator)) { - value = evaluate_partition(s_var, arg_seperator, loc, arg_seperator_type); - } - create_partition(loc, s_var, arg_seperator, arg_seperator_type, value); + create_partition(loc, s_var, arg_seperator, arg_seperator_type); return; } else { throw SemanticError("'str' object has no attribute '" + attr_name + "'", From b2a952b0fbd24c7f84a0debe3fe75c7253bd83a3 Mon Sep 17 00:00:00 2001 From: Harsh Singh Jadon Date: Thu, 30 Mar 2023 10:56:37 +0530 Subject: [PATCH 7/7] Removed brackets as requested --- src/runtime/lpython_builtin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/runtime/lpython_builtin.py b/src/runtime/lpython_builtin.py index f174e3a9de..d151022783 100644 --- a/src/runtime/lpython_builtin.py +++ b/src/runtime/lpython_builtin.py @@ -811,14 +811,14 @@ def _lpython_str_partition(s:str, sep: str) -> tuple[str, str, str]: """ Returns a 3-tuple splitted around seperator """ - if(len(s) == 0): + if len(s) == 0: raise ValueError('empty string cannot be partitioned') - if(len(sep) == 0): + if len(sep) == 0: raise ValueError('empty seperator') res : tuple[str, str, str] ind : i32 ind = _lpython_str_find(s, sep) - if(ind == -1): + if ind == -1: res = (s, "", "") else: res = (s[0:ind], sep, s[ind+len(sep): len(s)])