3 Jul 2007 15:26
contiki-2.x/core/lib rand.h,1.1,1.2
Update of /cvsroot/contiki/contiki-2.x/core/lib In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv20095 Modified Files: rand.h Log Message: * Use 16x16 bit ==> 32 bit multiplications. This gives a speedup of 5 on the MSP430. Index: rand.h =================================================================== RCS file: /cvsroot/contiki/contiki-2.x/core/lib/rand.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** rand.h 17 Jun 2006 22:41:18 -0000 1.1 --- rand.h 3 Jul 2007 13:26:15 -0000 1.2 *************** *** 51,55 **** */ ! extern unsigned long rand_state; int rand(void); --- 51,55 ---- */ ! extern int32_t rand_state; int rand(void);(Continue reading)
RSS Feed