Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 97dbab14c7f2e0b8c4ee8586ce3c8f654ced2016
Ticket: 1618447fffffffffffffffffffffffffffffffff
expr failures on NetBSD
User & Date: kennykb on 2007-01-03 23:16:01
Changes

  1. icomment:
    Logged In: YES 
    user_id=99768
    Originator: NO
    
    This is a bug in NetBSD's frexp() routine, and not in Tcl itself.
    
    http://mail-index.netbsd.org/netbsd-bugs/2006/02/20/0016.html
    
    In fact I see at:
    
    http://ftp.cs.umn.edu/pub/NetBSD/NetBSD-current/src/lib/libc/gen/frexp_ieee754.c
    
    that there's still a comment in the source:
    
    /*
     * Fractions in [0.5..1.0) have an exponent of 2^-1.
     * Leave Inf and NaN alone, however.
     * WHAT ABOUT DENORMS?
     */
    
    and no attempt to handle denormalized quantities.
    
    I'm somewhat at a loss what to do when something as fundamental as frexp in the standard C library doesn't work.
    
    
  2. login: "kennykb"
  3. mimetype: "text/plain"
  4. username: "kennykb"