jsoftware / jsource

J engine source mirror
Other
661 stars 90 forks source link

>:^:_3 #45

Closed lalucas closed 1 year ago

lalucas commented 3 years ago

If   >:^:3 adds 3,  shouldn't  >:^:_3  subtract 3?

It works fine for a single number but not for a list of numbers. For example:

(>:^:_3) 5 3 _2 _1

gives 2 which is 5-3

interregna commented 3 years ago

Seems to work here. Perhaps include a version and the complete results if your results differ.

   (>:^:_3) 5 3 _2 _1
2 0 _5 _4

   JVERSION
Engine: j903/j64avx/darwin
Beta-o: commercial/2021-08-24T19:02:18
Library: 9.03.06
Qt IDE: 1.9.3/5.15.2(5.15.2)
Platform: Darwin 64
Installer: J903 install
InstallPath: /applications/j903-current
Contact: www.jsoftware.com
lalucas commented 3 years ago

It doesn't work here.

My version is j902/j64avx2/windows

[image: image.png]

Em ter., 14 de set. de 2021 às 16:13, interregna @.***> escreveu:

Seems to work here. Perhaps include a version and the complete results if your results differ.

(>:^:_3) 5 3 _2 _1 2 0 _5 _4

JVERSION Engine: j903/j64avx/darwin Beta-o: commercial/2021-08-24T19:02:18 Library: 9.03.06 Qt IDE: 1.9.3/5.15.2(5.15.2) Platform: Darwin 64 Installer: J903 install InstallPath: /applications/j903-current Contact: www.jsoftware.com

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jsoftware/jsource/issues/45#issuecomment-919441254, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARSIB7IKRMLCP3SJ4PUMXN3UB6NE3ANCNFSM5EATTBHQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

eiverson commented 3 years ago

Just tried your expression in 902 and 903. It looks like a bug in 902. It works as expected in 903 beta. Thanks for the report and we'll take a more detailed look.

On Tue, Sep 14, 2021 at 4:58 PM lalucas @.***> wrote:

It doesn't work here.

My version is j902/j64avx2/windows

[image: image.png]

Em ter., 14 de set. de 2021 às 16:13, interregna @.***> escreveu:

Seems to work here. Perhaps include a version and the complete results if your results differ.

(>:^:_3) 5 3 _2 _1 2 0 _5 _4

JVERSION Engine: j903/j64avx/darwin Beta-o: commercial/2021-08-24T19:02:18 Library: 9.03.06 Qt IDE: 1.9.3/5.15.2(5.15.2) Platform: Darwin 64 Installer: J903 install InstallPath: /applications/j903-current Contact: www.jsoftware.com

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jsoftware/jsource/issues/45#issuecomment-919441254, or unsubscribe < https://github.com/notifications/unsubscribe-auth/ARSIB7IKRMLCP3SJ4PUMXN3UB6NE3ANCNFSM5EATTBHQ

. Triage notifications on the go with GitHub Mobile for iOS < https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675

or Android < https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jsoftware/jsource/issues/45#issuecomment-919507682, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEBRCHTPN2L66LP4EOSS6ODUB6ZQDANCNFSM5EATTBHQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

rdm commented 1 year ago

It looks like this has been fixed in j903. Please re-open with details (including especially something about the kind of machine you're using) if this is still a problem.