octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #54414] Not recognizing that indices greater t


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #54414] Not recognizing that indices greater than (roughly) 2^63 or 20 digits are too large
Date: Mon, 21 Sep 2020 12:25:16 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36 Edg/85.0.564.51

Follow-up Comment #8, bug #54414 (project octave):

With Octave 6.0.90, I get either of the two:

>> __octave_config_info__ ('ENABLE_64')
ans = 1
>> zeros(9223372036854775807)

error: conversion of 9.22337e+18 to octave_idx_type value failed
>> zeros(922337203685477580)

error: out of memory or dimension too large for Octave's index type


That looks ok to me.

The other points seem to be covered by the (in the meantime fixed) bug
#45945.

Can this report be closed?

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?54414>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]