Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 22a3d52fe3318ecdac8c61e15e8fd7fb4c807dda
Ticket: 1735583fffffffffffffffffffffffffffffffff
Test expr-47.12 fails on linux
User & Date: kennykb on 2007-06-18 09:05:15
Changes

  1. icomment:
    Logged In: YES 
    user_id=99768
    Originator: NO
    
    Your remark about 'an older glibc' may be a key.  Since it appears that it's the 'ldexp' function that's failing -- or at least, that's what happened the earlier time that we saw these exact symptoms - it could be that rather than the compiler's being at fault, it's the library.  In any case, trying with a library that (at least) matches the compiler would provide a useful data point.
    
    I really, really want to avoid the endless rat race of coding around everyone's bugs in compilers and standard libraries.  ldexp is a fundamental floating-point operation; it's in the standard library because it's insanely difficult to do in a portable fashion -- except in cases of over/underflow, it's required to return an exact result.  I concede that we do work around bugs in MSVC - but that compiler enjoys something of a privileged status because, well frankly, because a tremendous number of people use it in spite of the fact that Microsoft has an abysmal record of fixing bugs.
    
    
  2. login: "kennykb"
  3. mimetype: "text/plain"
  4. username: "kennykb"