Post Reply 
[41,42] Perfect functions
05-14-2020, 06:20 AM (This post was last modified: 05-14-2020 06:54 AM by Werner.)
Post: #8
RE: [41,42] Perfect functions
In analogy to % and %CH, %T should also leave Y intact.
This comes close:

Code:
>LBL"%T"
 X<>Y
 ST+ Y
 X<>Y
 %CH
 %
 X<> L
 END
but LASTX may suffer from roundoff.
So that leaves

Code:
>LBL"%T"
 ABS
 CLX
 100
 X<>Y
 ST/ Y
 X<>Y
 X<> L
 ST* L
 X<> L
 END
In this case, I'd go for the imperfect, elegant solution though ;-)

Cheers, Werner
PS. Added SINC to the original post

41CV†,42S,48GX,49G,DM42,DM41X,17BII,15CE,DM15L,12C,16CE
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
[41,42] Perfect functions - Werner - 05-13-2020, 01:07 PM
RE: [41,42] Perfect functions - rprosperi - 05-13-2020, 03:32 PM
RE: [41,42] Perfect functions - Werner - 05-13-2020, 04:32 PM
RE: [41,42] Perfect functions - rprosperi - 05-13-2020, 10:31 PM
RE: [41,42] Perfect functions - rprosperi - 05-14-2020, 12:36 PM
RE: [41,42] Perfect functions - rprosperi - 05-13-2020, 11:49 PM
RE: [41,42] Perfect functions - Werner - 05-14-2020 06:20 AM



User(s) browsing this thread: 1 Guest(s)