[DGD] DGD Math Functions?

Felix A. Croes felix at dworkin.nl
Sun Dec 24 02:23:08 CET 2006


Manzell Blakeley <manzell at reaxion.org> wrote:

> 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.

DGD doesn't have implicit casting between floating point and integer
types.  The programmer has to be always aware of the type of an
expression.

Regards,
Dworkin



More information about the DGD mailing list