Ignore:
Timestamp:
Jun 2, 2020, 11:37:23 AM (4 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
04b4a71
Parents:
3d46f01
Message:

comment random function about returning int, and reduce includes for stdlib.hfa

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/stdlib.cfa

    r3d46f01 r4e7c0fc0  
    1010// Created On       : Thu Jan 28 17:10:29 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Apr 16 22:43:33 2020
    13 // Update Count     : 498
     12// Last Modified On : Tue Jun  2 08:44:46 2020
     13// Update Count     : 499
    1414//
    1515
     
    277277extern "C" {                                                                                    // override C version
    278278        void srandom( unsigned int seed ) { srand48( (long int)seed ); }
    279         long int random( void ) { return mrand48(); }
     279        long int random( void ) { return mrand48(); }           // GENERATES POSITIVE AND NEGATIVE VALUES
    280280} // extern "C"
    281281
Note: See TracChangeset for help on using the changeset viewer.