Commits

Anonymous committed 6c0bd2e

visual studio long double is equivalent to double

  • Participants
  • Parent commits 1bf0528
  • Branches win32

Comments (0)

Files changed (1)

File testing/test_verify.py

 def test_longdouble_precision():
     # Test that we don't loose any precision of 'long double' when
     # passing through Python and CFFI.
+    if ffi.sizeof("long double")==ffi.sizeof("double"):
+        py.test.skip('"long double" is no more precise than "double"')
     ffi = FFI()
     ffi.cdef("long double step1(long double x);")
     lib = ffi.verify("""