committed by
GitHub
parent
b0ac74488c
commit
cde7e9483b
@@ -3,18 +3,21 @@
|
||||
#include "textflag.h"
|
||||
|
||||
// func Real(z complex128) float64
|
||||
// Requires: SSE2
|
||||
TEXT ·Real(SB), NOSPLIT, $0-24
|
||||
MOVSD z_real+0(FP), X0
|
||||
MOVSD X0, ret+16(FP)
|
||||
RET
|
||||
|
||||
// func Imag(z complex128) float64
|
||||
// Requires: SSE2
|
||||
TEXT ·Imag(SB), NOSPLIT, $0-24
|
||||
MOVSD z_imag+8(FP), X0
|
||||
MOVSD X0, ret+16(FP)
|
||||
RET
|
||||
|
||||
// func Norm(z complex128) float64
|
||||
// Requires: SSE2
|
||||
TEXT ·Norm(SB), NOSPLIT, $0-24
|
||||
MOVSD z_real+0(FP), X0
|
||||
MOVSD z_imag+8(FP), X1
|
||||
|
||||
Reference in New Issue
Block a user