@ohos-ports/stdlib-complex-real 0.0.0-stage → 0.2.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (271) hide show
  1. package/LICENSE +177 -0
  2. package/NOTICE +1 -0
  3. package/README.md +320 -2
  4. package/SECURITY.md +5 -0
  5. package/dist/index.d.ts +3 -0
  6. package/dist/index.js +5 -0
  7. package/dist/index.js.map +7 -0
  8. package/docs/types/index.d.ts +44 -0
  9. package/include/stdlib/complex/real.h +40 -0
  10. package/lib/index.js +43 -0
  11. package/lib/main.js +42 -0
  12. package/manifest.json +40 -0
  13. package/node_modules/@stdlib/array-float32/LICENSE +177 -0
  14. package/node_modules/@stdlib/array-float32/NOTICE +1 -0
  15. package/node_modules/@stdlib/array-float32/README.md +1577 -0
  16. package/node_modules/@stdlib/array-float32/SECURITY.md +5 -0
  17. package/node_modules/@stdlib/array-float32/dist/index.d.ts +3 -0
  18. package/node_modules/@stdlib/array-float32/dist/index.js +19 -0
  19. package/node_modules/@stdlib/array-float32/dist/index.js.map +7 -0
  20. package/node_modules/@stdlib/array-float32/docs/types/index.d.ts +26 -0
  21. package/node_modules/@stdlib/array-float32/lib/index.js +52 -0
  22. package/node_modules/@stdlib/array-float32/lib/main.js +28 -0
  23. package/node_modules/@stdlib/array-float32/lib/polyfill.js +37 -0
  24. package/node_modules/@stdlib/array-float32/package.json +72 -0
  25. package/node_modules/@stdlib/assert-has-float32array-support/LICENSE +177 -0
  26. package/node_modules/@stdlib/assert-has-float32array-support/NOTICE +1 -0
  27. package/node_modules/@stdlib/assert-has-float32array-support/README.md +187 -0
  28. package/node_modules/@stdlib/assert-has-float32array-support/SECURITY.md +5 -0
  29. package/node_modules/@stdlib/assert-has-float32array-support/dist/index.d.ts +3 -0
  30. package/node_modules/@stdlib/assert-has-float32array-support/dist/index.js +7 -0
  31. package/node_modules/@stdlib/assert-has-float32array-support/dist/index.js.map +7 -0
  32. package/node_modules/@stdlib/assert-has-float32array-support/docs/types/index.d.ts +35 -0
  33. package/node_modules/@stdlib/assert-has-float32array-support/lib/float32array.js +28 -0
  34. package/node_modules/@stdlib/assert-has-float32array-support/lib/index.js +40 -0
  35. package/node_modules/@stdlib/assert-has-float32array-support/lib/main.js +65 -0
  36. package/node_modules/@stdlib/assert-has-float32array-support/package.json +77 -0
  37. package/node_modules/@stdlib/assert-has-own-property/LICENSE +177 -0
  38. package/node_modules/@stdlib/assert-has-own-property/NOTICE +1 -0
  39. package/node_modules/@stdlib/assert-has-own-property/README.md +263 -0
  40. package/node_modules/@stdlib/assert-has-own-property/SECURITY.md +5 -0
  41. package/node_modules/@stdlib/assert-has-own-property/dist/index.d.ts +3 -0
  42. package/node_modules/@stdlib/assert-has-own-property/dist/index.js +5 -0
  43. package/node_modules/@stdlib/assert-has-own-property/dist/index.js.map +7 -0
  44. package/node_modules/@stdlib/assert-has-own-property/docs/types/index.d.ts +49 -0
  45. package/node_modules/@stdlib/assert-has-own-property/lib/index.js +47 -0
  46. package/node_modules/@stdlib/assert-has-own-property/lib/main.js +64 -0
  47. package/node_modules/@stdlib/assert-has-own-property/package.json +73 -0
  48. package/node_modules/@stdlib/assert-has-symbol-support/LICENSE +177 -0
  49. package/node_modules/@stdlib/assert-has-symbol-support/NOTICE +1 -0
  50. package/node_modules/@stdlib/assert-has-symbol-support/README.md +193 -0
  51. package/node_modules/@stdlib/assert-has-symbol-support/SECURITY.md +5 -0
  52. package/node_modules/@stdlib/assert-has-symbol-support/dist/index.d.ts +3 -0
  53. package/node_modules/@stdlib/assert-has-symbol-support/dist/index.js +5 -0
  54. package/node_modules/@stdlib/assert-has-symbol-support/dist/index.js.map +7 -0
  55. package/node_modules/@stdlib/assert-has-symbol-support/docs/types/index.d.ts +35 -0
  56. package/node_modules/@stdlib/assert-has-symbol-support/lib/index.js +40 -0
  57. package/node_modules/@stdlib/assert-has-symbol-support/lib/main.js +42 -0
  58. package/node_modules/@stdlib/assert-has-symbol-support/package.json +72 -0
  59. package/node_modules/@stdlib/assert-has-tostringtag-support/LICENSE +177 -0
  60. package/node_modules/@stdlib/assert-has-tostringtag-support/NOTICE +1 -0
  61. package/node_modules/@stdlib/assert-has-tostringtag-support/README.md +187 -0
  62. package/node_modules/@stdlib/assert-has-tostringtag-support/SECURITY.md +5 -0
  63. package/node_modules/@stdlib/assert-has-tostringtag-support/dist/index.d.ts +3 -0
  64. package/node_modules/@stdlib/assert-has-tostringtag-support/dist/index.js +5 -0
  65. package/node_modules/@stdlib/assert-has-tostringtag-support/dist/index.js.map +7 -0
  66. package/node_modules/@stdlib/assert-has-tostringtag-support/docs/types/index.d.ts +35 -0
  67. package/node_modules/@stdlib/assert-has-tostringtag-support/lib/index.js +40 -0
  68. package/node_modules/@stdlib/assert-has-tostringtag-support/lib/main.js +49 -0
  69. package/node_modules/@stdlib/assert-has-tostringtag-support/package.json +78 -0
  70. package/node_modules/@stdlib/assert-is-float32array/LICENSE +177 -0
  71. package/node_modules/@stdlib/assert-is-float32array/NOTICE +1 -0
  72. package/node_modules/@stdlib/assert-is-float32array/README.md +229 -0
  73. package/node_modules/@stdlib/assert-is-float32array/SECURITY.md +5 -0
  74. package/node_modules/@stdlib/assert-is-float32array/dist/index.d.ts +3 -0
  75. package/node_modules/@stdlib/assert-is-float32array/dist/index.js +5 -0
  76. package/node_modules/@stdlib/assert-is-float32array/dist/index.js.map +7 -0
  77. package/node_modules/@stdlib/assert-is-float32array/docs/types/index.d.ts +42 -0
  78. package/node_modules/@stdlib/assert-is-float32array/lib/index.js +44 -0
  79. package/node_modules/@stdlib/assert-is-float32array/lib/main.js +59 -0
  80. package/node_modules/@stdlib/assert-is-float32array/package.json +81 -0
  81. package/node_modules/@stdlib/assert-is-number/LICENSE +177 -0
  82. package/node_modules/@stdlib/assert-is-number/NOTICE +1 -0
  83. package/node_modules/@stdlib/assert-is-number/README.md +231 -0
  84. package/node_modules/@stdlib/assert-is-number/SECURITY.md +5 -0
  85. package/node_modules/@stdlib/assert-is-number/dist/index.d.ts +3 -0
  86. package/node_modules/@stdlib/assert-is-number/dist/index.js +13 -0
  87. package/node_modules/@stdlib/assert-is-number/dist/index.js.map +7 -0
  88. package/node_modules/@stdlib/assert-is-number/docs/types/index.d.ts +121 -0
  89. package/node_modules/@stdlib/assert-is-number/lib/index.js +79 -0
  90. package/node_modules/@stdlib/assert-is-number/lib/main.js +58 -0
  91. package/node_modules/@stdlib/assert-is-number/lib/object.js +66 -0
  92. package/node_modules/@stdlib/assert-is-number/lib/primitive.js +46 -0
  93. package/node_modules/@stdlib/assert-is-number/lib/tostring.js +34 -0
  94. package/node_modules/@stdlib/assert-is-number/lib/try2serialize.js +47 -0
  95. package/node_modules/@stdlib/assert-is-number/package.json +80 -0
  96. package/node_modules/@stdlib/complex-float32/LICENSE +177 -0
  97. package/node_modules/@stdlib/complex-float32/NOTICE +1 -0
  98. package/node_modules/@stdlib/complex-float32/README.md +629 -0
  99. package/node_modules/@stdlib/complex-float32/SECURITY.md +5 -0
  100. package/node_modules/@stdlib/complex-float32/dist/index.d.ts +3 -0
  101. package/node_modules/@stdlib/complex-float32/dist/index.js +9 -0
  102. package/node_modules/@stdlib/complex-float32/dist/index.js.map +7 -0
  103. package/node_modules/@stdlib/complex-float32/docs/types/index.d.ts +111 -0
  104. package/node_modules/@stdlib/complex-float32/lib/index.js +40 -0
  105. package/node_modules/@stdlib/complex-float32/lib/main.js +159 -0
  106. package/node_modules/@stdlib/complex-float32/lib/tojson.js +39 -0
  107. package/node_modules/@stdlib/complex-float32/lib/tostring.js +42 -0
  108. package/node_modules/@stdlib/complex-float32/manifest.json +38 -0
  109. package/node_modules/@stdlib/complex-float32/package.json +76 -0
  110. package/node_modules/@stdlib/complex-float64/LICENSE +177 -0
  111. package/node_modules/@stdlib/complex-float64/NOTICE +1 -0
  112. package/node_modules/@stdlib/complex-float64/README.md +699 -0
  113. package/node_modules/@stdlib/complex-float64/SECURITY.md +5 -0
  114. package/node_modules/@stdlib/complex-float64/dist/index.d.ts +3 -0
  115. package/node_modules/@stdlib/complex-float64/dist/index.js +9 -0
  116. package/node_modules/@stdlib/complex-float64/dist/index.js.map +7 -0
  117. package/node_modules/@stdlib/complex-float64/docs/types/index.d.ts +111 -0
  118. package/node_modules/@stdlib/complex-float64/lib/index.js +40 -0
  119. package/node_modules/@stdlib/complex-float64/lib/main.js +158 -0
  120. package/node_modules/@stdlib/complex-float64/lib/tojson.js +39 -0
  121. package/node_modules/@stdlib/complex-float64/lib/tostring.js +42 -0
  122. package/node_modules/@stdlib/complex-float64/manifest.json +40 -0
  123. package/node_modules/@stdlib/complex-float64/package.json +75 -0
  124. package/node_modules/@stdlib/constants-float64-pinf/LICENSE +177 -0
  125. package/node_modules/@stdlib/constants-float64-pinf/NOTICE +1 -0
  126. package/node_modules/@stdlib/constants-float64-pinf/README.md +238 -0
  127. package/node_modules/@stdlib/constants-float64-pinf/SECURITY.md +5 -0
  128. package/node_modules/@stdlib/constants-float64-pinf/dist/index.d.ts +3 -0
  129. package/node_modules/@stdlib/constants-float64-pinf/dist/index.js +3 -0
  130. package/node_modules/@stdlib/constants-float64-pinf/dist/index.js.map +7 -0
  131. package/node_modules/@stdlib/constants-float64-pinf/docs/types/index.d.ts +33 -0
  132. package/node_modules/@stdlib/constants-float64-pinf/lib/index.js +56 -0
  133. package/node_modules/@stdlib/constants-float64-pinf/manifest.json +36 -0
  134. package/node_modules/@stdlib/constants-float64-pinf/package.json +71 -0
  135. package/node_modules/@stdlib/error-tools-fmtprodmsg/LICENSE +177 -0
  136. package/node_modules/@stdlib/error-tools-fmtprodmsg/NOTICE +1 -0
  137. package/node_modules/@stdlib/error-tools-fmtprodmsg/README.md +182 -0
  138. package/node_modules/@stdlib/error-tools-fmtprodmsg/SECURITY.md +5 -0
  139. package/node_modules/@stdlib/error-tools-fmtprodmsg/dist/index.d.ts +3 -0
  140. package/node_modules/@stdlib/error-tools-fmtprodmsg/dist/index.js +5 -0
  141. package/node_modules/@stdlib/error-tools-fmtprodmsg/dist/index.js.map +7 -0
  142. package/node_modules/@stdlib/error-tools-fmtprodmsg/docs/types/index.d.ts +39 -0
  143. package/node_modules/@stdlib/error-tools-fmtprodmsg/lib/index.js +40 -0
  144. package/node_modules/@stdlib/error-tools-fmtprodmsg/lib/main.js +48 -0
  145. package/node_modules/@stdlib/error-tools-fmtprodmsg/package.json +70 -0
  146. package/node_modules/@stdlib/number-ctor/LICENSE +177 -0
  147. package/node_modules/@stdlib/number-ctor/NOTICE +1 -0
  148. package/node_modules/@stdlib/number-ctor/README.md +212 -0
  149. package/node_modules/@stdlib/number-ctor/SECURITY.md +5 -0
  150. package/node_modules/@stdlib/number-ctor/dist/index.d.ts +3 -0
  151. package/node_modules/@stdlib/number-ctor/dist/index.js +5 -0
  152. package/node_modules/@stdlib/number-ctor/dist/index.js.map +7 -0
  153. package/node_modules/@stdlib/number-ctor/docs/types/index.d.ts +30 -0
  154. package/node_modules/@stdlib/number-ctor/lib/index.js +40 -0
  155. package/node_modules/@stdlib/number-ctor/lib/main.js +23 -0
  156. package/node_modules/@stdlib/number-ctor/package.json +62 -0
  157. package/node_modules/@stdlib/number-float64-base-to-float32/LICENSE +177 -0
  158. package/node_modules/@stdlib/number-float64-base-to-float32/NOTICE +1 -0
  159. package/node_modules/@stdlib/number-float64-base-to-float32/README.md +191 -0
  160. package/node_modules/@stdlib/number-float64-base-to-float32/SECURITY.md +5 -0
  161. package/node_modules/@stdlib/number-float64-base-to-float32/dist/index.d.ts +3 -0
  162. package/node_modules/@stdlib/number-float64-base-to-float32/dist/index.js +19 -0
  163. package/node_modules/@stdlib/number-float64-base-to-float32/dist/index.js.map +7 -0
  164. package/node_modules/@stdlib/number-float64-base-to-float32/docs/types/index.d.ts +36 -0
  165. package/node_modules/@stdlib/number-float64-base-to-float32/lib/index.js +51 -0
  166. package/node_modules/@stdlib/number-float64-base-to-float32/lib/main.js +28 -0
  167. package/node_modules/@stdlib/number-float64-base-to-float32/lib/polyfill.js +51 -0
  168. package/node_modules/@stdlib/number-float64-base-to-float32/package.json +76 -0
  169. package/node_modules/@stdlib/string-base-format-interpolate/LICENSE +177 -0
  170. package/node_modules/@stdlib/string-base-format-interpolate/NOTICE +1 -0
  171. package/node_modules/@stdlib/string-base-format-interpolate/README.md +219 -0
  172. package/node_modules/@stdlib/string-base-format-interpolate/SECURITY.md +5 -0
  173. package/node_modules/@stdlib/string-base-format-interpolate/dist/index.d.ts +3 -0
  174. package/node_modules/@stdlib/string-base-format-interpolate/dist/index.js +17 -0
  175. package/node_modules/@stdlib/string-base-format-interpolate/dist/index.js.map +7 -0
  176. package/node_modules/@stdlib/string-base-format-interpolate/docs/types/index.d.ts +71 -0
  177. package/node_modules/@stdlib/string-base-format-interpolate/lib/format_double.js +103 -0
  178. package/node_modules/@stdlib/string-base-format-interpolate/lib/format_integer.js +115 -0
  179. package/node_modules/@stdlib/string-base-format-interpolate/lib/index.js +41 -0
  180. package/node_modules/@stdlib/string-base-format-interpolate/lib/is_number.js +46 -0
  181. package/node_modules/@stdlib/string-base-format-interpolate/lib/is_string.js +42 -0
  182. package/node_modules/@stdlib/string-base-format-interpolate/lib/main.js +243 -0
  183. package/node_modules/@stdlib/string-base-format-interpolate/lib/space_pad.js +65 -0
  184. package/node_modules/@stdlib/string-base-format-interpolate/lib/zero_pad.js +84 -0
  185. package/node_modules/@stdlib/string-base-format-interpolate/package.json +71 -0
  186. package/node_modules/@stdlib/string-base-format-tokenize/LICENSE +177 -0
  187. package/node_modules/@stdlib/string-base-format-tokenize/NOTICE +1 -0
  188. package/node_modules/@stdlib/string-base-format-tokenize/README.md +203 -0
  189. package/node_modules/@stdlib/string-base-format-tokenize/SECURITY.md +5 -0
  190. package/node_modules/@stdlib/string-base-format-tokenize/dist/index.d.ts +3 -0
  191. package/node_modules/@stdlib/string-base-format-tokenize/dist/index.js +5 -0
  192. package/node_modules/@stdlib/string-base-format-tokenize/dist/index.js.map +7 -0
  193. package/node_modules/@stdlib/string-base-format-tokenize/docs/types/index.d.ts +68 -0
  194. package/node_modules/@stdlib/string-base-format-tokenize/lib/index.js +41 -0
  195. package/node_modules/@stdlib/string-base-format-tokenize/lib/main.js +95 -0
  196. package/node_modules/@stdlib/string-base-format-tokenize/package.json +69 -0
  197. package/node_modules/@stdlib/string-format/LICENSE +177 -0
  198. package/node_modules/@stdlib/string-format/NOTICE +1 -0
  199. package/node_modules/@stdlib/string-format/README.md +341 -0
  200. package/node_modules/@stdlib/string-format/SECURITY.md +5 -0
  201. package/node_modules/@stdlib/string-format/dist/index.d.ts +3 -0
  202. package/node_modules/@stdlib/string-format/dist/index.js +7 -0
  203. package/node_modules/@stdlib/string-format/dist/index.js.map +7 -0
  204. package/node_modules/@stdlib/string-format/docs/types/index.d.ts +42 -0
  205. package/node_modules/@stdlib/string-format/lib/index.js +43 -0
  206. package/node_modules/@stdlib/string-format/lib/is_string.js +42 -0
  207. package/node_modules/@stdlib/string-format/lib/main.js +64 -0
  208. package/node_modules/@stdlib/string-format/package.json +72 -0
  209. package/node_modules/@stdlib/symbol-ctor/LICENSE +177 -0
  210. package/node_modules/@stdlib/symbol-ctor/NOTICE +1 -0
  211. package/node_modules/@stdlib/symbol-ctor/README.md +234 -0
  212. package/node_modules/@stdlib/symbol-ctor/SECURITY.md +5 -0
  213. package/node_modules/@stdlib/symbol-ctor/dist/index.d.ts +3 -0
  214. package/node_modules/@stdlib/symbol-ctor/dist/index.js +5 -0
  215. package/node_modules/@stdlib/symbol-ctor/dist/index.js.map +7 -0
  216. package/node_modules/@stdlib/symbol-ctor/docs/types/index.d.ts +34 -0
  217. package/node_modules/@stdlib/symbol-ctor/lib/index.js +40 -0
  218. package/node_modules/@stdlib/symbol-ctor/lib/main.js +28 -0
  219. package/node_modules/@stdlib/symbol-ctor/package.json +62 -0
  220. package/node_modules/@stdlib/types/LICENSE +177 -0
  221. package/node_modules/@stdlib/types/NOTICE +1 -0
  222. package/node_modules/@stdlib/types/README.md +212 -0
  223. package/node_modules/@stdlib/types/SECURITY.md +5 -0
  224. package/node_modules/@stdlib/types/index.d.ts +3923 -0
  225. package/node_modules/@stdlib/types/lib/browser.js +28 -0
  226. package/node_modules/@stdlib/types/lib/index.js +39 -0
  227. package/node_modules/@stdlib/types/lib/main.js +40 -0
  228. package/node_modules/@stdlib/types/package.json +67 -0
  229. package/node_modules/@stdlib/types/test.ts +734 -0
  230. package/node_modules/@stdlib/utils-define-nonenumerable-read-only-property/LICENSE +177 -0
  231. package/node_modules/@stdlib/utils-define-nonenumerable-read-only-property/NOTICE +1 -0
  232. package/node_modules/@stdlib/utils-define-nonenumerable-read-only-property/README.md +216 -0
  233. package/node_modules/@stdlib/utils-define-nonenumerable-read-only-property/SECURITY.md +5 -0
  234. package/node_modules/@stdlib/utils-define-nonenumerable-read-only-property/dist/index.d.ts +3 -0
  235. package/node_modules/@stdlib/utils-define-nonenumerable-read-only-property/dist/index.js +31 -0
  236. package/node_modules/@stdlib/utils-define-nonenumerable-read-only-property/dist/index.js.map +7 -0
  237. package/node_modules/@stdlib/utils-define-nonenumerable-read-only-property/dist/main.js +58 -0
  238. package/node_modules/@stdlib/utils-define-nonenumerable-read-only-property/docs/types/index.d.ts +52 -0
  239. package/node_modules/@stdlib/utils-define-nonenumerable-read-only-property/lib/index.js +47 -0
  240. package/node_modules/@stdlib/utils-define-nonenumerable-read-only-property/lib/main.js +58 -0
  241. package/node_modules/@stdlib/utils-define-nonenumerable-read-only-property/package.json +92 -0
  242. package/node_modules/@stdlib/utils-define-property/LICENSE +177 -0
  243. package/node_modules/@stdlib/utils-define-property/NOTICE +1 -0
  244. package/node_modules/@stdlib/utils-define-property/README.md +228 -0
  245. package/node_modules/@stdlib/utils-define-property/SECURITY.md +5 -0
  246. package/node_modules/@stdlib/utils-define-property/dist/index.d.ts +3 -0
  247. package/node_modules/@stdlib/utils-define-property/dist/index.js +36 -0
  248. package/node_modules/@stdlib/utils-define-property/dist/index.js.map +7 -0
  249. package/node_modules/@stdlib/utils-define-property/docs/types/index.d.ts +52 -0
  250. package/node_modules/@stdlib/utils-define-property/lib/builtin.js +61 -0
  251. package/node_modules/@stdlib/utils-define-property/lib/define_property.js +28 -0
  252. package/node_modules/@stdlib/utils-define-property/lib/has_define_property_support.js +51 -0
  253. package/node_modules/@stdlib/utils-define-property/lib/index.js +58 -0
  254. package/node_modules/@stdlib/utils-define-property/lib/polyfill.js +122 -0
  255. package/node_modules/@stdlib/utils-define-property/package.json +74 -0
  256. package/node_modules/@stdlib/utils-native-class/LICENSE +177 -0
  257. package/node_modules/@stdlib/utils-native-class/NOTICE +1 -0
  258. package/node_modules/@stdlib/utils-native-class/README.md +349 -0
  259. package/node_modules/@stdlib/utils-native-class/SECURITY.md +5 -0
  260. package/node_modules/@stdlib/utils-native-class/dist/index.d.ts +3 -0
  261. package/node_modules/@stdlib/utils-native-class/dist/index.js +11 -0
  262. package/node_modules/@stdlib/utils-native-class/dist/index.js.map +7 -0
  263. package/node_modules/@stdlib/utils-native-class/docs/types/index.d.ts +51 -0
  264. package/node_modules/@stdlib/utils-native-class/lib/index.js +61 -0
  265. package/node_modules/@stdlib/utils-native-class/lib/main.js +56 -0
  266. package/node_modules/@stdlib/utils-native-class/lib/polyfill.js +81 -0
  267. package/node_modules/@stdlib/utils-native-class/lib/tostring.js +28 -0
  268. package/node_modules/@stdlib/utils-native-class/lib/tostringtag.js +33 -0
  269. package/node_modules/@stdlib/utils-native-class/package.json +83 -0
  270. package/package.json +71 -3
  271. package/src/main.c +42 -0
@@ -0,0 +1,111 @@
1
+ /*
2
+ * @license Apache-2.0
3
+ *
4
+ * Copyright (c) 2021 The Stdlib Authors.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
19
+ // TypeScript Version: 4.1
20
+
21
+ /**
22
+ * 64-bit complex number.
23
+ */
24
+ declare class Complex64 {
25
+ /**
26
+ * 64-bit complex number constructor.
27
+ *
28
+ * @param real - real component
29
+ * @param imag - imaginary component
30
+ * @returns 64-bit complex number
31
+ *
32
+ * @example
33
+ * var z = new Complex64( 5.0, 3.0 );
34
+ * // returns <Complex64>
35
+ */
36
+ constructor( real: number, imag: number );
37
+
38
+ /**
39
+ * Read-only property returning the real component.
40
+ *
41
+ * @returns real component
42
+ */
43
+ readonly re: number;
44
+
45
+ /**
46
+ * Read-only property returning the imaginary component.
47
+ *
48
+ * @returns imaginary component
49
+ */
50
+ readonly im: number;
51
+
52
+ /**
53
+ * Size (in bytes) of each component.
54
+ *
55
+ * @returns size of each component
56
+ *
57
+ * @example
58
+ * var nbytes = Complex64.BYTES_PER_ELEMENT;
59
+ * // returns 4
60
+ */
61
+ readonly BYTES_PER_ELEMENT: 4;
62
+
63
+ /**
64
+ * Length (in bytes) of a complex number.
65
+ *
66
+ * @returns byte length
67
+ *
68
+ * @example
69
+ * var z = new Complex64( 5.0, 3.0 );
70
+ *
71
+ * var nbytes = z.byteLength;
72
+ * // returns 8
73
+ */
74
+ readonly byteLength: 8;
75
+
76
+ /**
77
+ * Serializes a complex number as a string.
78
+ *
79
+ * @returns serialized complex number
80
+ *
81
+ * @example
82
+ * var z = new Complex64( 5.0, 3.0 );
83
+ *
84
+ * var str = z.toString();
85
+ * // returns '5 + 3i'
86
+ */
87
+ toString(): string;
88
+
89
+ /**
90
+ * Serializes a complex number as a JSON object.
91
+ *
92
+ * ## Notes
93
+ *
94
+ * - `JSON.stringify()` implicitly calls this method when stringifying a `Complex64` instance.
95
+ *
96
+ *
97
+ * @returns serialized complex number
98
+ *
99
+ * @example
100
+ * var z = new Complex64( 5.0, 3.0 );
101
+ *
102
+ * var obj = z.toJSON();
103
+ * // returns { 'type': 'Complex64', 're': 5.0, 'im': 3.0 }
104
+ */
105
+ toJSON(): any;
106
+ }
107
+
108
+
109
+ // EXPORTS //
110
+
111
+ export = Complex64;
@@ -0,0 +1,40 @@
1
+ /**
2
+ * @license Apache-2.0
3
+ *
4
+ * Copyright (c) 2018 The Stdlib Authors.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
19
+ 'use strict';
20
+
21
+ /**
22
+ * 64-bit complex number constructor.
23
+ *
24
+ * @module @stdlib/complex-float32
25
+ *
26
+ * @example
27
+ * var Complex64 = require( '@stdlib/complex-float32' );
28
+ *
29
+ * var z = new Complex64( 5.0, 3.0 );
30
+ * // returns <Complex64>
31
+ */
32
+
33
+ // MODULES //
34
+
35
+ var main = require( './main.js' );
36
+
37
+
38
+ // EXPORTS //
39
+
40
+ module.exports = main;
@@ -0,0 +1,159 @@
1
+ /**
2
+ * @license Apache-2.0
3
+ *
4
+ * Copyright (c) 2018 The Stdlib Authors.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
19
+ 'use strict';
20
+
21
+ // MODULES //
22
+
23
+ var isNumber = require( '@stdlib/assert-is-number' ).isPrimitive;
24
+ var defineProperty = require( '@stdlib/utils-define-property' );
25
+ var setReadOnly = require( '@stdlib/utils-define-nonenumerable-read-only-property' );
26
+ var float64ToFloat32 = require( '@stdlib/number-float64-base-to-float32' );
27
+ var format = require( '@stdlib/string-format' );
28
+ var toStr = require( './tostring.js' );
29
+ var toJSON = require( './tojson.js' );
30
+
31
+
32
+ // MAIN //
33
+
34
+ /**
35
+ * 64-bit complex number constructor.
36
+ *
37
+ * @constructor
38
+ * @param {number} real - real component
39
+ * @param {number} imag - imaginary component
40
+ * @throws {TypeError} must invoke using the `new` keyword
41
+ * @throws {TypeError} real component must be a number
42
+ * @throws {TypeError} imaginary component must be a number
43
+ * @returns {Complex64} 64-bit complex number
44
+ *
45
+ * @example
46
+ * var z = new Complex64( 5.0, 3.0 );
47
+ * // returns <Complex64>
48
+ */
49
+ function Complex64( real, imag ) {
50
+ if ( !( this instanceof Complex64 ) ) {
51
+ throw new TypeError( 'invalid invocation. Constructor must be called with the `new` keyword.' );
52
+ }
53
+ if ( !isNumber( real ) ) {
54
+ throw new TypeError( format( 'invalid argument. Real component must be a number. Value: `%s`.', real ) );
55
+ }
56
+ if ( !isNumber( imag ) ) {
57
+ throw new TypeError( format( 'invalid argument. Imaginary component must be a number. Value: `%s`.', imag ) );
58
+ }
59
+ defineProperty( this, 're', {
60
+ 'configurable': false,
61
+ 'enumerable': true,
62
+ 'writable': false,
63
+ 'value': float64ToFloat32( real )
64
+ });
65
+ defineProperty( this, 'im', {
66
+ 'configurable': false,
67
+ 'enumerable': true,
68
+ 'writable': false,
69
+ 'value': float64ToFloat32( imag )
70
+ });
71
+ return this;
72
+ }
73
+
74
+ /**
75
+ * Size (in bytes) of each component.
76
+ *
77
+ * @name BYTES_PER_ELEMENT
78
+ * @memberof Complex64
79
+ * @type {integer}
80
+ * @returns {integer} size of each component
81
+ *
82
+ * @example
83
+ * var nbytes = Complex64.BYTES_PER_ELEMENT;
84
+ * // returns 4
85
+ */
86
+ setReadOnly( Complex64, 'BYTES_PER_ELEMENT', 4 );
87
+
88
+ /**
89
+ * Size (in bytes) of each component.
90
+ *
91
+ * @name BYTES_PER_ELEMENT
92
+ * @memberof Complex64.prototype
93
+ * @type {integer}
94
+ * @returns {integer} size of each component
95
+ *
96
+ * @example
97
+ * var z = new Complex64( 5.0, 3.0 );
98
+ *
99
+ * var nbytes = z.BYTES_PER_ELEMENT;
100
+ * // returns 4
101
+ */
102
+ setReadOnly( Complex64.prototype, 'BYTES_PER_ELEMENT', 4 );
103
+
104
+ /**
105
+ * Length (in bytes) of a complex number.
106
+ *
107
+ * @name byteLength
108
+ * @memberof Complex64.prototype
109
+ * @type {integer}
110
+ * @returns {integer} byte length
111
+ *
112
+ * @example
113
+ * var z = new Complex64( 5.0, 3.0 );
114
+ *
115
+ * var nbytes = z.byteLength;
116
+ * // returns 8
117
+ */
118
+ setReadOnly( Complex64.prototype, 'byteLength', 8 );
119
+
120
+ /**
121
+ * Serializes a complex number as a string.
122
+ *
123
+ * @name toString
124
+ * @memberof Complex64.prototype
125
+ * @type {Function}
126
+ * @returns {string} serialized complex number
127
+ *
128
+ * @example
129
+ * var z = new Complex64( 5.0, 3.0 );
130
+ *
131
+ * var str = z.toString();
132
+ * // returns '5 + 3i'
133
+ */
134
+ setReadOnly( Complex64.prototype, 'toString', toStr );
135
+
136
+ /**
137
+ * Serializes a complex number as a JSON object.
138
+ *
139
+ * ## Notes
140
+ *
141
+ * - `JSON.stringify()` implicitly calls this method when stringifying a `Complex64` instance.
142
+ *
143
+ * @name toJSON
144
+ * @memberof Complex64.prototype
145
+ * @type {Function}
146
+ * @returns {Object} serialized complex number
147
+ *
148
+ * @example
149
+ * var z = new Complex64( 5.0, 3.0 );
150
+ *
151
+ * var obj = z.toJSON();
152
+ * // returns { 'type': 'Complex64', 're': 5.0, 'im': 3.0 }
153
+ */
154
+ setReadOnly( Complex64.prototype, 'toJSON', toJSON );
155
+
156
+
157
+ // EXPORTS //
158
+
159
+ module.exports = Complex64;
@@ -0,0 +1,39 @@
1
+ /**
2
+ * @license Apache-2.0
3
+ *
4
+ * Copyright (c) 2018 The Stdlib Authors.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
19
+ 'use strict';
20
+
21
+ /**
22
+ * Serializes a complex number as a JSON object.
23
+ *
24
+ * @private
25
+ * @returns {Object} JSON representation
26
+ */
27
+ function toJSON() {
28
+ /* eslint-disable no-invalid-this */
29
+ var out = {};
30
+ out.type = 'Complex64';
31
+ out.re = this.re;
32
+ out.im = this.im;
33
+ return out;
34
+ }
35
+
36
+
37
+ // EXPORTS //
38
+
39
+ module.exports = toJSON;
@@ -0,0 +1,42 @@
1
+ /**
2
+ * @license Apache-2.0
3
+ *
4
+ * Copyright (c) 2018 The Stdlib Authors.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
19
+ 'use strict';
20
+
21
+ /**
22
+ * Serializes a complex number as a string.
23
+ *
24
+ * @private
25
+ * @returns {string} serialized complex number
26
+ */
27
+ function toString() { // eslint-disable-line stdlib/no-redeclare
28
+ /* eslint-disable no-invalid-this */
29
+ var str = '' + this.re;
30
+ if ( this.im < 0 ) {
31
+ str += ' - ' + (-this.im);
32
+ } else {
33
+ str += ' + ' + this.im;
34
+ }
35
+ str += 'i';
36
+ return str;
37
+ }
38
+
39
+
40
+ // EXPORTS //
41
+
42
+ module.exports = toString;
@@ -0,0 +1,38 @@
1
+ {
2
+ "options": {},
3
+ "fields": [
4
+ {
5
+ "field": "src",
6
+ "resolve": true,
7
+ "relative": true
8
+ },
9
+ {
10
+ "field": "include",
11
+ "resolve": true,
12
+ "relative": true
13
+ },
14
+ {
15
+ "field": "libraries",
16
+ "resolve": false,
17
+ "relative": false
18
+ },
19
+ {
20
+ "field": "libpath",
21
+ "resolve": true,
22
+ "relative": false
23
+ }
24
+ ],
25
+ "confs": [
26
+ {
27
+ "src": [
28
+ "./src/main.c"
29
+ ],
30
+ "include": [
31
+ "./include"
32
+ ],
33
+ "libraries": [],
34
+ "libpath": [],
35
+ "dependencies": []
36
+ }
37
+ ]
38
+ }
@@ -0,0 +1,76 @@
1
+ {
2
+ "name": "@stdlib/complex-float32",
3
+ "version": "0.2.1",
4
+ "description": "64-bit complex number.",
5
+ "license": "Apache-2.0",
6
+ "author": {
7
+ "name": "The Stdlib Authors",
8
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
9
+ },
10
+ "contributors": [
11
+ {
12
+ "name": "The Stdlib Authors",
13
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
14
+ }
15
+ ],
16
+ "main": "./lib",
17
+ "directories": {
18
+ "doc": "./docs",
19
+ "include": "./include",
20
+ "lib": "./lib",
21
+ "src": "./src",
22
+ "dist": "./dist"
23
+ },
24
+ "types": "./docs/types",
25
+ "scripts": {},
26
+ "homepage": "https://stdlib.io",
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "git://github.com/stdlib-js/complex-float32.git"
30
+ },
31
+ "bugs": {
32
+ "url": "https://github.com/stdlib-js/stdlib/issues"
33
+ },
34
+ "dependencies": {
35
+ "@stdlib/assert-is-number": "^0.2.1",
36
+ "@stdlib/number-float64-base-to-float32": "^0.2.1",
37
+ "@stdlib/string-format": "^0.2.1",
38
+ "@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.1",
39
+ "@stdlib/utils-define-property": "^0.2.1"
40
+ },
41
+ "devDependencies": {},
42
+ "engines": {
43
+ "node": ">=0.10.0",
44
+ "npm": ">2.7.0"
45
+ },
46
+ "os": [
47
+ "aix",
48
+ "darwin",
49
+ "freebsd",
50
+ "linux",
51
+ "macos",
52
+ "openbsd",
53
+ "sunos",
54
+ "win32",
55
+ "windows"
56
+ ],
57
+ "keywords": [
58
+ "stdlib",
59
+ "stdtypes",
60
+ "types",
61
+ "data",
62
+ "structure",
63
+ "complex",
64
+ "complex64",
65
+ "64-bit",
66
+ "float32",
67
+ "float",
68
+ "single",
69
+ "single-precision",
70
+ "ieee754"
71
+ ],
72
+ "funding": {
73
+ "type": "opencollective",
74
+ "url": "https://opencollective.com/stdlib"
75
+ }
76
+ }
@@ -0,0 +1,177 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
@@ -0,0 +1 @@
1
+ Copyright (c) 2016-2024 The Stdlib Authors.