Update float comment
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 27 Sep 2010 21:42:27 +0000 (17:42 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 27 Sep 2010 21:42:27 +0000 (17:42 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lib/types/float.c

index 1f33f8078003b8cabdd0510e178aba0e3a6409f6..bc271610bf54a5905701b25c27e10b4c540d9ee6 100644 (file)
@@ -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,
This page took 0.024035 seconds and 4 git commands to generate.