Modify

Opened 5 weeks ago

Last modified 5 weeks ago

#3703 new Bug

2 ^ 49 and further return wrong results

Reported by: timsky Owned by:
Milestone: Component: AutoIt
Version: 3.3.14.5 Severity: None
Keywords: Cc:

Description

Bug starts at 2 49 and further. Sample code:

$iInt64 = Int(2 ^ 49, 1)
ConsoleWrite($iInt64 & @lf)
562949953421313

Attachments (0)

Change History (1)

comment:1 in reply to: ↑ description Changed 5 weeks ago by t

Replying to timsky:

Bug starts at 2 49 and further. Sample code:

$iInt64 = Int(2 ^ 49, 1)
ConsoleWrite($iInt64 & @lf)
562949953421313

Sorry there is a typo. Code should be:

$iInt64 = Int(2 ^ 49, 2)
ConsoleWrite($iInt64 & @lf)

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as new The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.