Please enable JavaScript in your browser!
Home
Esplora
Aiuto
Accedi
ZelphirKaltstahl
/
advent-of-code-2021
Segui
1
Vota
0
Forka
0
File
Problemi
0
Pull Requests
0
Wiki
Ramo (Branch):
master
Rami (Branch)
Tag
master
advent-of-co...
/
day-05
/
lib
/
math_extra.sml
math_extra.sml
162 B
Permalink
Cronologia
Originale
1
2
3
4
5
6
7
8
9
10
structure MathExtra = struct
fun sign num =
if num > 0
then 1
else
if num < 0
then ~1
else 0;
end