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 23:51:24 +0000
User-agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)

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

Changed to:


#if (SIZEOF_LONG_DOUBLE >= 10) && defined (HAVE_ROUNDL)
# define OCTAVE_INT_USE_LONG_DOUBLE
# if (SIZEOF_LONG_DOUBLE < 16 \
      && (defined __i386__ || defined __x86_64__) && defined __GNUC__)
#define OCTAVE_ENSURE_LONG_DOUBLE_OPERATIONS_ARE_NOT_TRUNCATED 1
# endif
#endif


However after re-cross compiling and running it, I still get the same results
as my last post.

Running in cli mode, octave works ok:

octave-cli.exe:2> uint64(2)^63
ans = 9223372036854775808
octave-cli.exe:3> uint64(2)^63-1
ans = 9223372036854775807
octave-cli.exe:4>



    _______________________________________________________

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]