Currently, no, that is not supported.  I'm happy to accept a patch which
adds the ability to use "infinity" and "nan" as default values for doubles
and floats.

On Fri, Jun 19, 2009 at 6:53 AM, dragan mihajlovic <> wrote:

> Hi.
> Is there a way to specify NaN as a default value for a double type
> member in a .proto file .
> Regards,
> Dragan
> >

You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to