linx-simulator2/node_modules/protobufjs/tests/numberformats.proto
2019-09-18 11:11:16 +03:00

19 lines
531 B
Protocol Buffer

enum Formats {
DEC = 1;
HEX = 0x1F;
OCT = 017;
}
message Msg {
required int32 dec = 1 [default=-1];
required int32 hex = 2 [default=-0x1F];
required int32 oct = 3 [default=-017];
required double exp = 4 [default=0.1e5];
required double nod = 5 [default=1.];
required double exn = 6 [default=1e8];
required double sp1 = 7 [default=inf];
required double sp2 = 8 [default=-inf];
required double sp3 = 9 [default=nan];
required int32 hexUC = 10 [default=0X209];
}