Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 909de6a2fc37a1f35320199bb6a26742595767c9
Ticket: 1480509fffffffffffffffffffffffffffffffff
Allow srand() to handle big wides
User & Date: dgp on 2006-05-03 21:51:59
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    
    Note that on 32-bit platforms,
    "long" and "int" are identical,
    so the distinction I made doesn't
    show up there.
    
    I'm troubled that my 8.4 results
    are different from yours:
    
    % info patch
    8.4.13
    % expr srand(4294967295)
    0.757421701102
    % expr srand(4294967296)
    can't use floating-point value as argument to srand
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"