xref: /aosp_15_r20/external/one-true-awk/testdir/tt.14 (revision 9a7741de182b2776d7b30d6355f2585c0780a51b)
1*9a7741deSElliott Hughesfunction abs(x) { return (x < 0) ? -x : x }
2*9a7741deSElliott HughesBEGIN {	n = 1000
3*9a7741deSElliott Hughes	for (i = 1; i < n; i++) x[i] = rand()
4*9a7741deSElliott Hughes	for (i in x)
5*9a7741deSElliott Hughes		for (j in x)
6*9a7741deSElliott Hughes			if (abs(x[i]-x[j]) < .01) break
7*9a7741deSElliott Hughes      }
8