diff options
Diffstat (limited to 'sal/rtl/source/math.cxx')
-rw-r--r-- | sal/rtl/source/math.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sal/rtl/source/math.cxx b/sal/rtl/source/math.cxx index 34b940a301c9..1aee95642936 100644 --- a/sal/rtl/source/math.cxx +++ b/sal/rtl/source/math.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -1223,11 +1224,11 @@ double SAL_CALL rtl_math_erfc( double x ) SAL_THROW_EXTERN_C() */ double SAL_CALL rtl_math_asinh( double fX ) SAL_THROW_EXTERN_C() { - double fSign = 1.0; if ( fX == 0.0 ) return 0.0; else { + double fSign = 1.0; if ( fX < 0.0 ) { fX = - fX; @@ -1263,3 +1264,5 @@ double SAL_CALL rtl_math_acosh( double fX ) SAL_THROW_EXTERN_C() else return log( 2.0*fX); } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |