Level : WORDPRESS BOOK LINKEDIN PATENT Send Mail 동냥하기 hajunho.com

#define to let

OpenSRC+ChatGPT / / 2020. 11. 26. 14:16
반응형

#define M_LOG10E    0.434294481903251827651128918916605082  /* log 10e */

#define M_LN2       0.693147180559945309417232121458176568  /* log e2 */

#define M_LN10      2.30258509299404568401799145468436421   /* log e10 */

#define M_PI        3.14159265358979323846264338327950288   /* pi */

#define M_PI_2      1.57079632679489661923132169163975144   /* pi/2 */

#define M_PI_4      0.785398163397448309615660845819875721  /* pi/4 */

#define M_1_PI      0.318309886183790671537767526745028724  /* 1/pi */

#define M_2_PI      0.636619772367581343075535053490057448  /* 2/pi */

#define M_2_SQRTPI  1.12837916709551257389615890312154517   /* 2/sqrt(pi) */

#define M_SQRT2     1.41421356237309504880168872420969808   /* sqrt(2) */

#define M_SQRT1_2   0.707106781186547524400844362104849039  /* 1/sqrt(2) */

 

//  Converted to Swift 5.3 by Swiftify v5.3.19197 - https://swiftify.com/

let M_LOG10E = 0.434294481903251827651128918916605082 

let M_LN2 = 0.693147180559945309417232121458176568

let M_LN10 = 2.30258509299404568401799145468436421

let M_PI = 3.14159265358979323846264338327950288

let M_PI_2 = 1.57079632679489661923132169163975144

let M_PI_4 = 0.785398163397448309615660845819875721

let M_1_PI = 0.318309886183790671537767526745028724

let M_2_PI = 0.636619772367581343075535053490057448

let M_2_SQRTPI = 1.12837916709551257389615890312154517

let M_SQRT2 = 1.41421356237309504880168872420969808

let M_SQRT1_2 = 0.707106781186547524400844362104849039

 

반응형

'OpenSRC+ChatGPT' 카테고리의 다른 글

previousPinchRecogScale  (0) 2020.12.14
pkg mng system. brew -> port  (0) 2020.11.27
drawrect  (0) 2020.11.25
date  (0) 2020.11.25
drawText  (0) 2020.11.24
  • 네이버 블러그 공유하기
  • 네이버 밴드에 공유하기
  • 페이스북 공유하기
  • 카카오스토리 공유하기