| 427 | } |
| 428 | |
| 429 | absl::StatusOr<absl::string_view> FormatFixed( |
| 430 | const Value& value, std::optional<int> precision, |
| 431 | std::string& scratch ABSL_ATTRIBUTE_LIFETIME_BOUND) { |
| 432 | CEL_ASSIGN_OR_RETURN(auto number, GetDouble(value, scratch)); |
| 433 | return FormatDouble(number, precision, |
| 434 | /*use_scientific_notation=*/false, scratch); |
| 435 | } |
| 436 | |
| 437 | absl::StatusOr<absl::string_view> FormatScientific( |
| 438 | const Value& value, std::optional<int> precision, |
nothing calls this directly
no test coverage detected