Unfortunately we don't have such constants. We use IEEE 754 for
float/double and two's complement representation for integral values with
corresponding number of bits. I'd say it should be safe if you call
numeric_limits() on types like int32_t.
On Monday, March 20, 2017 at 11:48:36 AM UTC-7, lucidbee wrote:
> What are the maximums ( and minimums) for numeric values that protobuf
> If so, is there an api to retrieve those limits? I am thinking of
> something like std::numeric_limits() in c++ standard library.
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.