Ignore:
Timestamp:
Apr 12, 2008, 9:44:34 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Set minimal fuzzing ratio to 0.000000001% (less than one bit changed on a whole DVD).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/fuzz.c

    r1858 r2272  
    112112
    113113            /* Add some random dithering to handle ratio < 1.0/CHUNKBYTES */
    114             todo = (int)((fuzz->ratio * (8 * CHUNKBYTES * 1000)
    115                                              + _zz_rand(1000)) / 1000.0);
     114            todo = (int)((fuzz->ratio * (8 * CHUNKBYTES) * 1000000.0
     115                                + _zz_rand(1000000)) / 1000000.0);
    116116            while(todo--)
    117117            {
Note: See TracChangeset for help on using the changeset viewer.