Changeset 200fcb3 for tests/math3.cfa
 Timestamp:
 Dec 12, 2018, 9:16:12 AM (4 years ago)
 Branches:
 aaronthesis, armeh, cleanupdtors, deferred_resn, enum, forallpointerdecay, jacob/cs343translation, jenkinssandbox, master, newast, newastuniqueexpr, no_list, persistentindexer, pthreademulation, qualifiedEnum
 Children:
 5ebb1368
 Parents:
 3d99498
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

tests/math3.cfa
r3d99498 r200fcb3 10 10 // Created On : Fri Apr 22 14:59:21 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Nov 6 17:59:05201813 // Update Count : 8 312 // Last Modified On : Tue Dec 11 10:15:49 2018 13 // Update Count : 85 14 14 // 15 15 … … 24 24 // Hyperbolic  25 25 26 sout  "sinh:"  sinh( 1.0F )  sinh( 1.0D )  sinh( 1.0L )  sinh( 1.0F+1.0FI )  sinh( 1.0D+1.0DI )  sinh( 1.0DL+1.0LI )  endl;27 sout  "cosh:"  cosh( 1.0F )  cosh( 1.0D )  cosh( 1.0L )  cosh( 1.0F+1.0FI )  cosh( 1.0D+1.0DI )  cosh( 1.0DL+1.0LI )  endl;28 sout  "tanh:"  tanh( 1.0F )  tanh( 1.0D )  tanh( 1.0L )  tanh( 1.0F+1.0FI )  tanh( 1.0D+1.0DI )  tanh( 1.0DL+1.0LI )  endl;29 sout  "acosh:"  acosh( 1.0F )  acosh( 1.0D )  acosh( 1.0L )  acosh( 1.0F+1.0FI )  acosh( 1.0D+1.0DI )  acosh( 1.0DL+1.0LI )  endl;30 sout  "asinh:"  asinh( 1.0F )  asinh( 1.0D )  asinh( 1.0L )  asinh( 1.0F+1.0FI )  asinh( 1.0D+1.0DI )  asinh( 1.0DL+1.0LI )  endl;31 sout  "atanh:"  atanh( 1.0F )  atanh( 1.0D )  atanh( 1.0L )  atanh( 1.0F+1.0FI )  atanh( 1.0D+1.0DI )  atanh( 1.0DL+1.0LI )  endl;26 sout  "sinh:"  sinh( 1.0F )  sinh( 1.0D )  sinh( 1.0L )  sinh( 1.0F+1.0FI )  sinh( 1.0D+1.0DI )  sinh( 1.0DL+1.0LI ); 27 sout  "cosh:"  cosh( 1.0F )  cosh( 1.0D )  cosh( 1.0L )  cosh( 1.0F+1.0FI )  cosh( 1.0D+1.0DI )  cosh( 1.0DL+1.0LI ); 28 sout  "tanh:"  tanh( 1.0F )  tanh( 1.0D )  tanh( 1.0L )  tanh( 1.0F+1.0FI )  tanh( 1.0D+1.0DI )  tanh( 1.0DL+1.0LI ); 29 sout  "acosh:"  acosh( 1.0F )  acosh( 1.0D )  acosh( 1.0L )  acosh( 1.0F+1.0FI )  acosh( 1.0D+1.0DI )  acosh( 1.0DL+1.0LI ); 30 sout  "asinh:"  asinh( 1.0F )  asinh( 1.0D )  asinh( 1.0L )  asinh( 1.0F+1.0FI )  asinh( 1.0D+1.0DI )  asinh( 1.0DL+1.0LI ); 31 sout  "atanh:"  atanh( 1.0F )  atanh( 1.0D )  atanh( 1.0L )  atanh( 1.0F+1.0FI )  atanh( 1.0D+1.0DI )  atanh( 1.0DL+1.0LI ); 32 32 33 33 // Error / Gamma  34 34 35 sout  "erf:"  erf( 1.0F )  erf( 1.0D )  erf( 1.0L )  endl;36 sout  "erfc:"  erfc( 1.0F )  erfc( 1.0D )  erfc( 1.0L )  endl;37 sout  "lgamma:"  lgamma( 4.0F )  lgamma( 4.0D )  lgamma( 4.0L )  endl;35 sout  "erf:"  erf( 1.0F )  erf( 1.0D )  erf( 1.0L ); 36 sout  "erfc:"  erfc( 1.0F )  erfc( 1.0D )  erfc( 1.0L ); 37 sout  "lgamma:"  lgamma( 4.0F )  lgamma( 4.0D )  lgamma( 4.0L ); 38 38 int sign; 39 39 f = lgamma( 4.0F, &sign ); 40 sout  "lgamma:"  f  sign ;40 sout  "lgamma:"  f  sign  nonl; 41 41 d = lgamma( 4.0D, &sign ); 42 sout  d  sign ;42 sout  d  sign  nonl; 43 43 l = lgamma( 4.0L, &sign ); 44 sout  l  sign  endl;45 sout  "tgamma:"  tgamma( 4.0F )  tgamma( 4.0D )  tgamma( 4.0L )  endl;44 sout  l  sign; 45 sout  "tgamma:"  tgamma( 4.0F )  tgamma( 4.0D )  tgamma( 4.0L ); 46 46 } // main 47 47
Note: See TracChangeset
for help on using the changeset viewer.