Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/facebook/luaffifb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Gross <sgross@fb.com>2015-04-29 21:45:15 +0300
committerSam Gross <sgross@fb.com>2015-04-29 21:45:15 +0300
commitf35c91d878c8cbde9f5b15da59761a2eabd75777 (patch)
treeb6d26dc227edce8ec4b21963391ac81440b92669
parentec9e4eae9746304e449ce126bf54ee44dff26140 (diff)
Match LuaJIT format for complex numbers
-rw-r--r--test.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.lua b/test.lua
index a9a3c56..230c9cd 100644
--- a/test.lua
+++ b/test.lua
@@ -716,7 +716,7 @@ end
check(tostring(1+3*i), '1+3i')
check(tostring((1+3*i)*(2+4*i)), '-10+10i')
-check(tostring((3+2*i)*(3-2*i)), '13')
+check(tostring((3+2*i)*(3-2*i)), '13+0i')
-- Should ignore unknown attributes
ffi.cdef [[