• source navigation  • diff markup  • identifier search  • freetext search  • 

Sources/json-c/tests/test_double_serializer.expected

  1 Test default serializer:
  2 obj.to_string(standard)=0.5
  3 Test default serializer with custom userdata:
  4 obj.to_string(userdata)=0.5
  5 Test explicit serializer with custom userdata:
  6 obj.to_string(custom)=test
  7 Test reset serializer:
  8 obj.to_string(reset)=0.5
  9 Test no zero reset serializer:
 10 obj.to_string(reset)=3.1415000000000002
 11 obj.to_string(default format)=0.52381
 12 obj.to_string(with global format)=x0.524y
 13 obj.to_string(with thread format)=T0.52X
 14 obj.to_string(long thread format)=Ttttttttttttt0.52xxxxxxxxxxxxxxxxxxX
 15 obj.to_string(back to global format)=x0.524y
 16 obj.to_string(back to default format)=0.52381
 17 obj(12.0).to_string(default format)=12.0
 18 obj(12.0).to_string(%.0f)=12
 19 obj(12.0).to_string(%.0g)=1e+01
 20 obj(12.0).to_string(%.1g)=12.0
 21 obj(-12.0).to_string(default format)=-12.0
 22 obj(0.0/0.0)=NaN
 23 obj(1.0/0.0)=Infinity
 24 obj(-1.0/0.0)=-Infinity

This page was automatically generated by LXR 0.3.1.  •  OpenWrt