Changeset ac1ae2c6 for tests/math2.cfa
 Timestamp:
 Dec 12, 2018, 5:22:48 PM (4 years ago)
 Branches:
 aaronthesis, armeh, cleanupdtors, deferred_resn, enum, forallpointerdecay, jacob/cs343translation, jenkinssandbox, master, newast, newastuniqueexpr, no_list, persistentindexer, pthreademulation, qualifiedEnum
 Children:
 7cccc20
 Parents:
 5ebb1368
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

tests/math2.cfa
r5ebb1368 rac1ae2c6 10 10 // Created On : Fri Apr 22 14:59:21 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Dec 4 23:11:12201813 // Update Count : 8 512 // Last Modified On : Wed Dec 12 16:11:35 2018 13 // Update Count : 87 14 14 // 15 15 … … 24 24 // Logarithm  25 25 26 sout  "log:"  log( 1.0F )  log( 1.0D )  log( 1.0L )  log( 1.0F+1.0FI )  log( 1.0D+1.0DI )  log( 1.0DL+1.0LI ); 26 sout  "log:"  log( 1.0F )  log( 1.0D )  log( 1.0L )  nonl; 27 sout  log( 1.0F+1.0FI )  log( 1.0D+1.0DI )  log( 1.0DL+1.0LI ); 27 28 sout  "log2:"  log2( 8.0F )  log2( 8.0D )  log2( 8.0L ); 28 29 sout  "log10:"  log10( 100.0F )  log10( 100.0D )  log10( 100.0L ); … … 31 32 sout  "logb:"  logb( 8.0F )  logb( 8.0D )  logb( 8.0L ); 32 33 33 sout  "sqrt:"  sqrt( 1.0F )  sqrt( 1.0D )  sqrt( 1.0L )  sqrt( 1.0F+1.0FI )  sqrt( 1.0D+1.0DI )  sqrt( 1.0DL+1.0LI ); 34 sout  "sqrt:"  sqrt( 1.0F )  sqrt( 1.0D )  sqrt( 1.0L )  nonl; 35 sout  sqrt( 1.0F+1.0FI )  sqrt( 1.0D+1.0DI )  sqrt( 1.0DL+1.0LI ); 34 36 sout  "cbrt:"  cbrt( 27.0F )  cbrt( 27.0D )  cbrt( 27.0L ); 35 37 sout  "hypot:"  hypot( 1.0F, 1.0F )  hypot( 1.0D, 1.0D )  hypot( 1.0L, 1.0L ); … … 37 39 // Trigonometric  38 40 39 sout  "sin:"  sin( 1.0F )  sin( 1.0D )  sin( 1.0L )  sin( 1.0F+1.0FI )  sin( 1.0D+1.0DI )  sin( 1.0DL+1.0LI ); 40 sout  "cos:"  cos( 1.0F )  cos( 1.0D )  cos( 1.0L )  cos( 1.0F+1.0FI )  cos( 1.0D+1.0DI )  cos( 1.0DL+1.0LI ); 41 sout  "tan:"  tan( 1.0F )  tan( 1.0D )  tan( 1.0L )  tan( 1.0F+1.0FI )  tan( 1.0D+1.0DI )  tan( 1.0DL+1.0LI ); 42 sout  "asin:"  asin( 1.0F )  asin( 1.0D )  asin( 1.0L )  asin( 1.0F+1.0FI )  asin( 1.0D+1.0DI )  asin( 1.0DL+1.0LI ); 43 sout  "acos:"  acos( 1.0F )  acos( 1.0D )  acos( 1.0L )  acos( 1.0F+1.0FI )  acos( 1.0D+1.0DI )  acos( 1.0DL+1.0LI ); 44 sout  "atan:"  atan( 1.0F )  atan( 1.0D )  atan( 1.0L )  atan( 1.0F+1.0FI )  atan( 1.0D+1.0DI )  atan( 1.0DL+1.0LI ); 41 sout  "sin:"  sin( 1.0F )  sin( 1.0D )  sin( 1.0L )  nonl; 42 sout  sin( 1.0F+1.0FI )  sin( 1.0D+1.0DI )  sin( 1.0DL+1.0LI ); 43 sout  "cos:"  cos( 1.0F )  cos( 1.0D )  cos( 1.0L )  nonl; 44 sout  cos( 1.0F+1.0FI )  cos( 1.0D+1.0DI )  cos( 1.0DL+1.0LI ); 45 sout  "tan:"  tan( 1.0F )  tan( 1.0D )  tan( 1.0L )  nonl; 46 sout  tan( 1.0F+1.0FI )  tan( 1.0D+1.0DI )  tan( 1.0DL+1.0LI ); 47 sout  "asin:"  asin( 1.0F )  asin( 1.0D )  asin( 1.0L )  nonl; 48 sout  asin( 1.0F+1.0FI )  asin( 1.0D+1.0DI )  asin( 1.0DL+1.0LI ); 49 sout  "acos:"  acos( 1.0F )  acos( 1.0D )  acos( 1.0L )  nonl; 50 sout  acos( 1.0F+1.0FI )  acos( 1.0D+1.0DI )  acos( 1.0DL+1.0LI ); 51 sout  "atan:"  atan( 1.0F )  atan( 1.0D )  atan( 1.0L )  nonl; 52 sout  atan( 1.0F+1.0FI )  atan( 1.0D+1.0DI )  atan( 1.0DL+1.0LI ); 45 53 sout  "atan2:"  atan2( 1.0F, 1.0F )  atan2( 1.0D, 1.0D )  atan2( 1.0L, 1.0L )  nonl; 46 54 sout  "atan:"  atan( 1.0F, 1.0F )  atan( 1.0D, 1.0D )  atan( 1.0L, 1.0L );
Note: See TracChangeset
for help on using the changeset viewer.