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:
> hello!!
> What are the maximums ( and minimums) for numeric values that protobuf 
> supports? 
> If so, is there an api to retrieve those limits? I am thinking of 
> something like std::numeric_limits() in c++ standard library.
> Thanks.
> lucidbee

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 protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to