tommorris (owner)

Revisions

gist: 207222 Download_button fork
public
Description:
Spot the difference
Public Clone URL: git://gist.github.com/207222.git
Embed All Files: show embed
Text only #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
ricoeur:~ tom$ python
Python 2.6.2 (r262:71600, Apr 16 2009, 09:17:39)
[GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 2.3 - 3.4
-1.1000000000000001
>>>
 
ricoeur:~ tom$ irb
>> 2.3 - 3.4
=> -1.1
>> ^D
 
ricoeur:~ tom$ scala
Welcome to Scala version 2.7.5.final (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_15).
Type in expressions to have them evaluated.
Type :help for more information.
 
scala> 2.3 - 3.4
res0: Double = -1.1