|
Re: Coding / Style Standards for sharing C code
Another thing to be decided on...
I've notices some people are using -127 to +127 values in example source code. And then they hope that people will convert them to the necessary 0 to 254 values. Should a function in the library be allowed to return a non-converted value? Or should it be noted that the function returns values on the scale from -127 to +127, and the end user must use another function (avaliable in the library) to convert that value to a usable one?
__________________
"FIRST is like bling bling for the brain." - Woodie Flowers
|