Message Boards Message Boards

0
|
11082 Views
|
1 Reply
|
1 Total Likes
View groups...
Share
Share this post:

Order of operations and Modulo

Posted 10 years ago

The convention I understand with regard to a modulo operation is that they are of equal importance when following the rules of PEDMAS. Yet when I ask wolfram alpha something like 7*7 modulo 8/10 it does the multiplication and division before doing the modulo operation. Is it not supposed to be left to right in calculation even when no brackets are used? Is this an order of operations bug?

Example:

http://www.wolframalpha.com/input/?i=7*7modulo8%2F10

POSTED BY: Nate Greene
Posted 10 years ago

I would always use brackets to separate statements like that.

POSTED BY: Priyan Fernando
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract