Changeset 7a54d67
- Timestamp:
- May 16, 2019, 9:46:00 AM (6 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- f2e482cb
- Parents:
- 553772b
- Location:
- tests/.expect
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/.expect/abs.txt
r553772b r7a54d67 3 3 signed long int -65 abs 65 4 4 signed long long int -65 abs 65 5 float -65 abs 656 double -65 abs 657 long double -65 abs 658 float _Complex -65 -2i abs 65.03089 double _Complex -65 -2i abs 65.030761951556410 long double _Complex -65 -2i abs 65.03076195155643425 float -65. abs 65. 6 double -65. abs 65. 7 long double -65. abs 65. 8 float _Complex -65.-2.i abs 65.0308 9 double _Complex -65.-2.i abs 65.0307619515564 10 long double _Complex -65.-2.i abs 65.0307619515564342 -
tests/.expect/ato.txt
r553772b r7a54d67 22 22 -123.456789012345679 -123.45678901234567890123456789 23 23 -123.456-123.456i -123.456-123.456i 24 0 +0i 2 324 0.+0.i 2 3 25 25 -123.456789012346+123.456789012346i -123.4567890123456+123.4567890123456i 26 26 123.456789012345679-123.456789012345679i 123.45678901234567890123456789-123.45678901234567890123456789i -
tests/.expect/complex.txt
r553772b r7a54d67 1 1 x:3+2i y:4+5i z:7+7i 2 x:3 +2i y:4+5i z:7+7i2 x:3.+2.i y:4.+5.i z:7.+7.i 3 3 x:2.1+1.3i y:3.2+4.5i z:5.3+5.8i 4 4 x:2.1+1.3i y:3.2+4.5i z:5.3+5.8i -
tests/.expect/identity.txt
r553772b r7a54d67 9 9 double 4.1 10 10 long double 4.1 11 float _Complex -4.1-2 i12 double _Complex -4.1-2 i13 long double _Complex -4.1-2 i11 float _Complex -4.1-2.i 12 double _Complex -4.1-2.i 13 long double _Complex -4.1-2.i -
tests/.expect/math1.txt
r553772b r7a54d67 1 fmod:1 1 1 1 1 12 remainder:-1 -1 -11 fmod:1. 1. 1. 1. 1. 1. 2 remainder:-1. -1. -1. 3 3 remquo:7 0.0999999 7 0.1 7 0.0999999999999999999 4 div:7 , 0.2 7, 0.2 7, 0.25 fma:-2 -2 -26 fdim:2 2 24 div:7., 0.2 7., 0.2 7., 0.2 5 fma:-2. -2. -2. 6 fdim:2. 2. 2. 7 7 nan:nan nan nan 8 8 exp:2.71828 2.71828182845905 2.71828182845904524 1.46869+2.28736i 1.46869393991589+2.28735528717884i 1.46869393991588516+2.28735528717884239i 9 exp2:2 2 29 exp2:2. 2. 2. 10 10 expm1:1.71828 1.71828182845905 1.71828182845904524 11 pow:1 1 10.273957+0.583701i 0.273957253830121+0.583700758758615i -0.638110484918098871+0.705394566961838155i11 pow:1. 1. 1. 0.273957+0.583701i 0.273957253830121+0.583700758758615i -0.638110484918098871+0.705394566961838155i 12 12 16 \ 2 = 256 13 13 912673 256 64 -64 0 0 -
tests/.expect/math2.txt
r553772b r7a54d67 1 log:0 0 00.346574+0.785398i 0.346573590279973+0.785398163397448i 0.346573590279972655+0.78539816339744831i2 log2:3 3 33 log10:2 2 21 log:0. 0. 0. 0.346574+0.785398i 0.346573590279973+0.785398163397448i 0.346573590279972655+0.78539816339744831i 2 log2:3. 3. 3. 3 log10:2. 2. 2. 4 4 log1p:0.693147 0.693147180559945 0.693147180559945309 5 5 ilogb:0 0 0 6 logb:3 3 37 sqrt:1 1 11.09868+0.45509i 1.09868411346781+0.455089860562227i 1.09868411346780997+0.455089860562227341i8 cbrt:3 3 36 logb:3. 3. 3. 7 sqrt:1. 1. 1. 1.09868+0.45509i 1.09868411346781+0.455089860562227i 1.09868411346780997+0.455089860562227341i 8 cbrt:3. 3. 3. 9 9 hypot:1.41421 1.4142135623731 1.41421356237309505 10 10 sin:0.841471 0.841470984807897 0.841470984807896507 1.29846+0.634964i 1.29845758141598+0.634963914784736i 1.29845758141597729+0.634963914784736108i … … 12 12 tan:1.55741 1.5574077246549 1.55740772465490223 0.271753+1.08392i 0.271752585319512+1.08392332733869i 0.271752585319511717+1.08392332733869454i 13 13 asin:1.5708 1.5707963267949 1.57079632679489662 0.666239+1.06128i 0.666239432492515+1.06127506190504i 0.666239432492515255+1.06127506190503565i 14 acos:0 0 00.904557-1.06128i 0.904556894302381-1.06127506190504i 0.904556894302381364-1.06127506190503565i14 acos:0. 0. 0. 0.904557-1.06128i 0.904556894302381-1.06127506190504i 0.904556894302381364-1.06127506190503565i 15 15 atan:0.785398 0.785398163397448 0.78539816339744831 1.01722+0.402359i 1.01722196789785+0.402359478108525i 1.01722196789785137+0.402359478108525094i 16 16 atan2:0.785398 0.785398163397448 0.78539816339744831 atan:0.785398 0.785398163397448 0.78539816339744831 -
tests/.expect/math3.txt
r553772b r7a54d67 2 2 cosh:1.54308 1.54308063481524 1.54308063481524378 0.83373+0.988898i 0.833730025131149+0.988897705762865i 0.833730025131149049+0.988897705762865096i 3 3 tanh:0.761594 0.761594155955765 0.761594155955764888 1.08392+0.271753i 1.08392332733869+0.271752585319512i 1.08392332733869454+0.271752585319511717i 4 acosh:0 0 01.06128+0.904557i 1.06127506190504+0.904556894302381i 1.06127506190503565+0.904556894302381364i4 acosh:0. 0. 0. 1.06128+0.904557i 1.06127506190504+0.904556894302381i 1.06127506190503565+0.904556894302381364i 5 5 asinh:0.881374 0.881373587019543 0.881373587019543025 1.06128+0.666239i 1.06127506190504+0.666239432492515i 1.06127506190503565+0.666239432492515255i 6 6 atanh:inf inf inf 0.402359+1.01722i 0.402359478108525+1.01722196789785i 0.402359478108525094+1.01722196789785137i … … 9 9 lgamma:1.79176 1.79175946922805 1.791759469228055 10 10 lgamma:1.79176 1 1.79175946922805 1 1.791759469228055 1 11 tgamma:6 6 611 tgamma:6 6. 6. -
tests/.expect/math4.txt
r553772b r7a54d67 1 floor:1 1 12 ceil:2 2 23 trunc:3 3 34 rint:2 2 21 floor:1. 1. 1. 2 ceil:2. 2. 2. 3 trunc:3. 3. 3. 4 rint:2. 2. 2. 5 5 rint:2 2 2 6 6 rint:2 2 2 7 7 lrint:2 2 2 8 8 llrint:2 2 2 9 nearbyint:4 4 410 round:2 2 29 nearbyint:4. 4. 4. 10 round:2. 2. 2. 11 11 round:2 2 2 12 12 round:2 2 2 13 13 lround:2 2 2 14 14 llround:2 2 2 15 copysign:-1 -1 -115 copysign:-1. -1. -1. 16 16 frexp:0.5 3 0.5 3 0.5 3 17 ldexp:8 8 818 modf:2 0.3 2 0.3 20.319 modf:2 , 0.3 2, 0.3 2, 0.317 ldexp:8. 8. 8. 18 modf:2. 0.3 2. 0.3 2. 0.3 19 modf:2., 0.3 2., 0.3 2., 0.3 20 20 nextafter:2 2 2 21 21 nexttoward:2 2 2 22 scalbn:16 16 1623 scalbln:16 16 1622 scalbn:16. 16. 16. 23 scalbln:16. 16. 16. -
tests/.expect/minmax.txt
r553772b r7a54d67 6 6 signed long long int 4 3 min 3 7 7 unsigned long long int 4 3 min 3 8 float 4 3.1 min 3.19 double 4 3.1 min 3.110 long double 4 3.1 min 3.18 float 4. 3.1 min 3.1 9 double 4. 3.1 min 3.1 10 long double 4. 3.1 min 3.1 11 11 12 12 char z a max z … … 17 17 signed long long int 4 3 max 4 18 18 unsigned long long int 4 3 max 4 19 float 4 3.1 max 420 double 4 3.1 max 421 long double 4 3.1 max 419 float 4. 3.1 max 4. 20 double 4. 3.1 max 4. 21 long double 4. 3.1 max 4. -
tests/.expect/references.txt
r553772b r7a54d67 35 35 3 36 36 3 37 3 9 { 1 , 7}, [1, 2, 3]37 3 9 { 1., 7. }, [1, 2, 3] 38 38 Destructing a Y 39 39 Destructing a Y
Note: See TracChangeset
for help on using the changeset viewer.