"Fossies" - the Fresh Open Source Software Archive

Member "bc-1.06.95/Test/sqrt1.b" (7 Jul 2000, 157 Bytes) of package /linux/misc/old/bc-1.06.95.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Limbo source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 for (j=0; j<10; j++) {
    2   a = .9;
    3   b = .9+j;
    4   scale = 2;
    5   for (i=0; i<90; i++) {
    6     scale += 1;
    7     a /= 10;
    8     b += a;
    9     x = sqrt(b);
   10   }
   11   x;
   12 }
   13 quit