sfsqrt.c (75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37) | sfsqrt.c (cf159848860d38c2f2509ec19d595f5490ed03e5) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Linux/PA-RISC Project (http://www.parisc-linux.org/) 4 * 5 * Floating-point emulation code 6 * Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.org> 7 */ 8/* 9 * BEGIN_DESC 10 * 11 * File: 12 * @(#) pa/spmath/sfsqrt.c $Revision: 1.1 $ 13 * 14 * Purpose: 15 * Single Floating-point Square Root 16 * 17 * External Interfaces: | 1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Linux/PA-RISC Project (http://www.parisc-linux.org/) 4 * 5 * Floating-point emulation code 6 * Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.org> 7 */ 8/* 9 * BEGIN_DESC 10 * 11 * File: 12 * @(#) pa/spmath/sfsqrt.c $Revision: 1.1 $ 13 * 14 * Purpose: 15 * Single Floating-point Square Root 16 * 17 * External Interfaces: |
18 * sgl_fsqrt(srcptr,nullptr,dstptr,status) | 18 * sgl_fsqrt(srcptr,_nullptr,dstptr,status) |
19 * 20 * Internal Interfaces: 21 * 22 * Theory: 23 * <<please update with a overview of the operation of this file>> 24 * 25 * END_DESC 26*/ --- 5 unchanged lines hidden (view full) --- 32/* 33 * Single Floating-point Square Root 34 */ 35 36/*ARGSUSED*/ 37unsigned int 38sgl_fsqrt( 39 sgl_floating_point *srcptr, | 19 * 20 * Internal Interfaces: 21 * 22 * Theory: 23 * <<please update with a overview of the operation of this file>> 24 * 25 * END_DESC 26*/ --- 5 unchanged lines hidden (view full) --- 32/* 33 * Single Floating-point Square Root 34 */ 35 36/*ARGSUSED*/ 37unsigned int 38sgl_fsqrt( 39 sgl_floating_point *srcptr, |
40 unsigned int *nullptr, | 40 unsigned int *_nullptr, |
41 sgl_floating_point *dstptr, 42 unsigned int *status) 43{ 44 register unsigned int src, result; 45 register int src_exponent; 46 register unsigned int newbit, sum; 47 register boolean guardbit = FALSE, even_exponent; 48 --- 126 unchanged lines hidden --- | 41 sgl_floating_point *dstptr, 42 unsigned int *status) 43{ 44 register unsigned int src, result; 45 register int src_exponent; 46 register unsigned int newbit, sum; 47 register boolean guardbit = FALSE, even_exponent; 48 --- 126 unchanged lines hidden --- |