Changeset 3838 in Sophya for trunk/SophyaLib/BaseTools/randr48.h


Ignore:
Timestamp:
Aug 9, 2010, 7:31:12 PM (15 years ago)
Author:
ansari
Message:

MAJ commentaires pour doxygen, passage methode Next() en pure virtual (=0), Reza 09/08/2010

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/BaseTools/randr48.h

    r3739 r3838  
    1515
    1616
    17 /* ------- SPECIFIQUE Mac Darwin OSX  <= 10.2 (gcc < 3.x) -------- */
    18 #if defined(Darwin) &&  defined(__GNUC__) && (__GNUC__ < 3)
    19 #include "osx_values.h"
    20 /* Declaration de drand48 et srand48 etc , mis ds SysSpec, Reza 11/02/2003 */
    21 #ifdef __cplusplus
    22 extern "C" {
    23 #endif
    24 unsigned short int * seed48(unsigned short int seed16v[3]);
    25 void srand48(long seedval);
    26 #ifdef __cplusplus
    27 }
    28 #endif
    29 #define drand48() ((double)(random())/LONG_MAX)
    30 #endif
    31 /* ------- FIN SPECIFIQUE Mac OSX / Darwin V <= 10.2 --------- */
    32 
    33 
    3417namespace SOPHYA {
    3518
    36 //! Implementation of the RandomGeneratorInterface class using drand48() functions
     19// Implementation de RandomGeneratorInterface avec drand48()
    3720class DR48RandGen : public RandomGeneratorInterface {
    3821
     
    6043//--------------------------------------------------------------------------------
    6144
    62 //! Version thread-safe de RandomGeneratorInterface avec drand48() functions
     45// Version thread-safe de  DR48RandGen
    6346class ThSDR48RandGen : public DR48RandGen {
    6447
Note: See TracChangeset for help on using the changeset viewer.