Changeset 20cf96d for tests


Ignore:
Timestamp:
Nov 22, 2022, 11:03:19 PM (17 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, ast-experimental, master
Children:
78de1e5
Parents:
29702ad
Message:

changes to PRNG types to eliminate casts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/PRNG.cfa

    r29702ad r20cf96d  
    88// Created On       : Wed Dec 29 09:38:12 2021
    99// Last Modified By : Peter A. Buhr
    10 // Last Modified On : Sun Nov 20 22:17:35 2022
    11 // Update Count     : 377
     10// Last Modified On : Tue Nov 22 22:51:12 2022
     11// Update Count     : 381
    1212//
    1313
     
    171171        for ( 20 ) {
    172172                sout | wd(13, prng( prng )) | nonl;                             // cascading => side-effect functions called in arbitary order
    173                 sout | wd(10, prng( prng, 5z )) | nonl;
    174                 sout | wd(13, prng( prng, 0, 5z ));
     173                sout | wd(10, prng( prng, 5 )) | nonl;
     174                sout | wd(13, prng( prng, 0, 5 ));
    175175        } // for
    176176        sout | sepEnable;
     
    206206        for ( 20 ) {
    207207                sout | wd(13, prng()) | nonl;                                   // cascading => side-effect functions called in arbitary order
    208                 sout | wd(10, prng( 5z )) | nonl;
    209                 sout | wd(13, prng( 0, 5z ));
     208                sout | wd(10, prng( 5 )) | nonl;
     209                sout | wd(13, prng( 0, 5 ));
    210210        } // for
    211211        sout | sepEnable;
     
    242242        for ( 20 ) {
    243243                sout | wd(13, prng( th )) | nonl;                               // cascading => side-effect functions called in arbitary order
    244                 sout | wd(10, prng( th, 5z )) | nonl;
    245                 sout | wd(13, prng( th, 0, 5z ));
     244                sout | wd(10, prng( th, 5 )) | nonl;
     245                sout | wd(13, prng( th, 0, 5 ));
    246246        } // for
    247247        sout | sepEnable;
Note: See TracChangeset for help on using the changeset viewer.