[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: TS clarification (was: [rohc] The discussion on slope(s) (red ux))
> > 2) In general, I strongly disagree that "/" is normally used for
> > integral division. In all sophisticated programming languages,
> > integral division has its own operands, while "/" is the operand
> > generating a decimal result.
>
> Lars-Erik,
>
> Have you ever written code in C/C++? I don't know if they are
> qualified as "sophisticated programming languages" you mentioned
> above, but "/" below generates an integer.
>
> unsigned int i = 10 / 3;
>
> BR, Zhigang
Sure, I have written lots of C code, and no, C/C++ does not qualify
as sophisticated languages in my mind, especially not when it comes
to type handling.
Anyway, this is just a minor side issue and a detail in the exact
wording of the TS encoding clarification. Unfortunately, I have to
agree with you that you seem to be all alone with your opinion on
this subject, and I am sorry to say that we will thus not be able
to get complete WG agreement on the issue. However, we do have rough
consensus to go with the resolution now present in the implementer's
guide (although we might adjust details in the wording).
Rgds,
/L-E
_______________________________________________
Rohc mailing list
Rohc at ietf.org
https://www1.ietf.org/mailman/listinfo/rohc