[DGD] DGD Math Functions?
Manzell Blakeley
manzell at reaxion.org
Sat Dec 23 23:28:04 CET 2006
Actually, what I was noticing is they don't accept int's as arguments
when testing them out with code sqrt(9) and etc.
I suppose I should ask if there's a typechecking mode which will use
'implicit' casts for things like adding ints to floats. If this is a bad
idea I'd like know, but if it's not a performance issue it would sure be
very convinient to not have to (cast) everything.
Thanks,
Manzell B
Erwin Harte wrote:
> Manzell Blakeley wrote:
>> Hello,
>> I'm running DGD 1.2.122 + phantasmal 0.018 and I am noticing none of
>> the 'expected' math functions such as sqrt, sin, tan, abs; and so on
>> are present.
>>
>> a few questions:
>>
>> 1) do they have a different name in DGD (my guess is no)
>> 2) what is the easiest way to add this functionality?
>
> It's there, by default. Names include acos, asin, atan, atan2, cos,
> cosh, exp, log, log10, sin, sinh, sqrt, and a few others.
>
> It may help if you clarify how you are "noticing" that they are not
> present, and include information about what platform (OS, hardware)
> you're using, and whatever else may seem relevant.
>
> Cheers,
>
> Erwin.
> __________________________________________
> http://mail.dworkin.nl/mailman/listinfo/dgd
More information about the DGD
mailing list