From 73df946d56c74384511a194dd01dbe099584fd1a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 15:14:23 +0200 Subject: Adding upstream version 1.16.10. Signed-off-by: Daniel Baumann --- src/math/log_386.s | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/math/log_386.s (limited to 'src/math/log_386.s') diff --git a/src/math/log_386.s b/src/math/log_386.s new file mode 100644 index 0000000..0b64b50 --- /dev/null +++ b/src/math/log_386.s @@ -0,0 +1,13 @@ +// Copyright 2010 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +#include "textflag.h" + +// func Log(x float64) float64 +TEXT ·Log(SB),NOSPLIT,$0 + FLDLN2 // F0=log(2) + FMOVD x+0(FP), F0 // F0=x, F1=log(2) + FYL2X // F0=log(x)=log2(x)*log(2) + FMOVDP F0, ret+8(FP) + RET -- cgit v1.2.3