implicit multiplication fails - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: implicit multiplication fails (/thread-6084.html) |
implicit multiplication fails - compsystems - 04-20-2016 02:13 PM Hi CAS MODE: 3x -> 3*x ok x[-]8 > x-8 ok [+/-] 8x -> -8*x ok x*[+/-] 8x-> -8*x ok but x [+/-] 8 -> Syntax Error x [+/-] 8 -> x*(-8) or -8*x ok simulated prime (PC COMPUTER SOFTWARE): the [-] key on a keypad placed [+/-], I think we should put [-] x [+/-] 8 -> Syntax Error [-] -> ANS- ... you agree? RE: implicit multiplication fails - DrD - 04-20-2016 03:30 PM The convention of putting a constant to the left side of its literal multiplicand seems to work: (I think I've read somewhere that implicit multiplication is not completely supported, though) [CAS] 8x => 8*x [+/-]8x => -8*x RE: implicit multiplication fails - cyrille de brébisson - 04-21-2016 04:48 AM Hello, Implicit multiplication is (partially) there to please some math teachers so that they can type 3A or something like that. However, using it should be Highly discouraged as it is a sure recepie for disaster. Cyrille |