Commit 6e3c23a
authored
Correct
In Haskell, `signum x` is defined to be -1 if x is negative, 1 if it is positive,
and 0 if x is 0.
This is different from ArrayFire's `sign` function, but it can be implemented
in terms of this function.signum function according to the Haskell report. (#60)1 parent 8a674d9 commit 6e3c23a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments