From: muraken@... Date: 2020-09-16T04:30:37+00:00 Subject: [ruby-core:100020] [Ruby master Bug#17172] Passing a complex number to Complex.polar occurs assertion failed when NDEBUG is undefined Issue #17172 has been reported by mrkn (Kenta Murata). ---------------------------------------- Bug #17172: Passing a complex number to Complex.polar occurs assertion failed when NDEBUG is undefined https://bugs.ruby-lang.org/issues/17172 * Author: mrkn (Kenta Murata) * Status: Open * Priority: Normal * Assignee: mrkn (Kenta Murata) * ruby -v: ruby 3.0.0dev (2020-09-15T22:45:01Z fix_complex_polar 344304c89f) [x86_64-linux] * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN ---------------------------------------- ``` $ build-debug/ruby -e "p Complex.polar(1, Complex(1, 0))" Assertion Failed: ../complex.c:637:f_complex_polar:!RB_TYPE_P(y, T_COMPLEX) ruby 3.0.0dev (2020-09-15T22:45:01Z fix_complex_polar 344304c89f) [x86_64-linux] ``` -- https://bugs.ruby-lang.org/ Unsubscribe: