From 6ca23e326a32345a89351131ededf60c2a35300a Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 27 Sep 2010 17:42:27 -0400 Subject: [PATCH] Update float comment Signed-off-by: Mathieu Desnoyers --- lib/types/float.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/types/float.c b/lib/types/float.c index 1f33f807..bc271610 100644 --- a/lib/types/float.c +++ b/lib/types/float.c @@ -105,7 +105,7 @@ void ctf_float_copy(unsigned char *destp, const struct ctf_float *dest, bitfield_unsigned_write(&u.bits, destpos.sign_start, 1, dest->byte_order, tmp); - /* mantissa (except sign). No sign extend. */ + /* mantissa (without leading 1). No sign extend. */ tmp = bitfield_unsigned_read(ptr, srcpos.mantissa_start, src->mantissa_len - 1, src->byte_order); bitfield_unsigned_write(&u.bits, destpos.mantissa_start, -- 2.34.1