Logo Search packages:      
Sourcecode: icu version File versions

static double DateFormatRoundTripTest::randFraction (  )  [inline, static]

Return a random double 0 <= x < 1.0

Definition at line 59 of file dtfmtrtts.h.

References randLong().

Referenced by randDouble().

{
    return (double)randLong() / (double)0xFFFFFFFF;
}


Generated by  Doxygen 1.6.0   Back to index