[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-commit] gnash/libbase utility.h
From: |
strk |
Subject: |
Re: [Gnash-commit] gnash/libbase utility.h |
Date: |
Sun, 2 Sep 2007 02:13:42 +0200 |
On Sun, Sep 02, 2007 at 12:08:59AM +0000, Markus Gothe wrote:
> +inline float fmax(float a, float b) { if (a < b) return b; else return a; }
> +inline float fmin(float a, float b) { if (a < b) return a; else return b; }
ISO C++ has std::min and std::max as template methods.
Unit testing ?
--strk;