Float in Byte umwandeln

EDIT:
Nein. Quatsch. Man darf natürlich nur um 2 Schieben. Man hat 10 Bit und will 8 davon. Also:

value = value >> 2;

Das ist auch nichts anderes als eine Division durch 4 (1024 / 4 = 256). Aber schneller. Wobei der Compiler das eigentlich von selbst optimieren sollte.