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