help-octave
[Top][All Lists]
Advanced

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

Re: Matlab test needed (was: Re: rem and mod)


From: Isak Delberth Davids
Subject: Re: Matlab test needed (was: Re: rem and mod)
Date: Fri, 27 Jun 2014 11:10:31 +0200


On 27 June 2014 10:46, Kai Torben Ohlhus <address@hidden> wrote:
On Fri, Jun 27, 2014 at 10:41 AM, Olaf Till <address@hidden> wrote:
On Thu, Jun 26, 2014 at 03:45:33AM -0700, Paul Soderlind wrote:
> <snip>
> (...matlab gives 0

Could you, or someone, please check if Matlab gives exactly zero, i.e

  format long

  rem (.94, .01)

Thanks, Olaf

--
public key id EAFE0591, e.g. on x-hkp://pool.sks-keyservers.net

_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave


Hi Olaf,

for MATLAB 2014a it does:

>> format long
>> a = rem (.94, .01)
a =
     0
>> num2hex (a)
ans =
0000000000000000

Best,
Kai

_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave


Hi,

on MATLAB R2011a 64bit, I get an exact zero.

Cheers,
IDD

reply via email to

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