On 01/27/2011 08:07 PM, Benoît Minisini wrote:
>> The variables cx and Client.relx are of datatype single. The initial
>> value of cx is 0 and Client.relx is 51. The code
>>
>> cx = (cx + Client.relx) / 2
>>
>> assigns the value 0 to cx. It should be 25.5.
>>
>> When I enter
>>
>> ?(cx + Client.rel
> The variables cx and Client.relx are of datatype single. The initial
> value of cx is 0 and Client.relx is 51. The code
>
> cx = (cx + Client.relx) / 2
>
> assigns the value 0 to cx. It should be 25.5.
>
> When I enter
>
> ?(cx + Client.relx) / 2
>
> in the debug/immediate window I get 2.747
The variables cx and Client.relx are of datatype single. The initial
value of cx is 0 and Client.relx is 51. The code
cx = (cx + Client.relx) / 2
assigns the value 0 to cx. It should be 25.5.
When I enter
?(cx + Client.relx) / 2
in the debug/immediate window I get 2.7476892520342E-315. Have I