Skip to content

Commit eb05666

Browse files
committed
docs: fix copy
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: passed - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: na - task: run_c_examples status: na - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: na - task: run_c_benchmarks status: na - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: na - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: na ---
1 parent 6dc2130 commit eb05666

File tree

1 file changed

+4
-4
lines changed
  • lib/node_modules/@stdlib/blas/base/wasm/zswap/docs

1 file changed

+4
-4
lines changed

lib/node_modules/@stdlib/blas/base/wasm/zswap/docs/repl.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -405,12 +405,12 @@
405405

406406
The function infers element size (i.e., number of bytes per element) from
407407
the data type of the input array. For example, if provided a Float32Array,
408-
the function writes each element as a double-precision floating-point number
408+
the function writes each element as a single-precision floating-point number
409409
to the underlying WebAssembly memory instance.
410410

411411
In order to write elements as a different data type, you need to perform an
412412
explicit cast *before* calling this method. For example, in order to write
413-
double-precision floating-point numbers contained in a Float32Array as
413+
single-precision floating-point numbers contained in a Float32Array as
414414
signed 32-bit integers, you must first convert the Float32Array to an
415415
Int32Array before passing the values to this method.
416416

@@ -444,12 +444,12 @@
444444

445445
The function infers element size (i.e., number of bytes per element) from
446446
the data type of the output array. For example, if provided a Float32Array,
447-
the function reads each element as a double-precision floating-point number
447+
the function reads each element as a single-precision floating-point number
448448
from the underlying WebAssembly memory instance.
449449

450450
In order to read elements as a different data type, you need to perform an
451451
explicit cast *after* calling this method. For example, in order to read
452-
double-precision floating-point numbers contained in a Float32Array as
452+
single-precision floating-point numbers contained in a Float32Array as
453453
signed 32-bit integers, you must convert the Float32Array to an Int32Array
454454
after reading memory values using this method.
455455

0 commit comments

Comments
 (0)