source: tests/.expect/math.nast.x64.txt @ 0effb6a

arm-ehjacob/cs343-translationnew-ast-unique-expr
Last change on this file since 0effb6a was 474d610, checked in by Peter A. Buhr <pabuhr@…>, 6 months ago

add tests and expected output for integer log2 routines

  • Property mode set to 100644
File size: 3.4 KB
Line 
1fmod:1. 1. 1. 1. 1. 1.
2remainder:-1. -1. -1.
3remquo:7 0.0999999 7 0.1 7 0.0999999999999999999
4div:7., 0.2 7., 0.2 7., 0.2
5fma:-2. -2. -2.
6fdim:2. 2. 2.
7nan:nan nan nan
8exp:2.71828 2.71828182845905 2.71828182845904524 1.46869+2.28736i 1.46869393991589+2.28735528717884i 1.46869393991588516+2.28735528717884239i
9exp2:2. 2. 2.
10expm1:1.71828 1.71828182845905 1.71828182845904524
11pow:1. 1. 1. 0.273957+0.583701i 0.273957253830121+0.583700758758615i -0.638110484918098871+0.705394566961838155i
1216 \ 2 = 256
13912673 256 64 -64 0 0
140.015625 -0.015625 18.3791736799526 0.264715-1.1922i
150 0 18.3791736799526 0.264715-1.1922i
1616
174 16
18log:0. 0. 0. 0.346574+0.785398i 0.346573590279973+0.785398163397448i 0.346573590279972655+0.78539816339744831i
19log2:10 17 23
20log2:10 17 23
21log2:10 17 23
22log2:10. 17. 23.
23log2:3. 3. 3.
24log10:2. 2. 2.
25log1p:0.693147 0.693147180559945 0.693147180559945309
26ilogb:0 0 0
27logb:3. 3. 3.
28sqrt:1. 1. 1. 1.09868+0.45509i 1.09868411346781+0.455089860562227i 1.09868411346780997+0.455089860562227341i
29cbrt:3. 3. 3.
30hypot:1.41421 1.4142135623731 1.41421356237309505
31sin:0.841471 0.841470984807897 0.841470984807896507 1.29846+0.634964i 1.29845758141598+0.634963914784736i 1.29845758141597729+0.634963914784736108i
32cos:0.540302 0.54030230586814 0.540302305868139717 0.83373-0.988898i 0.833730025131149-0.988897705762865i 0.833730025131149049-0.988897705762865096i
33tan:1.55741 1.5574077246549 1.55740772465490223 0.271753+1.08392i 0.271752585319512+1.08392332733869i 0.271752585319511717+1.08392332733869454i
34asin:1.5708 1.5707963267949 1.57079632679489662 0.666239+1.06128i 0.666239432492515+1.06127506190504i 0.666239432492515255+1.06127506190503565i
35acos:0. 0. 0. 0.904557-1.06128i 0.904556894302381-1.06127506190504i 0.904556894302381364-1.06127506190503565i
36atan:0.785398 0.785398163397448 0.78539816339744831 1.01722+0.402359i 1.01722196789785+0.402359478108525i 1.01722196789785137+0.402359478108525094i
37atan2:0.785398 0.785398163397448 0.78539816339744831 atan:0.785398 0.785398163397448 0.78539816339744831
38sinh:1.1752 1.1752011936438 1.17520119364380146 0.634964+1.29846i 0.634963914784736+1.29845758141598i 0.634963914784736108+1.29845758141597729i
39cosh:1.54308 1.54308063481524 1.54308063481524378 0.83373+0.988898i 0.833730025131149+0.988897705762865i 0.833730025131149049+0.988897705762865096i
40tanh:0.761594 0.761594155955765 0.761594155955764888 1.08392+0.271753i 1.08392332733869+0.271752585319512i 1.08392332733869454+0.271752585319511717i
41acosh:0. 0. 0. 1.06128+0.904557i 1.06127506190504+0.904556894302381i 1.06127506190503565+0.904556894302381364i
42asinh:0.881374 0.881373587019543 0.881373587019543025 1.06128+0.666239i 1.06127506190504+0.666239432492515i 1.06127506190503565+0.666239432492515255i
43atanh:inf inf inf 0.402359+1.01722i 0.402359478108525+1.01722196789785i 0.402359478108525094+1.01722196789785137i
44erf:0.842701 0.842700792949715 0.842700792949714869
45erfc:0.157299 0.157299207050285 0.157299207050285131
46lgamma:1.79176 1.79175946922805 1.791759469228055
47lgamma:1.79176 1 1.79175946922805 1 1.791759469228055 1
48tgamma:6. 6. 6.
49floor:1. 1. 1.
50ceil:2. 2. 2.
51trunc:3. 3. 3.
52rint:2. 2. 2.
53rint:2 2 2
54rint:2 2 2
55lrint:2 2 2
56llrint:2 2 2
57nearbyint:4. 4. 4.
58round:2. 2. 2.
59round:2 2 2
60round:2 2 2
61lround:2 2 2
62llround:2 2 2
63copysign:-1. -1. -1.
64frexp:0.5 3 0.5 3 0.5 3
65ldexp:8. 8. 8.
66modf:2. 0.3 2. 0.3 2. 0.3
67modf:2., 0.3 2., 0.3 2., 0.3
68nextafter:2. 2. 2.
69nexttoward:2. 2. 2.
70scalbn:16. 16. 16.
71scalbln:16. 16. 16.
Note: See TracBrowser for help on using the repository browser.