Commit ec0da78e authored by Over_score's avatar Over_score

Merge branch '371-tests-in-test-suite-for-cxtore-and-retocx' into 'master'

Resolve "Tests in test suite for CxToRe and ReToCx"

See merge request !489
parents f91fe9a2 3c24ef03
......@@ -14,12 +14,21 @@ Func: fnCxToRe
;=======================================
; CxToRe(Complex16) --> Real16, Real16
;=======================================
In: SL=0 FI=1 RX=Co16:"42i23" CM=RECT
Out: EC=0 FI=1 SL=1 RX=Re16:"23" RY=Re16:"42"
In: SL=0 FI=1 RX=Co16:"38.66120384500249i16.41070739654950" CM=POLAR AM=DEG
Out: EC=0 FI=1 SL=1 RX=Re16:"23.00000000000001":DEG RY=Re16:"42"
;=======================================
; CxToRe(Complex34) --> Real34, Real34
;=======================================
In: SL=0 FI=1 RX=Co34:"42i23" RY=LonI:"0" CM=RECT
Out: EC=0 FI=1 SL=1 RX=Re34:"23" RY=Re34:"42"
In: SL=0 FI=1 RX=Co34:"38.66120384500249375066957837861938i16.41070739654949771260755273334196" CM=POLAR AM=DEG
Out: EC=0 FI=1 SL=1 RX=Re34:"23":DEG RY=Re34:"42"
;=======================================
......
......@@ -14,93 +14,172 @@ Func: fnReToCx
;=======================================
; ReToCx(Long Integer, Long Integer) --> Complex16
;=======================================
In: SL=0 FI=0 RX=LonI:"23" RY=LonI:"42" RZ=LonI:"0" CM=RECT
Out: EC=0 FI=1 SL=1 RX=Co16:"42i23" RY=LonI:"0"
In: SL=0 FI=0 RX=LonI:"23" RY=LonI:"42" RZ=LonI:"0" CM=POLAR AM=DEG
Out: EC=0 FI=1 SL=1 RX=Co16:"38.66120384500249i16.41070739654950" RY=LonI:"0"
;=======================================
; ReToCx(Long Integer, Real16) --> Complex16
;=======================================
In: SL=0 FI=0 RX=LonI:"23" RY=Re16:"42" RZ=LonI:"0" CM=RECT
Out: EC=0 FI=1 SL=1 RX=Co16:"42i23" RY=LonI:"0"
In: SL=0 FI=0 RX=LonI:"23" RY=Re16:"42" RZ=LonI:"0" CM=POLAR AM=DEG
Out: EC=0 FI=1 SL=1 RX=Co16:"38.66120384500249i16.41070739654950" RY=LonI:"0"
;=======================================
; ReToCx(Long Integer, Short Integer) --> Complex16 or Error, I can't remember
; ReToCx(Long Integer, Short Integer) --> Error
;=======================================
In: SL=0 FI=0 RX=LonI:"23" RY=ShoI:"42#8" RZ=LonI:"0" CM=RECT
Out: EC=24 FI=0 SL=0 RX=LonI:"23" RY=ShoI:"42#8"
In: SL=0 FI=0 RX=LonI:"23" RY=ShoI:"42#8" RZ=LonI:"0" CM=POLAR AM=DEG
Out: EC=24 FI=0 SL=0 RX=LonI:"23" RY=ShoI:"42#8"
;=======================================
; ReToCx(Long Integer, Real34) --> Complex34
;=======================================
In: SL=0 FI=0 RX=LonI:"23" RY=Re34:"42" RZ=LonI:"0" CM=RECT
Out: EC=0 FI=1 SL=1 RX=Co34:"42i23" RY=LonI:"0"
In: SL=0 FI=0 RX=LonI:"23" RY=Re34:"42" RZ=LonI:"0" CM=POLAR AM=DEG
Out: EC=0 FI=1 SL=1 RX=Co34:"38.66120384500249375066957837861938i16.41070739654949771260755273334196" RY=LonI:"0"
;=======================================
; ReToCx(Real16, Long Integer) --> Complex16
;=======================================
In: SL=0 FI=0 RX=Re16:"23" RY=LonI:"42" RZ=LonI:"0" CM=RECT
Out: EC=0 FI=1 SL=1 RX=Co16:"42i23" RY=LonI:"0"
In: SL=0 FI=0 RX=Re16:"23" RY=LonI:"42" RZ=LonI:"0" CM=POLAR AM=DEG
Out: EC=0 FI=1 SL=1 RX=Co16:"38.66120384500249i16.41070739654950" RY=LonI:"0"
;=======================================
; ReToCx(Real16, Real16) --> Complex16
;=======================================
In: SL=0 FI=0 RX=Re16:"23" RY=Re16:"42" RZ=LonI:"0" CM=RECT
Out: EC=0 FI=1 SL=1 RX=Co16:"42i23" RY=LonI:"0"
In: SL=0 FI=0 RX=Re16:"23" RY=Re16:"42" RZ=LonI:"0" CM=POLAR AM=DEG
Out: EC=0 FI=1 SL=1 RX=Co16:"38.66120384500249i16.41070739654950" RY=LonI:"0"
;=======================================
; ReToCx(Real16, Short Integer) --> Complex16 or Error, I can't remember
; ReToCx(Real16, Short Integer) --> Error
;=======================================
In: SL=0 FI=0 RX=Re16:"23" RY=ShoI:"42#8" RZ=LonI:"0" CM=RECT
Out: EC=24 FI=0 SL=0 RX=Re16:"23" RY=ShoI:"42#8"
In: SL=0 FI=0 RX=Re16:"23" RY=ShoI:"42#8" RZ=LonI:"0" CM=POLAR AM=DEG
Out: EC=24 FI=0 SL=0 RX=Re16:"23" RY=ShoI:"42#8"
;=======================================
; ReToCx(Real16, Real34) --> Complex34 or Error, I can't remember
; ReToCx(Real16, Real34) --> Complex34
;=======================================
In: SL=0 FI=0 RX=Re16:"23" RY=Re34:"42" RZ=LonI:"0" CM=RECT
Out: EC=0 FI=1 SL=1 RX=Co34:"42i23" RY=LonI:"0"
In: SL=0 FI=0 RX=Re16:"23" RY=Re34:"42" RZ=LonI:"0" CM=POLAR AM=DEG
Out: EC=0 FI=1 SL=1 RX=Co34:"38.66120384500249375066957837861938i16.41070739654949771260755273334196" RY=LonI:"0"
;=======================================
; ReToCx(Short Integer, Long Integer) --> Complex16
; ReToCx(Short Integer, Long Integer) --> Error
;=======================================
In: SL=0 FI=0 RX=ShoI:"23#8" RY=LonI:"42" RZ=LonI:"0" CM=RECT
Out: EC=24 FI=0 SL=0 RX=ShoI:"23#8" RY=LonI:"42"
In: SL=0 FI=0 RX=ShoI:"23#8" RY=LonI:"42" RZ=LonI:"0" CM=POLAR AM=DEG
Out: EC=24 FI=0 SL=0 RX=ShoI:"23#8" RY=LonI:"42"
;=======================================
; ReToCx(Short Integer, Real16) --> Complex16 or Error, I can't remember
; ReToCx(Short Integer, Real16) --> Error
;=======================================
In: SL=0 FI=0 RX=ShoI:"23#8" RY=Re16:"42" RZ=LonI:"0" CM=RECT
Out: EC=24 FI=0 SL=0 RX=ShoI:"23#8" RY=Re16:"42"
In: SL=0 FI=0 RX=ShoI:"23#8" RY=Re16:"42" RZ=LonI:"0" CM=POLAR AM=DEG
Out: EC=24 FI=0 SL=0 RX=ShoI:"23#8" RY=Re16:"42"
;=======================================
; ReToCx(Short Integer, Short Integer) --> Complex16 or Error, I can't remember
; ReToCx(Short Integer, Short Integer) --> Error
;=======================================
In: SL=0 FI=0 RX=ShoI:"23#8" RY=ShoI:"42#8" RZ=LonI:"0" CM=RECT
Out: EC=24 FI=0 SL=0 RX=ShoI:"23#8" RY=ShoI:"42#8"
In: SL=0 FI=0 RX=ShoI:"23#8" RY=ShoI:"42#8" RZ=LonI:"0" CM=POLAR AM=DEG
Out: EC=24 FI=0 SL=0 RX=ShoI:"23#8" RY=ShoI:"42#8"
;=======================================
; ReToCx(Short Integer, Real34) --> Complex34 or Error, I can't remember
; ReToCx(Short Integer, Real34) --> Error
;=======================================
In: SL=0 FI=0 RX=ShoI:"23#8" RY=Re34:"42" RZ=LonI:"0" CM=RECT
Out: EC=24 FI=0 SL=0 RX=ShoI:"23#8" RY=Re34:"42"
In: SL=0 FI=0 RX=ShoI:"23#8" RY=Re34:"42" RZ=LonI:"0" CM=POLAR AM=DEG
Out: EC=24 FI=0 SL=0 RX=ShoI:"23#8" RY=Re34:"42"
;=======================================
; ReToCx(Real34, Long Integer) --> Complex34
;=======================================
In: SL=0 FI=0 RX=Re34:"23" RY=LonI:"42" RZ=LonI:"0" CM=RECT
Out: EC=0 FI=1 SL=1 RX=Co34:"42i23" RY=LonI:"0"
In: SL=0 FI=0 RX=Re34:"23" RY=LonI:"42" RZ=LonI:"0" CM=POLAR AM=DEG
Out: EC=0 FI=1 SL=1 RX=Co34:"38.66120384500249375066957837861938i16.41070739654949771260755273334196" RY=LonI:"0"
;=======================================
; ReToCx(Real34, Real16) --> Complex34
;=======================================
In: SL=0 FI=0 RX=Re34:"23" RY=Re16:"42" RZ=LonI:"0" CM=RECT
Out: EC=0 FI=1 SL=1 RX=Co34:"42i23" RY=LonI:"0"
In: SL=0 FI=0 RX=Re34:"23" RY=Re16:"42" RZ=LonI:"0" CM=POLAR AM=DEG
Out: EC=0 FI=1 SL=1 RX=Co34:"38.66120384500249375066957837861938i16.41070739654949771260755273334196" RY=LonI:"0"
;=======================================
; ReToCx(Real34, Short Integer) --> Complex34 or Error, I can't remember
; ReToCx(Real34, Short Integer) --> Error
;=======================================
In: SL=0 FI=0 RX=Re34:"23" RY=ShoI:"42#8" RZ=LonI:"0" CM=RECT
Out: EC=24 FI=0 SL=0 RX=Re34:"23" RY=ShoI:"42#8"
In: SL=0 FI=0 RX=Re34:"23" RY=ShoI:"42#8" RZ=LonI:"0" CM=POLAR AM=DEG
Out: EC=24 FI=0 SL=0 RX=Re34:"23" RY=ShoI:"42#8"
;=======================================
; ReToCx(Real34, Real34) --> Complex34 or Error, I can't remember
; ReToCx(Real34, Real34) --> Complex34
;=======================================
In: SL=0 FI=0 RX=Re34:"23" RY=Re34:"42" RZ=LonI:"0" CM=RECT
Out: EC=0 FI=1 SL=1 RX=Co34:"42i23" RY=LonI:"0"
In: SL=0 FI=0 RX=Re34:"23" RY=Re34:"42" RZ=LonI:"0" CM=POLAR AM=DEG
Out: EC=0 FI=1 SL=1 RX=Co34:"38.66120384500249375066957837861938i16.41070739654949771260755273334196" RY=LonI:"0"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment