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

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

[Octave-bug-tracker] [bug #40607] mxe-octave: mixed uint64/double arithm


From: John Donoghue
Subject: [Octave-bug-tracker] [bug #40607] mxe-octave: mixed uint64/double arithmetic incorrect (GUI-only)
Date: Sun, 24 Nov 2013 20:41:02 +0000
User-agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)

Follow-up Comment #33, bug #40607 (project octave):



>>  uint64(2)^63
ans = 9223372036854775808
>>  uint64(2)^63-1
ans = 9223372036854775808
>>  uint64(2)^63-2
ans = 9223372036854775808
>>  int64(2)^63
ans = 9223372036854775807
>>  int64(2)^63-1
ans = 9223372036854775807
>>


Cross compiled config.h:


#define SIZEOF_LONG_DOUBLE 12
#define HAVE_ROUNDL 1


A earlier version of octave natively compiled reports the same in config.h



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40607>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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