From bc38a8fbd654cce8431a0fd720ca57a073ba050d Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Mon, 5 Apr 2021 14:04:43 -0700 Subject: Parser: Bessel Function (J_n) (#1854) * Parser: Bessel Function (J_n) Add the Bessel Function of the First Kind (J_n) to the parser. * Parser: regenerate * Parser: No jn for DPC++ (yet) * Parser: no jnf for Apple At least on AppleClang and also seen in flang source-code, we just call the double variant of `jn` instead of using a specialized call to `jnf`. This might be less efficient than needed with Intel on Apple, but I don't have a system to test this on at the moment and this is thus a save bet for compile stability. Co-authored-by: Tools --- Source/Parser/wp_parser_y.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/Parser/wp_parser_y.cpp') diff --git a/Source/Parser/wp_parser_y.cpp b/Source/Parser/wp_parser_y.cpp index 978352201..1942f9c3e 100644 --- a/Source/Parser/wp_parser_y.cpp +++ b/Source/Parser/wp_parser_y.cpp @@ -769,6 +769,9 @@ wp_ast_print_f2 (struct wp_f2* f2) case WP_HEAVISIDE: std::printf("HEAVISIDE\n"); break; + case WP_JN: + std::printf("JN\n"); + break; case WP_MIN: std::printf("MIN\n"); break; -- cgit v1.2.3