[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: undefined compound chaining behavior
From: |
Hossein Sajjadi |
Subject: |
Re: undefined compound chaining behavior |
Date: |
Thu, 12 Jun 2014 19:49:00 +0330 |
>
> Jordi's point is that just because you type a+=a+=4 at the Octave
> prompt, does not mean this expression is what is ever evaluated in C++
> code. Octave does not write a little C++ file containing the a+=a+=4
> expression and then compile and run it after all.
>
> The expression is broken down by the interpreter code and evaluated in
> whatever way the interpreter was written to do it.
As I say in previous post, it is sufficient to prove that the operator
in both languages are the same.
the .c source file tha directly compiled to menthioned calculator
contain this code in definition of +=:
{ (*(symrec**)(&yyvsp[-2]))->value.var += (*(double*)(&yyvsp[0]));
(*(double*)(&yyval)) = (*(symrec**)(&yyvsp[-2]))->value.var; }
- Re: undefined compound chaining behavior, (continued)
- Re: undefined compound chaining behavior, Mike Miller, 2014/06/10
- Re: undefined compound chaining behavior, Hossein Sajjadi, 2014/06/10
- Re: undefined compound chaining behavior, Jordi Gutiérrez Hermoso, 2014/06/10
- Re: undefined compound chaining behavior, Hossein Sajjadi, 2014/06/11
- Re: undefined compound chaining behavior, Jordi Gutiérrez Hermoso, 2014/06/12
- Re: undefined compound chaining behavior, Hossein Sajjadi, 2014/06/12
- Re: undefined compound chaining behavior, Jordi Gutiérrez Hermoso, 2014/06/12
- Re: undefined compound chaining behavior, Hossein Sajjadi, 2014/06/12
- Re: undefined compound chaining behavior, John W. Eaton, 2014/06/12
- Re: undefined compound chaining behavior, Richard Crozier, 2014/06/12
- Re: undefined compound chaining behavior,
Hossein Sajjadi <=
- Re: undefined compound chaining behavior, Jordi Gutiérrez Hermoso, 2014/06/12
- Re: undefined compound chaining behavior, Hossein Sajjadi, 2014/06/12
- Re: undefined compound chaining behavior, Jordi Gutiérrez Hermoso, 2014/06/12
- Re: undefined compound chaining behavior, Hossein Sajjadi, 2014/06/13
- Re: undefined compound chaining behavior, Richard Crozier, 2014/06/13
- Re: undefined compound chaining behavior, Hossein Sajjadi, 2014/06/13
- Re: undefined compound chaining behavior, Richard Crozier, 2014/06/13
- Re: undefined compound chaining behavior, Hossein Sajjadi, 2014/06/13
- Re: undefined compound chaining behavior, Richard Crozier, 2014/06/13
- Re: undefined compound chaining behavior, Hossein Sajjadi, 2014/06/13