sgn(0) = 0 [Software]

posted by Helmut Homepage – Vienna, Austria, 2018-07-14 01:58 (2194 d 04:51 ago) – Posting: # 19060
Views: 7,467

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
23,101 posts in 4,857 threads, 1,644 registered users;
77 visitors (0 registered, 77 guests [including 6 identified bots]).
Forum time: 06:50 CEST (Europe/Vienna)

One can show the following: given any rule, however “fundamental”
or “necessary” for science, there are always circumstances
when it is advisable not only to ignore the rule,
but to adopt its opposite.    Paul Feyerabend

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