Home | History | Annotate | Download | only in dist

Lines Matching refs:LOG

6725 #		1.3	If |X| < 16380 log(2), go to Step 2.		#
6736 # 16380 log(2) used in Step 1.3 is also in the compact #
6738 # |X| < 16380 log(2). There is no harm to have a small #
6740 # 16380 log(2) and the branch to Step 9 is taken. #
6756 # constant := single-precision( 64/log 2 ). #
6893 # 1.3 If |X| < 70 log(2), go to Step 2. #
6998 # Step 10. Calculate exp(X)-1 for |X| >= 70 log 2. #
7972 # slognp1(): computes the log(1+X) of a normalized input #
7973 # slognp1d(): computes the log(1+X) of a denormalized input #
7980 # fp0 = log(X) or log(1+X) #
7990 # Step 1. If |X-1| < 1/16, approximate log(X) by an odd #
7999 # Step 3. Define u = (Y-F)/F. Approximate log(1+u) by a #
8000 # polynomial in u, log(1+u) = poly. #
8003 # log(X) = log( 2**k * Y ) = k*log(2) + log(F) + log(1+u) #
8004 # by k*log(2) + (log(F) + poly). The values of log(F) are #
8008 # Step 1: If |X| < 1/16, approximate log(1+X) by an odd #
8014 # log(1+X) as k*log(2) + log(F) + poly where poly #
8015 # approximates log(1+u), u = (Y-F)/F. #
8019 # log(F)'s need to be tabulated. Moreover, the values of #
8221 #--ENTRY POINT FOR LOG(X) FOR X FINITE, NON-ZERO, NOT NAN'S
8238 blt.w LOGNEG # LOG OF NEGATIVE ARGUMENT IS INVALID
8250 #--THE IDEA IS THAT LOG(X) = K*LOG2 + LOG(Y)
8251 #-- = K*LOG2 + LOG(F) + LOG(1 + (Y-F)/F).
8253 #--LOG(1+U) CAN BE VERY EFFICIENT.
8262 lea LOGTBL(%pc),%a0 # BASE ADDRESS OF 1/F AND LOG(F)
8293 #--LOG(1+U) IS APPROXIMATED BY
8313 add.l &16,%a0 # ADDRESS OF LOG(F)
8319 fadd.x (%a0),%fp1 # LOG(F)+U*V*(A2+V*(A4+V*A6))
8321 fadd.x %fp1,%fp0 # FP0 IS LOG(F) + LOG(1+U)
8341 #--LOG(X) = LOG(1+U/2)-LOG(1-U/2) WHICH IS AN ODD POLYNOMIAL
8383 #--REGISTERS SAVED FPCR. LOG(-VE) IS INVALID
8389 #--ENTRY POINT FOR LOG(X) FOR DENORMALIZED INPUT
8424 bra.w LOGBGN # begin regular log(X)
8446 bra.w LOGBGN # begin regular log(X)
8449 #--ENTRY POINT FOR LOG(1+X) FOR X FINITE, NON-ZERO, NOT NAN'S
8469 ble.w LP1NEG0 # LOG OF ZERO OR -VE
8476 #--SIMPLY INVOKE LOG(X) FOR LOG(1+Z).
8486 #--EXP(-1/16) < X < EXP(1/16). LOG(1+Z) = LOG(1+U/2) - LOG(1-U/2)
8561 #--ENTRY POINT FOR LOG(1+Z) FOR DENORMALIZED INPUT
8682 # Step 1. Call slognd to obtain Y = log(X), the natural log of X. #
8683 # Notes: Even if X is denormalized, log(X) is always normalized. #
8685 # Step 2. Compute log_10(X) = log(X) * (1/log(10)). #
8696 # Step 1. Call sLogN to obtain Y = log(X), the natural log of X. #
8698 # Step 2. Compute log_10(X) = log(X) * (1/log(10)). #
8709 # Step 1. Call slognd to obtain Y = log(X), the natural log of X. #
8710 # Notes: Even if X is denormalized, log(X) is always normalized. #
8712 # Step 2. Compute log_10(X) = log(X) * (1/log(2)). #
8731 # Step 3. Call sLogN to obtain Y = log(X), the natural log of X. #
8733 # Step 4. Compute log_2(X) = log(X) * (1/log(2)). #
8756 bsr slogn # log(X), X normal.
8768 bsr slognd # log(X), X denorm.
8798 bsr slogn # log(X), X normal.
8813 bsr slognd # log(X), X denorm.
8853 # 1. If |X| > 16480*log_10(2) (base 10 log of 2), go to ExpBig. #
8857 # 3. Set y := X*log_2(10)*64 (base 2 log of 10). Set #
8864 # log_10(2)/64 and L10 is the natural log of 10. Then #
9109 #--USUAL CASE, 2^(-70) <= |X| <= 16480 LOG 2 / LOG 10
9851 # operating system can log that such an event occurred. #
9920 # so that the operating system can log the event. #
9976 # system can log the event. #
10033 # system can log the event. #
10167 # so that the operating system can log the event. #
10222 # if enabled so the operating system can log the event. #