[fpc-devel] patch to make math.pp more D7 compatible

Florian Klaempfl florian at freepascal.org
Sun Jul 16 11:18:09 CEST 2006

Burkhard Carstens wrote:
> Tha attached patch changes the statistic functions (sum, mean, stddev 
> etc.) to expect "array of double" instead of "array of float". 
> For most of the functions, I left the result values of type float as in 
> D7, they are also type extended. Only for minvalue and maxvalue, I 
> changed the result also to double, because it doesn't make sense to 
> have higher precision here and D7 does the same.
> This changes might be problematic on platforms where double is not 
> supported (if any), but as there are other functions using double in 
> math.pp, I didn't care about this.

This is probably ancient stuff so for new stuff we should care about it
:) I'll try to modify your patch.

More information about the fpc-devel mailing list