Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 21ca13c662ec25f79127defc72fc2212e59a1836b02bc13ab728867bce097047
Ticket: b7834045b9126bb6aa3457ea6b2be32c080e759f
MS-VC 6 on core-8-6-branch: compile error C2520: conversion from unsigned __int64 to double not implemented, use signed __int64
User & Date: jan.nijtmans on 2025-05-14 12:04:06
Changes

  1. closedate changed to: "2460810.00285414"
  2. closer changed to: "jan.nijtmans"
  3. icomment:
    > Out of curiosity, what do others return? "-Inf" ?
    
    GCC included with Mingw-W64 (the version used in Github CI) returns "1.#INF".
    
    >Would it be reasonable to compare with [expr {isinf($f)}] or tcl::mathfunc::isinf $f ?
    
    That wouldn't work. "expr" doesn't know what to do with "1.#INF" ;-)
    
    I suspect this is a temporary problem. If modern C runtimes just return "inf", everything is OK. Not worth to spend more time on it.
    
  4. login: "jan.nijtmans"
  5. mimetype: "text/plain"