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

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

[Octave-bug-tracker] [bug #52706] mpower compatibility behavior


From: Rik
Subject: [Octave-bug-tracker] [bug #52706] mpower compatibility behavior
Date: Wed, 20 Dec 2017 14:24:12 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #5, bug #52706 (project octave):

@Marco: the static_cast is correct.  It just doesn't need to happen twice, nor
be part of the conditional.

ORIGINAL


  if (static_cast<int> (b) == b)
    {
      int btmp = static_cast<int> (b);


NEW


  if (xisint (b))
    {
      int btmp = static_cast<int> (b);




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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