Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 28e00fe60a1566890d38e1600ecf8f4dfb13b5ec
Ticket: 1061224fffffffffffffffffffffffffffffffff
"expr sqrt(-1)" crash with EXCEPTION_FLT_INVALID_OPERATION
User & Date: davygrvy on 2004-11-07 02:36:21
Changes

  1. icomment:
    Logged In: YES 
    user_id=7549
    
    The problem here is that normally, hardware exceptions are
    caught by the C runtime (msvcrt) unless changed.  As Tcl is
    not specifically resetting the runtime's exception mask for
    each time a math function is called, the control mask
    follows the global settings.  As part of my application is
    not accible to me in source, I can not change the rest of
    the DLLs usage of the global control mask.  But if Tcl
    dis-associated itself to a global exception setting and was
    responsible just for its own calls, all is fixable.
    
    
  2. login: "davygrvy"
  3. mimetype: "text/plain"
  4. username: "davygrvy"