The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Peculiar precedence
12-16-2015, 01:00 PM
Post: #1
Peculiar precedence
Noticed the following odd behavior on the Prime in CAS mode,

case 1: -16(0.5)^2 = -64
case 2: -16*(0.5)^2 = -4

It seems without the explicit multiplication, -16(0.5) takes precedence over the squaring (0.5)^2. In HOME mode, the computation works as expected (i.e. case 2)

Appreciatively,
Chris
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Peculiar precedence - cdecastro - 12-16-2015 01:00 PM
RE: Peculiar precedence - parisse - 12-21-2015, 04:21 PM
RE: Peculiar precedence - cdecastro - 12-22-2015, 01:26 PM
RE: Peculiar precedence - Marcel - 12-22-2015, 02:34 PM
RE: Peculiar precedence - parisse - 12-22-2015, 05:53 PM
RE: Peculiar precedence - cdecastro - 12-22-2015, 06:37 PM
RE: Peculiar precedence - parisse - 12-23-2015, 07:18 AM



User(s) browsing this thread: 2 Guest(s)