From 6ce593aca09c39f76ad613bb6957b6c85e547d77 Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Thu, 13 Jun 2024 23:23:39 +0000 Subject: [PATCH] Auto-generated commit --- CHANGELOG.md | 4 +- promotion-rules/lib/promotion_rules.json | 267 +++++++++++++---------- 2 files changed, 150 insertions(+), 121 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9346a3e5..019100a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@
-## Unreleased (2024-06-12) +## Unreleased (2024-06-13)
@@ -1453,6 +1453,7 @@ This release closes the following issue: ##### Features +- [`2a174cd`](https://github.com/stdlib-js/stdlib/commit/2a174cd91a26e08e7032934762ef2c0ed0320bda) - add boolean dtype support in `array/promotion-rules` [(#2369)](https://github.com/stdlib-js/stdlib/pull/2369) - [`b6aa74b`](https://github.com/stdlib-js/stdlib/commit/b6aa74b76fe133f5994edc88f62d62062281be06) - support non-string dtype values
@@ -1749,6 +1750,7 @@ A total of 13 people contributed to this release. Thank you to the following con
+- [`2a174cd`](https://github.com/stdlib-js/stdlib/commit/2a174cd91a26e08e7032934762ef2c0ed0320bda) - **feat:** add boolean dtype support in `array/promotion-rules` [(#2369)](https://github.com/stdlib-js/stdlib/pull/2369) _(by Jaysukh Makvana, Athan Reines)_ - [`d71d044`](https://github.com/stdlib-js/stdlib/commit/d71d04433120ab3096fb01c546d96c60c7684681) - **feat:** add `sort` method to `array/bool` [(#2363)](https://github.com/stdlib-js/stdlib/pull/2363) _(by Jaysukh Makvana)_ - [`1b80190`](https://github.com/stdlib-js/stdlib/commit/1b8019023cc1e56fc6ae46fba1825503c03c48a1) - **feat:** add boolean dtype support in `array/next-dtype` [(#2362)](https://github.com/stdlib-js/stdlib/pull/2362) _(by Jaysukh Makvana)_ - [`ce961d9`](https://github.com/stdlib-js/stdlib/commit/ce961d921bc120e3c45c3df1381793072febf721) - **feat:** add `array/base/assert/is-booleanarray` [(#2357)](https://github.com/stdlib-js/stdlib/pull/2357) _(by Jaysukh Makvana)_ diff --git a/promotion-rules/lib/promotion_rules.json b/promotion-rules/lib/promotion_rules.json index 507b3e98..bfa96c8f 100644 --- a/promotion-rules/lib/promotion_rules.json +++ b/promotion-rules/lib/promotion_rules.json @@ -1,130 +1,139 @@ { - "float64": { - "float64": "float64", - "float32": "float64", - "int32": "float64", - "int16": "float64", - "int8": "float64", - "uint32": "float64", - "uint16": "float64", - "uint8": "float64", - "uint8c": "float64", + "float64": { + "float64": "float64", + "float32": "float64", + "int32": "float64", + "int16": "float64", + "int8": "float64", + "uint32": "float64", + "uint16": "float64", + "uint8": "float64", + "uint8c": "float64", "complex64": "complex128", "complex128": "complex128", - "generic": "generic" - }, - "float32": { - "float64": "float64", - "float32": "float32", - "int32": "float64", - "int16": "float32", - "int8": "float32", - "uint32": "float64", - "uint16": "float32", - "uint8": "float32", - "uint8c": "float32", + "bool": -1, + "generic": "generic" + }, + "float32": { + "float64": "float64", + "float32": "float32", + "int32": "float64", + "int16": "float32", + "int8": "float32", + "uint32": "float64", + "uint16": "float32", + "uint8": "float32", + "uint8c": "float32", "complex64": "complex64", "complex128": "complex128", - "generic": "generic" - }, - "int32": { - "float64": "float64", - "float32": "float64", - "int32": "int32", - "int16": "int32", - "int8": "int32", - "uint32": "float64", - "uint16": "int32", - "uint8": "int32", - "uint8c": "int32", + "bool": -1, + "generic": "generic" + }, + "int32": { + "float64": "float64", + "float32": "float64", + "int32": "int32", + "int16": "int32", + "int8": "int32", + "uint32": "float64", + "uint16": "int32", + "uint8": "int32", + "uint8c": "int32", "complex64": "complex128", "complex128": "complex128", - "generic": "generic" - }, - "int16": { - "float64": "float64", - "float32": "float32", - "int32": "int32", - "int16": "int16", - "int8": "int16", - "uint32": "float64", - "uint16": "int32", - "uint8": "int16", - "uint8c": "int16", + "bool": -1, + "generic": "generic" + }, + "int16": { + "float64": "float64", + "float32": "float32", + "int32": "int32", + "int16": "int16", + "int8": "int16", + "uint32": "float64", + "uint16": "int32", + "uint8": "int16", + "uint8c": "int16", "complex64": "complex64", "complex128": "complex128", - "generic": "generic" - }, - "int8": { - "float64": "float64", - "float32": "float32", - "int32": "int32", - "int16": "int16", - "int8": "int8", - "uint32": "float64", - "uint16": "int32", - "uint8": "int16", - "uint8c": "int16", + "bool": -1, + "generic": "generic" + }, + "int8": { + "float64": "float64", + "float32": "float32", + "int32": "int32", + "int16": "int16", + "int8": "int8", + "uint32": "float64", + "uint16": "int32", + "uint8": "int16", + "uint8c": "int16", "complex64": "complex64", "complex128": "complex128", - "generic": "generic" - }, - "uint32": { - "float64": "float64", - "float32": "float64", - "int32": "float64", - "int16": "float64", - "int8": "float64", - "uint32": "uint32", - "uint16": "uint32", - "uint8": "uint32", - "uint8c": "uint32", + "bool": -1, + "generic": "generic" + }, + "uint32": { + "float64": "float64", + "float32": "float64", + "int32": "float64", + "int16": "float64", + "int8": "float64", + "uint32": "uint32", + "uint16": "uint32", + "uint8": "uint32", + "uint8c": "uint32", "complex64": "complex128", "complex128": "complex128", - "generic": "generic" - }, - "uint16": { - "float64": "float64", - "float32": "float32", - "int32": "int32", - "int16": "int32", - "int8": "int32", - "uint32": "uint32", - "uint16": "uint16", - "uint8": "uint16", - "uint8c": "uint16", + "bool": -1, + "generic": "generic" + }, + "uint16": { + "float64": "float64", + "float32": "float32", + "int32": "int32", + "int16": "int32", + "int8": "int32", + "uint32": "uint32", + "uint16": "uint16", + "uint8": "uint16", + "uint8c": "uint16", "complex64": "complex64", "complex128": "complex128", - "generic": "generic" - }, - "uint8": { - "float64": "float64", - "float32": "float32", - "int32": "int32", - "int16": "int16", - "int8": "int16", - "uint32": "uint32", - "uint16": "uint16", - "uint8": "uint8", - "uint8c": "uint8", + "bool": -1, + "generic": "generic" + }, + "uint8": { + "float64": "float64", + "float32": "float32", + "int32": "int32", + "int16": "int16", + "int8": "int16", + "uint32": "uint32", + "uint16": "uint16", + "uint8": "uint8", + "uint8c": "uint8", "complex64": "complex64", "complex128": "complex128", - "generic": "generic" - }, - "uint8c": { - "float64": "float64", - "float32": "float32", - "int32": "int32", - "int16": "int16", - "int8": "int16", - "uint32": "uint32", - "uint16": "uint16", - "uint8": "uint8", - "uint8c": "uint8", + "bool": -1, + "generic": "generic" + }, + "uint8c": { + "float64": "float64", + "float32": "float32", + "int32": "int32", + "int16": "int16", + "int8": "int16", + "uint32": "uint32", + "uint16": "uint16", + "uint8": "uint8", + "uint8c": "uint8", "complex64": "complex64", "complex128": "complex128", - "generic": "generic" - }, + "bool": -1, + "generic": "generic" + }, "complex128": { "float64": "complex128", "float32": "complex128", @@ -137,6 +146,7 @@ "uint8c": "complex128", "complex64": "complex128", "complex128": "complex128", + "bool": -1, "generic": "generic" }, "complex64": { @@ -151,20 +161,37 @@ "uint8c": "complex64", "complex64": "complex64", "complex128": "complex128", + "bool": -1, "generic": "generic" }, - "generic": { - "float64": "generic", - "float32": "generic", - "int32": "generic", - "int16": "generic", - "int8": "generic", - "uint32": "generic", - "uint16": "generic", - "uint8": "generic", - "uint8c": "generic", + "bool": { + "float64": -1, + "float32": -1, + "int32": -1, + "int16": -1, + "int8": -1, + "uint32": -1, + "uint16": -1, + "uint8": -1, + "uint8c": -1, + "complex64": -1, + "complex128": -1, + "bool": "bool", + "generic": "generic" + }, + "generic": { + "float64": "generic", + "float32": "generic", + "int32": "generic", + "int16": "generic", + "int8": "generic", + "uint32": "generic", + "uint16": "generic", + "uint8": "generic", + "uint8c": "generic", "complex64": "generic", "complex128": "generic", - "generic": "generic" - } + "bool": "generic", + "generic": "generic" + } }