Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FLD1 (0.03 sec)

  1. src/math/hypot_386.s

    	FSTSW	AX
    	ANDW    $0x4000, AX
    	JNE     10(PC)       // jump if F0 = 0
    	FXCHD   F0, F1       // F0=q (smaller), F1=p (larger)
    	FDIVD   F1, F0       // F0=q(=q/p), F1=p
    	FMULD   F0, F0       // F0=q*q, F1=p
    	FLD1                 // F0=1, F1=q*q, F2=p
    	FADDDP  F0, F1       // F0=1+q*q, F1=p
    	FSQRT                // F0=sqrt(1+q*q), F1=p
    	FMULDP  F0, F1       // F0=p*sqrt(1+q*q)
    	FMOVDP  F0, ret+16(FP)
    	RET
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 15 15:48:19 UTC 2021
    - 1.8K bytes
    - Viewed (0)
Back to top