base: Implement bit casts between word and float types