-
Jan 12th, 2022, 08:01 PM
#1
Thread Starter
Junior Member
Sign and Signn Functions (w/o IF's, math only!)
Calculus functions include no programming statements,
so I just had to figure out these for myself for proof!!!!
Abs = (-((-(Value * -1) * Value) ^ (1 / 2) * -1))
Sign = ((-(Abs(Value - 1) - Value) - (-Abs(Value + 1) + Value)) * 0.5)
Signn = ((-((Value \ 1 <> 0) * 1) + -1) + -(((-Value \ 1 + -1) = 0) * 1))
Last edited by nforystek; Jan 12th, 2022 at 08:30 PM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|