Changeset 6992f95
 Timestamp:
 Jun 19, 2021, 3:52:59 PM (16 months ago)
 Branches:
 enum, forallpointerdecay, jacob/cs343translation, master, newastuniqueexpr, pthreademulation, qualifiedEnum
 Children:
 e319fc5
 Parents:
 4b891e9
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

tests/math.cfa
r4b891e9 r6992f95 10 10 // Created On : Fri Apr 22 14:59:21 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Apr 13 21:04:48202113 // Update Count : 12 312 // Last Modified On : Fri Jun 18 17:02:44 2021 13 // Update Count : 124 14 14 // 15 15 … … 40 40 41 41 sout  "exp:"  exp( 1.0F )  exp( 1.0D )  exp( 1.0L )  nonl; 42 sout  exp( 1.0F+1.0FI )  exp( 1.0D+1.0DI )  exp( 1.0 DL+1.0LI );42 sout  exp( 1.0F+1.0FI )  exp( 1.0D+1.0DI )  exp( 1.0L+1.0LI ); 43 43 sout  "exp2:"  exp2( 1.0F )  exp2( 1.0D )  exp2( 1.0L ); 44 44 sout  "expm1:"  expm1( 1.0F )  expm1( 1.0D )  expm1( 1.0L ); 45 45 sout  "pow:"  pow( 1.0F, 1.0F )  pow( 1.0D, 1.0D )  pow( 1.0L, 1.0L )  nonl; 46 sout  pow( 1.0F+1.0FI, 1.0F+1.0FI )  pow( 1.0D+1.0DI, 1.0D+1.0DI )  pow( 1.5 DL+1.5LI, 1.5DL+1.5LI );46 sout  pow( 1.0F+1.0FI, 1.0F+1.0FI )  pow( 1.0D+1.0DI, 1.0D+1.0DI )  pow( 1.5L+1.5LI, 1.5L+1.5LI ); 47 47 48 48 int b = 4; … … 68 68 69 69 sout  "log:"  log( 1.0F )  log( 1.0D )  log( 1.0L )  nonl; 70 sout  log( 1.0F+1.0FI )  log( 1.0D+1.0DI )  log( 1.0 DL+1.0LI );70 sout  log( 1.0F+1.0FI )  log( 1.0D+1.0DI )  log( 1.0L+1.0LI ); 71 71 sout  "log2:"  log2( 1024 )  log2( 2 \ 17u )  log2( 2 \ 23u ); 72 72 sout  "log2:"  log2( 1024l )  log2( 2l \ 17u )  log2( 2l \ 23u ); … … 82 82 83 83 sout  "sqrt:"  sqrt( 1.0F )  sqrt( 1.0D )  sqrt( 1.0L )  nonl; 84 sout  sqrt( 1.0F+1.0FI )  sqrt( 1.0D+1.0DI )  sqrt( 1.0 DL+1.0LI );84 sout  sqrt( 1.0F+1.0FI )  sqrt( 1.0D+1.0DI )  sqrt( 1.0L+1.0LI ); 85 85 sout  "cbrt:"  cbrt( 27.0F )  cbrt( 27.0D )  cbrt( 27.0L ); 86 86 sout  "hypot:"  hypot( 1.0F, 1.0F )  hypot( 1.0D, 1.0D )  hypot( 1.0L, 1.0L ); … … 89 89 90 90 sout  "sin:"  sin( 1.0F )  sin( 1.0D )  sin( 1.0L )  nonl; 91 sout  sin( 1.0F+1.0FI )  sin( 1.0D+1.0DI )  sin( 1.0 DL+1.0LI );91 sout  sin( 1.0F+1.0FI )  sin( 1.0D+1.0DI )  sin( 1.0L+1.0LI ); 92 92 sout  "cos:"  cos( 1.0F )  cos( 1.0D )  cos( 1.0L )  nonl; 93 sout  cos( 1.0F+1.0FI )  cos( 1.0D+1.0DI )  cos( 1.0 DL+1.0LI );93 sout  cos( 1.0F+1.0FI )  cos( 1.0D+1.0DI )  cos( 1.0L+1.0LI ); 94 94 sout  "tan:"  tan( 1.0F )  tan( 1.0D )  tan( 1.0L )  nonl; 95 sout  tan( 1.0F+1.0FI )  tan( 1.0D+1.0DI )  tan( 1.0 DL+1.0LI );95 sout  tan( 1.0F+1.0FI )  tan( 1.0D+1.0DI )  tan( 1.0L+1.0LI ); 96 96 sout  "asin:"  asin( 1.0F )  asin( 1.0D )  asin( 1.0L )  nonl; 97 sout  asin( 1.0F+1.0FI )  asin( 1.0D+1.0DI )  asin( 1.0 DL+1.0LI );97 sout  asin( 1.0F+1.0FI )  asin( 1.0D+1.0DI )  asin( 1.0L+1.0LI ); 98 98 sout  "acos:"  acos( 1.0F )  acos( 1.0D )  acos( 1.0L )  nonl; 99 sout  acos( 1.0F+1.0FI )  acos( 1.0D+1.0DI )  acos( 1.0 DL+1.0LI );99 sout  acos( 1.0F+1.0FI )  acos( 1.0D+1.0DI )  acos( 1.0L+1.0LI ); 100 100 sout  "atan:"  atan( 1.0F )  atan( 1.0D )  atan( 1.0L )  nonl; 101 sout  atan( 1.0F+1.0FI )  atan( 1.0D+1.0DI )  atan( 1.0 DL+1.0LI );101 sout  atan( 1.0F+1.0FI )  atan( 1.0D+1.0DI )  atan( 1.0L+1.0LI ); 102 102 sout  "atan2:"  atan2( 1.0F, 1.0F )  atan2( 1.0D, 1.0D )  atan2( 1.0L, 1.0L )  nonl; 103 103 sout  "atan:"  atan( 1.0F, 1.0F )  atan( 1.0D, 1.0D )  atan( 1.0L, 1.0L ); … … 106 106 107 107 sout  "sinh:"  sinh( 1.0F )  sinh( 1.0D )  sinh( 1.0L )  nonl; 108 sout  sinh( 1.0F+1.0FI )  sinh( 1.0D+1.0DI )  sinh( 1.0 DL+1.0LI );108 sout  sinh( 1.0F+1.0FI )  sinh( 1.0D+1.0DI )  sinh( 1.0L+1.0LI ); 109 109 sout  "cosh:"  cosh( 1.0F )  cosh( 1.0D )  cosh( 1.0L )  nonl; 110 sout  cosh( 1.0F+1.0FI )  cosh( 1.0D+1.0DI )  cosh( 1.0 DL+1.0LI );110 sout  cosh( 1.0F+1.0FI )  cosh( 1.0D+1.0DI )  cosh( 1.0L+1.0LI ); 111 111 sout  "tanh:"  tanh( 1.0F )  tanh( 1.0D )  tanh( 1.0L )  nonl; 112 sout  tanh( 1.0F+1.0FI )  tanh( 1.0D+1.0DI )  tanh( 1.0 DL+1.0LI );112 sout  tanh( 1.0F+1.0FI )  tanh( 1.0D+1.0DI )  tanh( 1.0L+1.0LI ); 113 113 sout  "acosh:"  acosh( 1.0F )  acosh( 1.0D )  acosh( 1.0L )  nonl; 114 sout  acosh( 1.0F+1.0FI )  acosh( 1.0D+1.0DI )  acosh( 1.0 DL+1.0LI );114 sout  acosh( 1.0F+1.0FI )  acosh( 1.0D+1.0DI )  acosh( 1.0L+1.0LI ); 115 115 sout  "asinh:"  asinh( 1.0F )  asinh( 1.0D )  asinh( 1.0L )  nonl; 116 sout  asinh( 1.0F+1.0FI )  asinh( 1.0D+1.0DI )  asinh( 1.0 DL+1.0LI );116 sout  asinh( 1.0F+1.0FI )  asinh( 1.0D+1.0DI )  asinh( 1.0L+1.0LI ); 117 117 sout  "atanh:"  atanh( 1.0F )  atanh( 1.0D )  atanh( 1.0L )  nonl; 118 sout  atanh( 1.0F+1.0FI )  atanh( 1.0D+1.0DI )  atanh( 1.0 DL+1.0LI );118 sout  atanh( 1.0F+1.0FI )  atanh( 1.0D+1.0DI )  atanh( 1.0L+1.0LI ); 119 119 120 120 // Error / Gamma 
Note: See TracChangeset
for help on using the changeset viewer.