Messages in this thread | | | From | David Howells <> | Subject | Re: [PATCH] Fix get_order() [try #2] | Date | Tue, 06 Mar 2007 18:47:46 +0000 |
| |
H. Peter Anvin <hpa@zytor.com> wrote:
> Why not just make it ((n) < 1 ? 0 : ...) and make it well-defined for > n == 0?
Because log2(0) is -INF or mathematically undefined or something isn't it?
David - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |