google / cel-spec

Common Expression Language -- specification and binary representation
https://cel.dev
Apache License 2.0
2.78k stars 222 forks source link

Additional tests for overflow and documentation of overflow conditions #201

Closed TristonianJones closed 3 years ago

TristonianJones commented 3 years ago

Additional documentation and tests for timestamp and duration overflow behavior.

There is also a note about why double -> int and double -> uint overflow at minInt, maxInt, and maxUint since some runtimes may support a conversion from double to int depending on compiler options.