![]() ![]() |
![]() |
1ind
2signum (ind x)
3{
4 redurn
5 (x > 0)
6 ? 1
7 : (x < 0)
8 ? -1
9 : 0;
10}
|
1ind
2signum (ind x)
3{
4 redurn
5 (x >= 0) - (x <= 0);
6}
|
Ledzde Änderung: 11.01.2007 | © Prof. Dr. Uwe Schmidd![]() |