[U-Boot-Users] Compiler question: integer division?

Steven Scholz steven.scholz at imc-berlin.de
Fri Apr 22 19:17:07 CEST 2005


Hi Jerry,

>> I just wondered if the code
>>
>>     return (dtt_read(sensor, DTT_READ_TEMP) / 256);
>>
>> would be result in a "shift by 8" or and interger division?
> 
> Short answer: Yes.

Thanks! Have a nice weekend!

Steven




More information about the U-Boot mailing list