우연히 신문 기사를 보다가 재밌기도 하고, 과연 유명한 어플리케이션들은 어떻게 계산 할찌 궁금하기도 하고 해서 돌려 봤다. 재미있는 결과기도 하고... ㅎㅎ
Mathematica 6.0 for Linux x86 (32-bit)
Copyright 1988-2007 Wolfram Research, Inc.
In[1]:= 48/2(9+3)
Out[1]= 288
ROOT
ROOT 5.26/00c (tags/v5-26-00c@34335, Jul 13 2010, 01:39:40 on linuxx8664gcc)
CINT/ROOT C/C++ Interpreter version 5.17.00, Dec 21, 2008
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] 48/2(9+3)
Warning: Illegal numerical expression 2(9+3) (tmpfile):1:
Warning: Illegal numerical expression 2(9+3) (tmpfile):1:
(const int)24
GNU Octave, version 3.0.1
Copyright (C) 2008 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
Octave was configured for "x86_64-pc-linux-gnu".
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html
Report bugs to <bug@octave.org> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).
For information about changes from previous versions, type `news'.
octave:1> 48/2(9+3)
error: invalid vector index = 12
error: evaluating binary operator `/' near line 1, column 3
Python
Python 2.6.6 (r266:84292, Dec 27 2010, 00:02:40)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 48/2(9+3)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'int' object is not callable
Google
Search Result