Difference between revisions of "Talk:Physical equality"
Jump to navigation
Jump to search
(2 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
--[[User:Lemmih|Lemmih]] 15:00, 29 July 2006 (UTC) |
--[[User:Lemmih|Lemmih]] 15:00, 29 July 2006 (UTC) |
||
+ | |||
+ | |||
+ | No need to talk about OCaml's nan: |
||
+ | Prelude> 0/0 |
||
+ | NaN |
||
+ | Prelude> 0/0 == 0/0 |
||
+ | False |
Latest revision as of 19:20, 20 December 2010
GHC already has physical equality testing via GHC.Exts.reallyUnsafePtrEquality#
--Lemmih 15:00, 29 July 2006 (UTC)
No need to talk about OCaml's nan:
Prelude> 0/0
NaN
Prelude> 0/0 == 0/0
False