FreeBSD/usr.bin/lastcomm/readrec.c
/*
 * Return the value of a comp_t field.
 */
Return the value of a comp_t field.
Return the value of a comp_t field .
static float
decode_comp(comp_t v)
{
	int result, exp;
	result = v & 017777;
	for (exp = v >> 13; exp; exp--)
		result <<= 3;
	return ((double)result / AHZV1);
}
static float decode_comp ( comp_t v ) { int result , exp ; result = v & 017777 ; for ( exp = v >> 13 ; exp ; exp -- ) result <<= 3 ; return ( ( double ) result / AHZV1 ) ; }
Return the value of a comp_t field.
Return the value of a comp_t field .