-
-
Notifications
You must be signed in to change notification settings - Fork 21
Sample
CD2 edited this page Feb 8, 2023
·
1 revision
lib al = <alert.ssz>;
al.alert!self?("Hello, world!");
lib al = <alert.ssz>;
libs = <string.ssz>;
long m = 7, n = 5;
loop {
int i = 0;
double sqr;
while;
do:
sqr = (double)m / (double)n;
n = (long)((double)n * (sqr + 1.0) + 0.5);
m = (long)((double)n * sqr + 0.5);
i++;
while i < 4:
}
al.alert!self?(s.iToS(m)+"/"+s.iToS(n));