[fpc-devel] small changes in math.pp (attach 6Kb)
Okulov
ogldelphi at mail.ru
Tue Jul 19 23:18:21 CEST 2005
Florian Klaempfl wrote:
>Okulov wrote:
>
>
>
>>add some const
>>
>>
>
>The constants are too unprecise (float is actually an extended).
>
>
>>(float is actually an extended)
Ok. You can change it to single
PI consists more than 200 items, but we use only 9 of them isn't it, and
if you are using a cycle for example in OpenGL render (like me)
it's cool speed up!
>
>
>>and base2power func
>>
>>
>
>Is this really useful? I mean when I see
>code like
>i:=base2power(j);
>i:=1 shl j;
>I understand quicker what is meant in the second case :)
>
>
Ofcource you understand... but some people can use it.
Anyway if you don't wish to insert it, it is not necessary. My business
is to offer =)
More information about the fpc-devel
mailing list