Re: [lm-sensors] [PATCH 1/2] Create a DIV_ROUND_CLOSEST macro to do division with rounding

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Tuesday, November 11, 2008 - 4:20 pm

On Tue, 11 Nov 2008 15:05:02 -0800 (PST)
Trent Piepho <tpiepho@freescale.com> wrote:


The others need fixing too.


yup.  I wonder why the compiler doesn't do that for itself - is there a
case where it will generate a different result?

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [lm-sensors] [PATCH 1/2] Create a DIV_ROUND_CLOSEST ma ..., Andrew Morton, (Tue Nov 11, 4:20 pm)