[P4-dev] Where should the operations on arbitrary-precision integers be declared?
richardqa at gmail.com
Thu Jun 16 19:13:24 EDT 2016
I am trying to use the operations on "arbitrary-precison constant
integers", however I dont get to know how to declare these constant
integers. In the P4 spec for v1.1 tell that "the only values that can have
the type *int* are compile-time constants" but it doesn't show how to use
it. For example, i want to use the operator modulo to get the *modulo* of
two variables, where and how should I declare these variables?.
Thank in advance,
Fingerprint: 7AF8 4E03 66C2 2663 3A77 7067 6B5A D8F9 EE91 47BE
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the P4-dev