Project

General

Profile

Actions

Bug #5973

closed

Usage of 64-bit constants raises exceptions in jruby

Added by Mikhail Chupilko almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Andrei Tatarnikov
Category:
Template Processor
Target version:
Start date:
05/21/2015
Due date:
% Done:

100%

Estimated time:
Detected in build:
svn
Platform:
Published in build:
150619

Description

The following code example raises an exception "The value is too big for int"

    y = 0x7fc0_0001_ffc0_0001

    And x1, x0, 0, x, x, y

The following one would result in "bignum is too big to convert into long"
    y = 0xffc0_0001_ffc0_0001

    And x1, x0, 0, x, x, y

y is specified as card(64) in the nml part

Actions #1

Updated by Andrei Tatarnikov almost 9 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

r3871 - "Test templates: support for immediate values of arbitrary size (> 32 bit)."

Please check if it works for you after the changes.

Actions #2

Updated by Andrei Tatarnikov almost 9 years ago

  • Status changed from Resolved to Closed
  • Published in build set to 150619
Actions

Also available in: Atom PDF