summaryrefslogtreecommitdiff
path: root/src/math/exp_386.s
blob: 9d63295c60bac9cbed3321eee92c56cc1df35fe2 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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 Exp(x float64) float64
TEXT ·Exp(SB),NOSPLIT,$0
	// Used to use 387 assembly (FLDL2E+F2XM1) here,
	// but it was both slower and less accurate than the portable Go code.
	JMP ·exp(SB)