summaryrefslogtreecommitdiff
path: root/sample/hash.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/hash.rb')
-rw-r--r--sample/hash.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/sample/hash.rb b/sample/hash.rb
new file mode 100644
index 0000000..126b17d
--- /dev/null
+++ b/sample/hash.rb
@@ -0,0 +1,4 @@
+print(+-1.0.hash,"\n")
+print(-1.0.hash,"\n")
+print((-1.0).hash,"\n")
+print(-(1.0.hash),"\n")