Project

General

Profile

Actions

Bug #8744

closed

SIZEOF_UNSIGNED___INT128

Added by akr (Akira Tanaka) almost 8 years ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.1.0dev (2013-08-06 trunk 42393) [x86_64-linux]
Backport:
[ruby-dev:<unknown>]
Tags:

Description

気がついたのですが、config.h で、SIZEOF_UINT128_T の定義として
SIZEOF_UNSIGNED___INT128 が使われるのですが、
定義されないようです。

% grep INT128 .ext/include/x86_64-linux/ruby/config.h
#define SIZEOF_INT128 16
#define HAVE_INT128_T 1
#define SIZEOF_INT128_T SIZEOF
INT128
#define HAVE_UINT128_T 1
#define SIZEOF_UINT128_T SIZEOF_UNSIGNED
__INT128
% ./ruby -v
ruby 2.1.0dev (2013-08-06 trunk 42393) [x86_64-linux]

Updated by jeremyevans0 (Jeremy Evans) 3 months ago

  • Backport deleted (1.9.3: UNKNOWN, 2.0.0: UNKNOWN)
  • Status changed from Open to Closed

This appears to have been addressed between Ruby 2.2 and 2.3. SIZEOF_UINT128_T doesn't seem to be defined in Ruby 2.3, but in 2.4 and later versions, I'm seeing #define SIZEOF_UINT128_T SIZEOF___INT128 and #define SIZEOF___INT128 16.

Actions

Also available in: Atom PDF