sgn(0) = 0 [Software]

posted by Helmut Homepage – Vienna, Austria, 2018-07-14 01:58 (2111 d 19:01 ago) – Posting: # 19060
Views: 7,156

Hi mittyri,

❝ A question:

❝ is 0 a positive endpoint?


Nope. 0 is by definition neither positive nor negative.*

sgn(x < 0) = –1
sgn(x = 0) =   0
sgn(x > 0) = +1

Also

x = sgn(x)·|x|

Logarithms are defined only for >0.



Dif-tor heh smusma 🖖🏼 Довге життя Україна! [image]
Helmut Schütz
[image]

The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes

Complete thread:

UA Flag
Activity
 Admin contact
22,993 posts in 4,828 threads, 1,656 registered users;
59 visitors (0 registered, 59 guests [including 7 identified bots]).
Forum time: 21:00 CEST (Europe/Vienna)

So far as I can remember,
there is not one word in the Gospels
in praise of intelligence.    Bertrand Russell

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5