[gst-devel] fractions

David Schleef ds at schleef.org
Thu Jul 15 11:51:09 CEST 2004


On Thu, Jul 15, 2004 at 12:06:29PM +0200, Thomas Vander Stichele wrote:
> How are they as invasive as a general number type ?

It's more invasive than using GstDouble.

> So the rounding errors made it impossible for mencoder to do a common
> operation we eventually want to support.

I can't help that other projects write shitty floating point code.
That is not a reason to avoid floating point numbers.

> I'm trying to get
> you to convince me why floats are good enough given that every codec
> project or person that has an opinion about it (excluding me) is saying
> it isn't.

The simple reason is: we use floats _now_.  And we're in a stable
series.

> I don't know what to do about this.

Apply it.  Changing your patch to floats now would likely create
more problems than could be created by the patch as is.



dave...





More information about the gstreamer-devel mailing list