コード例 #1
0
ファイル: jymaths.py プロジェクト: olofsvensson/scisoft-core
def sign(a):
    '''Sign of input, indicated by -1 for negative, +1 for positive and 0 for zero'''
    return _maths.signum(a)