mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-02 06:18:18 +00:00
* [swift] fix broken swift test build (#7633) * [swift] fix unused variable (#7633) * [swift] update generated code (#7633) * [swift] add binary & json test for nan, inf, -inf for swift (#7633) * [swift] use just '.infinity' instead of '+.infinity' (#7633) * [swift] remove commented code (#7633) Co-authored-by: Derek Bailey <derekbailey@google.com> Co-authored-by: mustiikhalil <26250654+mustiikhalil@users.noreply.github.com>
This commit is contained in:
14
tests/nan_inf_test.fbs
Normal file
14
tests/nan_inf_test.fbs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace Swift.Tests;
|
||||
|
||||
table NanInfTable
|
||||
{
|
||||
default_nan:double = nan;
|
||||
default_inf:double = inf;
|
||||
default_ninf:double = -inf;
|
||||
value_nan:double;
|
||||
value_inf:double;
|
||||
value_ninf:double;
|
||||
value:double;
|
||||
}
|
||||
|
||||
root_type NanInfTable;
|
||||
Reference in New Issue
Block a user