From: Stavros M. <mac...@us...> - 2017-11-28 22:20:44
|
--- ** [bugs:#3364] sqrt(5) => sqrt(2)*%i with modulus=7** **Status:** open **Group:** None **Created:** Tue Nov 28, 2017 10:20 PM UTC by Stavros Macrakis **Last Updated:** Tue Nov 28, 2017 10:20 PM UTC **Owner:** nobody sqrt(5) => sqrt(2)*%i with modulus=7 9^(1/3) => 2^(1/3) with modulus=7 This is not correct. The 5 should only be converted to mod(5,7) = -2 within a CRE, e.g., rat(sqrt(5)) => sqrt(2)*%i Note this inconsistency: modulus:false$ ex: [5, sqrt(5)] => [5, sqrt(5)] modulus:7$ rat(ex) => [5,sqrt(5)] BUT rat([5,sqrt(5)]) => [-2,sqrt(2)*%i] build_info(version="5.41.0a_dirty",timestamp="2017-10-23 00:00:36",host="i686-w64-mingw32",lisp_name="CLISP",lisp_version="2.49 (2010-07-07) (built on toshiba [10.0.3.1])") --- Sent from sourceforge.net because max...@li... is subscribed to https://sourceforge.net/p/maxima/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/maxima/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |