CVS log for dietlibc/lib/rand.c
Up to [DVB] / dietlibc / lib
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Aug 24 23:21:01 2019 UTC (4 years, 9 months ago) by leitner
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
remove a few gcc 10 warnings
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Mar 21 22:58:39 2012 UTC (12 years, 2 months ago) by leitner
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -1
lines
srand(0) set the seed to 0, which caused rand() to return a series of 0
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Oct 27 16:51:03 2002 UTC (21 years, 7 months ago) by fefe
Branches: MAIN
CVS tags: finnland_test_200301,
branch_rc14_fieldtest_finnland,
branch_rc13_fieldtest_finnland,
branch_rc12_fieldtest_finnland,
branch_rc10_fieldtest_finnland,
RELEASE_finnland_200301_1,
RC12_FIELDTEST_FINNLAND,
RC10_FIELDTEST_FINNLAND
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -1
lines
add killpg prototype (Luc Van Oostenryck)
remove some compiler warnings (Luc Van Oostenryck)
better rand() from Knuth's TAOCP (Luc Van Oostenryck)
Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Jul 23 17:19:40 2001 UTC (22 years, 10 months ago) by fefe
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -1
lines
fuse rand() and random, srand() and srandom() and abs() and labs() for
32-bit platforms.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Feb 11 14:47:52 2001 UTC (23 years, 3 months ago) by fefe
Branches: MAIN
implemented really crappy rand() and srand() (if you need real
randomness, use a real PRNG). Implemented qsort() and bsearch().
For some reason, they outperform their glibc counterparts by a
surprisingly large margin _and_ are smaller.
LinuxTV legacy CVS <linuxtv.org/cvs>