Project

General

Profile

Actions

Bug #8744

closed

SIZEOF_UNSIGNED___INT128

Added by akr (Akira Tanaka) over 10 years ago. Updated almost 3 years ago.

Status:
Closed
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) almost 3 years ago

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

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

Like0
Like0