Skip to content
Commit bcca0dcb authored by Bogdan Davidoaia's avatar Bogdan Davidoaia Committed by Inaky Perez-Gonzalez
Browse files

util: add portable arithmetic shift right



Add arithmetic_shift_right function, as the behaviour for shifting right a
negative signed value is implementation-defined (see ISO/IEC 9899 §6.5.7).

Change-Id: I05d930a96e8591dc248295bff853ed9e9cb263a2
Signed-off-by: default avatarBogdan Davidoaia <bogdan.m.davidoaia@intel.com>
parent c6322718
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment