1 2 3 4 5 6 7 8 9 10 11 12 13 14
// See LICENSE.SoftFloat for license details. #include <stdint.h> #include "platform.h" #include "primitives.h" uint64_t softfloat_shortShift64RightJam( uint64_t a, unsigned int count ) { return a>>count | ( ( a & ( ( (uint64_t) 1<<count ) - 1 ) ) != 0 ); }