Commit a0a0b23e authored by Arnaud Blanchard's avatar Arnaud Blanchard
Browse files

Manage more types

parent 1b3fd663
......@@ -61,6 +61,10 @@ int main(int argc, char *argv[]){
else switch (input.type){
case 'UIN8':max=UINT8_MAX;break;
case 'INT8':max=INT8_MAX;break;
case 'UI16':max=UINT16_MAX;break;
case 'IN16':max=INT16_MAX;break;
case 'UI32':max=UINT32_MAX;break;
case 'IN32':max=INT32_MAX;break;
case 'FL32': case 'FL64':max=1.0;break;
default: EXIT_ON_CHANNEL_ERROR(&input, "No default max value");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment