Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e2772a757a8b7191e2733efaab71f5eb1c4f5c480bb16941d4c435e2b40cd9ae
Ticket: 53a4d9603c3c670894e185fe441ed25ef22bdca3
[binary scan] "f" example incorrect
User & Date: tomkiti on 2026-06-08 16:00:09
Changes

  1. icomment:
    I'm running on a Windows 11 PC (Intel) using Tcl 9.0.3 (64-bit). When I run the following command:
    
        binary scan \x3F\xCC\xCC\xCD f var1; puts $var1
    
    I get:
    
        -429492192.0
    
    When I run:
    
        binary scan \xCD\xCC\xCC\x3F f var1; puts $var1
    
    I get:
    
        1.600000023841858
    
    I get the same results on a Red Hat 10 PC.
    
  2. login: "tomkiti"
  3. mimetype: "text/plain"