The Interactive Geometry Software Cinderella

Forum: Cinderella Support (D)

Forums->Cinderella Support (D)->Signum in Cindyscript

t.neukirchner
posts:2
1 stars
Signum in Cindyscript


Hallo,

gibt es in Cindyscript keine Signumfunktion ?

Herzliche Grüße
Thomas

 
on: Sun 03 of Jun, 2012 [05:56 UTC] reads: 72653

Posted messages

author message
Kortenkamp
posts:366
5 stars
Re: Signum in Cindyscript
on: Sun 03 of Jun, 2012 [19:24 UTC]
Hallo Thomas,

nein, du kannst dir aber schnell eine schreiben:

sign(x):=if(x>0,1,if(x<0,-1,0));


Gruß,

Ulli




Show posts:
 
Language