[Jprogramming] Puzzling result
Raul Miller
rauldmiller at gmail.com
Wed Sep 13 21:34:34 UTC 2017
http://code.jsoftware.com/wiki/Vocabulary/numberco#dyadic
where i says:
3. If y is not an integer, the fractional part is added to the
least-significant digit of the result.
?
Or the other one, where it says:
To be precise, the value passed to the next atom is (y-remainder)%x.
If the quotient was tolerantly close to an integer, the remainder will
be set to exactly 0, and a small non-integer part will be passed to
the next digit.
?
But both of those describe procedure, and neither says what problem
this solves for residue. (Neither answers the "why" question.)
Thanks,
--
Raul
On Wed, Sep 13, 2017 at 5:24 PM, Henry Rich <henryhrich at gmail.com> wrote:
> Look at NuVoc #: Details
>
> Henry Rich
>
> On Sep 13, 2017 16:29, "Raul Miller" <rauldmiller at gmail.com> wrote:
>
> There's not.
>
> There are, however, references to use of comparison tolerance in floor.
>
> The interesting question is: why are we using tolerant floor in residue?
>
> Thanks,
>
> --
> Raul
>
>
> On Wed, Sep 13, 2017 at 3:48 PM, Erling Hellenäs
> <erling at erlinghellenas.se> wrote:
>> I looked briefly in those references. I don't see any statements about the
>> use of comparison tolerance in Residue. /Erling
>>
>> On 2017-09-13 18:30, Raul Miller wrote:
>>>
>>> Tolerance is an ugly thing, I guess.
>>>
>>> http://code.jsoftware.com/wiki/Essays/Tolerant_Comparison
>>>
>>> Thanks,
>>>
>>
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
More information about the Programming
mailing list