floats.proto 483 B

123456789101112
  1. syntax = "proto2";
  2. message Floats {
  3. optional float float_pos_inf = 1 [default = inf];
  4. optional float float_neg_inf = 2 [default = -inf];
  5. optional float float_pos_nan = 3 [default = nan];
  6. optional float float_neg_nan = 4 [default = -nan];
  7. optional double double_pos_inf = 5 [default = inf];
  8. optional double double_neg_inf = 6 [default = -inf];
  9. optional double double_pos_nan = 7 [default = nan];
  10. optional double double_neg_nan = 8 [default = -nan];
  11. }