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

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

[Octave-bug-tracker] [bug #35400] Performance of in-place operations


From: anonymous
Subject: [Octave-bug-tracker] [bug #35400] Performance of in-place operations
Date: Tue, 30 Nov 2021 19:10:48 -0500 (EST)
User-agent: Mozilla/5.0 (Android 11; Mobile; rv:94.0) Gecko/94.0 Firefox/94.0

Follow-up Comment #6, bug #35400 (project octave):

They are not the same.  x = x+1 and x += 1 do not change ans.   x++ changes
ans.  Also y = x = x+1 will update both x and y but changing that to y = x++
will make y get the old value of x.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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