Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ Computes the [arithmetic mean][arithmetic-mean] of a one-dimensional double-prec
#include <stdint.h>

// Create an ndarray:
const double data[] = { 1.0, -2.0, NaN, 2.0 };
const double data[] = { 1.0, -2.0, 0.0/0.0, 2.0 };
int64_t shape[] = { 4 };
int64_t strides[] = { STDLIB_NDARRAY_FLOAT64_BYTES_PER_ELEMENT };
int8_t submodes[] = { STDLIB_NDARRAY_INDEX_ERROR };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Computes the [mid-range][mid-range] of a one-dimensional double-precision floati
#include <stdint.h>

// Create an ndarray:
const double data[] = { 1.0, -2.0, NaN, 2.0 };
const double data[] = { 1.0, -2.0, 0.0/0.0, 2.0 };
int64_t shape[] = { 4 };
int64_t strides[] = { STDLIB_NDARRAY_FLOAT64_BYTES_PER_ELEMENT };
int8_t submodes[] = { STDLIB_NDARRAY_INDEX_ERROR };
Expand Down