From dc473d1b178499c64ad4f0404222249095e46cea Mon Sep 17 00:00:00 2001 From: Jaysukh-409 Date: Mon, 10 Jun 2024 21:41:32 +0530 Subject: [PATCH 1/5] feat: add boolean datatype support in array/safe-casts --- .../array/safe-casts/lib/safe_casts.json | 123 +++++++++++------- 1 file changed, 75 insertions(+), 48 deletions(-) diff --git a/lib/node_modules/@stdlib/array/safe-casts/lib/safe_casts.json b/lib/node_modules/@stdlib/array/safe-casts/lib/safe_casts.json index 86f47f0a9224..47f457f1b2ab 100644 --- a/lib/node_modules/@stdlib/array/safe-casts/lib/safe_casts.json +++ b/lib/node_modules/@stdlib/array/safe-casts/lib/safe_casts.json @@ -9,8 +9,9 @@ "uint16": 0, "uint8": 0, "uint8c": 0, - "complex128": 1, - "complex64": 0, + "complex128": 1, + "complex64": 0, + "bool": 0, "generic": 1 }, "float32": { @@ -23,8 +24,9 @@ "uint16": 0, "uint8": 0, "uint8c": 0, - "complex128": 1, - "complex64": 1, + "complex128": 1, + "complex64": 1, + "bool": 0, "generic": 1 }, "int32": { @@ -37,8 +39,9 @@ "uint16": 0, "uint8": 0, "uint8c": 0, - "complex128": 1, - "complex64": 0, + "complex128": 1, + "complex64": 0, + "bool": 0, "generic": 1 }, "int16": { @@ -51,8 +54,9 @@ "uint16": 0, "uint8": 0, "uint8c": 0, - "complex128": 1, - "complex64": 1, + "complex128": 1, + "complex64": 1, + "bool": 0, "generic": 1 }, "int8": { @@ -65,8 +69,9 @@ "uint16": 0, "uint8": 0, "uint8c": 0, - "complex128": 1, - "complex64": 1, + "complex128": 1, + "complex64": 1, + "bool": 0, "generic": 1 }, "uint32": { @@ -79,8 +84,9 @@ "uint16": 0, "uint8": 0, "uint8c": 0, - "complex128": 1, - "complex64": 0, + "complex128": 1, + "complex64": 0, + "bool": 0, "generic": 1 }, "uint16": { @@ -93,8 +99,9 @@ "uint16": 1, "uint8": 0, "uint8c": 0, - "complex128": 1, - "complex64": 1, + "complex128": 1, + "complex64": 1, + "bool": 0, "generic": 1 }, "uint8": { @@ -107,8 +114,9 @@ "uint16": 1, "uint8": 1, "uint8c": 1, - "complex128": 1, - "complex64": 1, + "complex128": 1, + "complex64": 1, + "bool": 0, "generic": 1 }, "uint8c": { @@ -121,38 +129,56 @@ "uint16": 1, "uint8": 1, "uint8c": 1, - "complex128": 1, - "complex64": 1, + "complex128": 1, + "complex64": 1, + "bool": 0, + "generic": 1 + }, + "complex128": { + "float64": 0, + "float32": 0, + "int32": 0, + "int16": 0, + "int8": 0, + "uint32": 0, + "uint16": 0, + "uint8": 0, + "uint8c": 0, + "complex128": 1, + "complex64": 0, + "bool": 0, + "generic": 1 + }, + "complex64": { + "float64": 0, + "float32": 0, + "int32": 0, + "int16": 0, + "int8": 0, + "uint32": 0, + "uint16": 0, + "uint8": 0, + "uint8c": 0, + "complex128": 1, + "complex64": 1, + "bool": 0, + "generic": 1 + }, + "bool": { + "float64": 0, + "float32": 0, + "int32": 0, + "int16": 0, + "int8": 0, + "uint32": 0, + "uint16": 0, + "uint8": 0, + "uint8c": 0, + "complex128": 0, + "complex64": 0, + "bool": 1, "generic": 1 }, - "complex128": { - "float64": 0, - "float32": 0, - "int32": 0, - "int16": 0, - "int8": 0, - "uint32": 0, - "uint16": 0, - "uint8": 0, - "uint8c": 0, - "complex128": 1, - "complex64": 0, - "generic": 1 - }, - "complex64": { - "float64": 0, - "float32": 0, - "int32": 0, - "int16": 0, - "int8": 0, - "uint32": 0, - "uint16": 0, - "uint8": 0, - "uint8c": 0, - "complex128": 1, - "complex64": 1, - "generic": 1 - }, "generic": { "float64": 0, "float32": 0, @@ -163,8 +189,9 @@ "uint16": 0, "uint8": 0, "uint8c": 0, - "complex128": 0, - "complex64": 0, + "complex128": 0, + "complex64": 0, + "bool": 0, "generic": 1 } } From fc826ba9d02bedd3f98bf4146410d91f8b95eeb7 Mon Sep 17 00:00:00 2001 From: Jaysukh-409 Date: Mon, 10 Jun 2024 21:57:16 +0530 Subject: [PATCH 2/5] feat: add boolean datatype support in array/same-kind-casts --- .../same-kind-casts/lib/same_kind_casts.json | 112 ++++++++++-------- 1 file changed, 64 insertions(+), 48 deletions(-) diff --git a/lib/node_modules/@stdlib/array/same-kind-casts/lib/same_kind_casts.json b/lib/node_modules/@stdlib/array/same-kind-casts/lib/same_kind_casts.json index 71510ba7bdad..749f180a2d57 100644 --- a/lib/node_modules/@stdlib/array/same-kind-casts/lib/same_kind_casts.json +++ b/lib/node_modules/@stdlib/array/same-kind-casts/lib/same_kind_casts.json @@ -9,8 +9,8 @@ "uint16": 0, "uint8": 0, "uint8c": 0, - "complex128": 1, - "complex64": 0, + "complex128": 1, + "complex64": 0, "generic": 1 }, "float32": { @@ -23,8 +23,8 @@ "uint16": 0, "uint8": 0, "uint8c": 0, - "complex128": 1, - "complex64": 1, + "complex128": 1, + "complex64": 1, "generic": 1 }, "int32": { @@ -37,8 +37,8 @@ "uint16": 0, "uint8": 0, "uint8c": 0, - "complex128": 1, - "complex64": 0, + "complex128": 1, + "complex64": 0, "generic": 1 }, "int16": { @@ -51,8 +51,8 @@ "uint16": 0, "uint8": 0, "uint8c": 0, - "complex128": 1, - "complex64": 1, + "complex128": 1, + "complex64": 1, "generic": 1 }, "int8": { @@ -65,8 +65,8 @@ "uint16": 0, "uint8": 0, "uint8c": 0, - "complex128": 1, - "complex64": 1, + "complex128": 1, + "complex64": 1, "generic": 1 }, "uint32": { @@ -79,8 +79,8 @@ "uint16": 1, "uint8": 1, "uint8c": 1, - "complex128": 1, - "complex64": 0, + "complex128": 1, + "complex64": 0, "generic": 1 }, "uint16": { @@ -93,8 +93,8 @@ "uint16": 1, "uint8": 1, "uint8c": 1, - "complex128": 1, - "complex64": 1, + "complex128": 1, + "complex64": 1, "generic": 1 }, "uint8": { @@ -107,8 +107,8 @@ "uint16": 1, "uint8": 1, "uint8c": 1, - "complex128": 1, - "complex64": 1, + "complex128": 1, + "complex64": 1, "generic": 1 }, "uint8c": { @@ -121,38 +121,53 @@ "uint16": 1, "uint8": 1, "uint8c": 1, - "complex128": 1, - "complex64": 1, + "complex128": 1, + "complex64": 1, + "generic": 1 + }, + "complex128": { + "float64": 0, + "float32": 0, + "int32": 0, + "int16": 0, + "int8": 0, + "uint32": 0, + "uint16": 0, + "uint8": 0, + "uint8c": 0, + "complex128": 1, + "complex64": 1, + "generic": 0 + }, + "complex64": { + "float64": 0, + "float32": 0, + "int32": 0, + "int16": 0, + "int8": 0, + "uint32": 0, + "uint16": 0, + "uint8": 0, + "uint8c": 0, + "complex128": 1, + "complex64": 1, + "generic": 0 + }, + "bool": { + "float64": 0, + "float32": 0, + "int32": 0, + "int16": 0, + "int8": 0, + "uint32": 0, + "uint16": 0, + "uint8": 0, + "uint8c": 0, + "complex128": 0, + "complex64": 0, + "bool": 1, "generic": 1 }, - "complex128": { - "float64": 0, - "float32": 0, - "int32": 0, - "int16": 0, - "int8": 0, - "uint32": 0, - "uint16": 0, - "uint8": 0, - "uint8c": 0, - "complex128": 1, - "complex64": 1, - "generic": 0 - }, - "complex64": { - "float64": 0, - "float32": 0, - "int32": 0, - "int16": 0, - "int8": 0, - "uint32": 0, - "uint16": 0, - "uint8": 0, - "uint8c": 0, - "complex128": 1, - "complex64": 1, - "generic": 0 - }, "generic": { "float64": 0, "float32": 0, @@ -163,8 +178,9 @@ "uint16": 0, "uint8": 0, "uint8c": 0, - "complex128": 0, - "complex64": 0, + "complex128": 0, + "complex64": 0, + "bool": 0, "generic": 1 } } From d2005c371627a2c770bfe9fd1def534ff53540e6 Mon Sep 17 00:00:00 2001 From: Jaysukh-409 Date: Mon, 10 Jun 2024 21:58:40 +0530 Subject: [PATCH 3/5] feat: add boolean datatype support in array/same-kind-casts --- .../array/same-kind-casts/lib/same_kind_casts.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/node_modules/@stdlib/array/same-kind-casts/lib/same_kind_casts.json b/lib/node_modules/@stdlib/array/same-kind-casts/lib/same_kind_casts.json index 749f180a2d57..d68e79244445 100644 --- a/lib/node_modules/@stdlib/array/same-kind-casts/lib/same_kind_casts.json +++ b/lib/node_modules/@stdlib/array/same-kind-casts/lib/same_kind_casts.json @@ -11,6 +11,7 @@ "uint8c": 0, "complex128": 1, "complex64": 0, + "bool": 0, "generic": 1 }, "float32": { @@ -25,6 +26,7 @@ "uint8c": 0, "complex128": 1, "complex64": 1, + "bool": 0, "generic": 1 }, "int32": { @@ -39,6 +41,7 @@ "uint8c": 0, "complex128": 1, "complex64": 0, + "bool": 0, "generic": 1 }, "int16": { @@ -53,6 +56,7 @@ "uint8c": 0, "complex128": 1, "complex64": 1, + "bool": 0, "generic": 1 }, "int8": { @@ -67,6 +71,7 @@ "uint8c": 0, "complex128": 1, "complex64": 1, + "bool": 0, "generic": 1 }, "uint32": { @@ -81,6 +86,7 @@ "uint8c": 1, "complex128": 1, "complex64": 0, + "bool": 0, "generic": 1 }, "uint16": { @@ -95,6 +101,7 @@ "uint8c": 1, "complex128": 1, "complex64": 1, + "bool": 0, "generic": 1 }, "uint8": { @@ -109,6 +116,7 @@ "uint8c": 1, "complex128": 1, "complex64": 1, + "bool": 0, "generic": 1 }, "uint8c": { @@ -123,6 +131,7 @@ "uint8c": 1, "complex128": 1, "complex64": 1, + "bool": 0, "generic": 1 }, "complex128": { @@ -137,6 +146,7 @@ "uint8c": 0, "complex128": 1, "complex64": 1, + "bool": 0, "generic": 0 }, "complex64": { @@ -151,6 +161,7 @@ "uint8c": 0, "complex128": 1, "complex64": 1, + "bool": 0, "generic": 0 }, "bool": { From 6a13befc7385528c50a6e3486dc65e92ec2f64a0 Mon Sep 17 00:00:00 2001 From: Athan Reines Date: Mon, 10 Jun 2024 17:05:21 -0400 Subject: [PATCH 4/5] style: fix indentation --- .../array/safe-casts/lib/safe_casts.json | 390 +++++++++--------- 1 file changed, 195 insertions(+), 195 deletions(-) diff --git a/lib/node_modules/@stdlib/array/safe-casts/lib/safe_casts.json b/lib/node_modules/@stdlib/array/safe-casts/lib/safe_casts.json index 47f457f1b2ab..43e6b95b697d 100644 --- a/lib/node_modules/@stdlib/array/safe-casts/lib/safe_casts.json +++ b/lib/node_modules/@stdlib/array/safe-casts/lib/safe_casts.json @@ -1,197 +1,197 @@ { - "float64": { - "float64": 1, - "float32": 0, - "int32": 0, - "int16": 0, - "int8": 0, - "uint32": 0, - "uint16": 0, - "uint8": 0, - "uint8c": 0, - "complex128": 1, - "complex64": 0, - "bool": 0, - "generic": 1 - }, - "float32": { - "float64": 1, - "float32": 1, - "int32": 0, - "int16": 0, - "int8": 0, - "uint32": 0, - "uint16": 0, - "uint8": 0, - "uint8c": 0, - "complex128": 1, - "complex64": 1, - "bool": 0, - "generic": 1 - }, - "int32": { - "float64": 1, - "float32": 0, - "int32": 1, - "int16": 0, - "int8": 0, - "uint32": 0, - "uint16": 0, - "uint8": 0, - "uint8c": 0, - "complex128": 1, - "complex64": 0, - "bool": 0, - "generic": 1 - }, - "int16": { - "float64": 1, - "float32": 1, - "int32": 1, - "int16": 1, - "int8": 0, - "uint32": 0, - "uint16": 0, - "uint8": 0, - "uint8c": 0, - "complex128": 1, - "complex64": 1, - "bool": 0, - "generic": 1 - }, - "int8": { - "float64": 1, - "float32": 1, - "int32": 1, - "int16": 1, - "int8": 1, - "uint32": 0, - "uint16": 0, - "uint8": 0, - "uint8c": 0, - "complex128": 1, - "complex64": 1, - "bool": 0, - "generic": 1 - }, - "uint32": { - "float64": 1, - "float32": 0, - "int32": 0, - "int16": 0, - "int8": 0, - "uint32": 1, - "uint16": 0, - "uint8": 0, - "uint8c": 0, - "complex128": 1, - "complex64": 0, - "bool": 0, - "generic": 1 - }, - "uint16": { - "float64": 1, - "float32": 1, - "int32": 1, - "int16": 0, - "int8": 0, - "uint32": 1, - "uint16": 1, - "uint8": 0, - "uint8c": 0, - "complex128": 1, - "complex64": 1, - "bool": 0, - "generic": 1 - }, - "uint8": { - "float64": 1, - "float32": 1, - "int32": 1, - "int16": 1, - "int8": 0, - "uint32": 1, - "uint16": 1, - "uint8": 1, - "uint8c": 1, - "complex128": 1, - "complex64": 1, - "bool": 0, - "generic": 1 - }, - "uint8c": { - "float64": 1, - "float32": 1, - "int32": 1, - "int16": 1, - "int8": 0, - "uint32": 1, - "uint16": 1, - "uint8": 1, - "uint8c": 1, - "complex128": 1, - "complex64": 1, - "bool": 0, - "generic": 1 - }, - "complex128": { - "float64": 0, - "float32": 0, - "int32": 0, - "int16": 0, - "int8": 0, - "uint32": 0, - "uint16": 0, - "uint8": 0, - "uint8c": 0, - "complex128": 1, - "complex64": 0, - "bool": 0, - "generic": 1 - }, - "complex64": { - "float64": 0, - "float32": 0, - "int32": 0, - "int16": 0, - "int8": 0, - "uint32": 0, - "uint16": 0, - "uint8": 0, - "uint8c": 0, - "complex128": 1, - "complex64": 1, - "bool": 0, - "generic": 1 - }, - "bool": { - "float64": 0, - "float32": 0, - "int32": 0, - "int16": 0, - "int8": 0, - "uint32": 0, - "uint16": 0, - "uint8": 0, - "uint8c": 0, - "complex128": 0, - "complex64": 0, - "bool": 1, - "generic": 1 - }, - "generic": { - "float64": 0, - "float32": 0, - "int32": 0, - "int16": 0, - "int8": 0, - "uint32": 0, - "uint16": 0, - "uint8": 0, - "uint8c": 0, - "complex128": 0, - "complex64": 0, - "bool": 0, - "generic": 1 - } + "float64": { + "float64": 1, + "float32": 0, + "int32": 0, + "int16": 0, + "int8": 0, + "uint32": 0, + "uint16": 0, + "uint8": 0, + "uint8c": 0, + "complex128": 1, + "complex64": 0, + "bool": 0, + "generic": 1 + }, + "float32": { + "float64": 1, + "float32": 1, + "int32": 0, + "int16": 0, + "int8": 0, + "uint32": 0, + "uint16": 0, + "uint8": 0, + "uint8c": 0, + "complex128": 1, + "complex64": 1, + "bool": 0, + "generic": 1 + }, + "int32": { + "float64": 1, + "float32": 0, + "int32": 1, + "int16": 0, + "int8": 0, + "uint32": 0, + "uint16": 0, + "uint8": 0, + "uint8c": 0, + "complex128": 1, + "complex64": 0, + "bool": 0, + "generic": 1 + }, + "int16": { + "float64": 1, + "float32": 1, + "int32": 1, + "int16": 1, + "int8": 0, + "uint32": 0, + "uint16": 0, + "uint8": 0, + "uint8c": 0, + "complex128": 1, + "complex64": 1, + "bool": 0, + "generic": 1 + }, + "int8": { + "float64": 1, + "float32": 1, + "int32": 1, + "int16": 1, + "int8": 1, + "uint32": 0, + "uint16": 0, + "uint8": 0, + "uint8c": 0, + "complex128": 1, + "complex64": 1, + "bool": 0, + "generic": 1 + }, + "uint32": { + "float64": 1, + "float32": 0, + "int32": 0, + "int16": 0, + "int8": 0, + "uint32": 1, + "uint16": 0, + "uint8": 0, + "uint8c": 0, + "complex128": 1, + "complex64": 0, + "bool": 0, + "generic": 1 + }, + "uint16": { + "float64": 1, + "float32": 1, + "int32": 1, + "int16": 0, + "int8": 0, + "uint32": 1, + "uint16": 1, + "uint8": 0, + "uint8c": 0, + "complex128": 1, + "complex64": 1, + "bool": 0, + "generic": 1 + }, + "uint8": { + "float64": 1, + "float32": 1, + "int32": 1, + "int16": 1, + "int8": 0, + "uint32": 1, + "uint16": 1, + "uint8": 1, + "uint8c": 1, + "complex128": 1, + "complex64": 1, + "bool": 0, + "generic": 1 + }, + "uint8c": { + "float64": 1, + "float32": 1, + "int32": 1, + "int16": 1, + "int8": 0, + "uint32": 1, + "uint16": 1, + "uint8": 1, + "uint8c": 1, + "complex128": 1, + "complex64": 1, + "bool": 0, + "generic": 1 + }, + "complex128": { + "float64": 0, + "float32": 0, + "int32": 0, + "int16": 0, + "int8": 0, + "uint32": 0, + "uint16": 0, + "uint8": 0, + "uint8c": 0, + "complex128": 1, + "complex64": 0, + "bool": 0, + "generic": 1 + }, + "complex64": { + "float64": 0, + "float32": 0, + "int32": 0, + "int16": 0, + "int8": 0, + "uint32": 0, + "uint16": 0, + "uint8": 0, + "uint8c": 0, + "complex128": 1, + "complex64": 1, + "bool": 0, + "generic": 1 + }, + "bool": { + "float64": 0, + "float32": 0, + "int32": 0, + "int16": 0, + "int8": 0, + "uint32": 0, + "uint16": 0, + "uint8": 0, + "uint8c": 0, + "complex128": 0, + "complex64": 0, + "bool": 1, + "generic": 1 + }, + "generic": { + "float64": 0, + "float32": 0, + "int32": 0, + "int16": 0, + "int8": 0, + "uint32": 0, + "uint16": 0, + "uint8": 0, + "uint8c": 0, + "complex128": 0, + "complex64": 0, + "bool": 0, + "generic": 1 + } } From 2e994eebde1b59d1f465732a6b1ad9dac2cc49f6 Mon Sep 17 00:00:00 2001 From: Athan Reines Date: Mon, 10 Jun 2024 17:07:16 -0400 Subject: [PATCH 5/5] style: update indentation --- .../same-kind-casts/lib/same_kind_casts.json | 390 +++++++++--------- 1 file changed, 195 insertions(+), 195 deletions(-) diff --git a/lib/node_modules/@stdlib/array/same-kind-casts/lib/same_kind_casts.json b/lib/node_modules/@stdlib/array/same-kind-casts/lib/same_kind_casts.json index d68e79244445..0bb7bd16b240 100644 --- a/lib/node_modules/@stdlib/array/same-kind-casts/lib/same_kind_casts.json +++ b/lib/node_modules/@stdlib/array/same-kind-casts/lib/same_kind_casts.json @@ -1,197 +1,197 @@ { - "float64": { - "float64": 1, - "float32": 1, - "int32": 0, - "int16": 0, - "int8": 0, - "uint32": 0, - "uint16": 0, - "uint8": 0, - "uint8c": 0, - "complex128": 1, - "complex64": 0, - "bool": 0, - "generic": 1 - }, - "float32": { - "float64": 1, - "float32": 1, - "int32": 0, - "int16": 0, - "int8": 0, - "uint32": 0, - "uint16": 0, - "uint8": 0, - "uint8c": 0, - "complex128": 1, - "complex64": 1, - "bool": 0, - "generic": 1 - }, - "int32": { - "float64": 1, - "float32": 0, - "int32": 1, - "int16": 1, - "int8": 1, - "uint32": 0, - "uint16": 0, - "uint8": 0, - "uint8c": 0, - "complex128": 1, - "complex64": 0, - "bool": 0, - "generic": 1 - }, - "int16": { - "float64": 1, - "float32": 1, - "int32": 1, - "int16": 1, - "int8": 1, - "uint32": 0, - "uint16": 0, - "uint8": 0, - "uint8c": 0, - "complex128": 1, - "complex64": 1, - "bool": 0, - "generic": 1 - }, - "int8": { - "float64": 1, - "float32": 1, - "int32": 1, - "int16": 1, - "int8": 1, - "uint32": 0, - "uint16": 0, - "uint8": 0, - "uint8c": 0, - "complex128": 1, - "complex64": 1, - "bool": 0, - "generic": 1 - }, - "uint32": { - "float64": 1, - "float32": 0, - "int32": 0, - "int16": 0, - "int8": 0, - "uint32": 1, - "uint16": 1, - "uint8": 1, - "uint8c": 1, - "complex128": 1, - "complex64": 0, - "bool": 0, - "generic": 1 - }, - "uint16": { - "float64": 1, - "float32": 1, - "int32": 1, - "int16": 0, - "int8": 0, - "uint32": 1, - "uint16": 1, - "uint8": 1, - "uint8c": 1, - "complex128": 1, - "complex64": 1, - "bool": 0, - "generic": 1 - }, - "uint8": { - "float64": 1, - "float32": 1, - "int32": 1, - "int16": 1, - "int8": 0, - "uint32": 1, - "uint16": 1, - "uint8": 1, - "uint8c": 1, - "complex128": 1, - "complex64": 1, - "bool": 0, - "generic": 1 - }, - "uint8c": { - "float64": 1, - "float32": 1, - "int32": 1, - "int16": 1, - "int8": 0, - "uint32": 1, - "uint16": 1, - "uint8": 1, - "uint8c": 1, - "complex128": 1, - "complex64": 1, - "bool": 0, - "generic": 1 - }, - "complex128": { - "float64": 0, - "float32": 0, - "int32": 0, - "int16": 0, - "int8": 0, - "uint32": 0, - "uint16": 0, - "uint8": 0, - "uint8c": 0, - "complex128": 1, - "complex64": 1, - "bool": 0, - "generic": 0 - }, - "complex64": { - "float64": 0, - "float32": 0, - "int32": 0, - "int16": 0, - "int8": 0, - "uint32": 0, - "uint16": 0, - "uint8": 0, - "uint8c": 0, - "complex128": 1, - "complex64": 1, - "bool": 0, - "generic": 0 - }, - "bool": { - "float64": 0, - "float32": 0, - "int32": 0, - "int16": 0, - "int8": 0, - "uint32": 0, - "uint16": 0, - "uint8": 0, - "uint8c": 0, - "complex128": 0, - "complex64": 0, - "bool": 1, - "generic": 1 - }, - "generic": { - "float64": 0, - "float32": 0, - "int32": 0, - "int16": 0, - "int8": 0, - "uint32": 0, - "uint16": 0, - "uint8": 0, - "uint8c": 0, - "complex128": 0, - "complex64": 0, - "bool": 0, - "generic": 1 - } + "float64": { + "float64": 1, + "float32": 1, + "int32": 0, + "int16": 0, + "int8": 0, + "uint32": 0, + "uint16": 0, + "uint8": 0, + "uint8c": 0, + "complex128": 1, + "complex64": 0, + "bool": 0, + "generic": 1 + }, + "float32": { + "float64": 1, + "float32": 1, + "int32": 0, + "int16": 0, + "int8": 0, + "uint32": 0, + "uint16": 0, + "uint8": 0, + "uint8c": 0, + "complex128": 1, + "complex64": 1, + "bool": 0, + "generic": 1 + }, + "int32": { + "float64": 1, + "float32": 0, + "int32": 1, + "int16": 1, + "int8": 1, + "uint32": 0, + "uint16": 0, + "uint8": 0, + "uint8c": 0, + "complex128": 1, + "complex64": 0, + "bool": 0, + "generic": 1 + }, + "int16": { + "float64": 1, + "float32": 1, + "int32": 1, + "int16": 1, + "int8": 1, + "uint32": 0, + "uint16": 0, + "uint8": 0, + "uint8c": 0, + "complex128": 1, + "complex64": 1, + "bool": 0, + "generic": 1 + }, + "int8": { + "float64": 1, + "float32": 1, + "int32": 1, + "int16": 1, + "int8": 1, + "uint32": 0, + "uint16": 0, + "uint8": 0, + "uint8c": 0, + "complex128": 1, + "complex64": 1, + "bool": 0, + "generic": 1 + }, + "uint32": { + "float64": 1, + "float32": 0, + "int32": 0, + "int16": 0, + "int8": 0, + "uint32": 1, + "uint16": 1, + "uint8": 1, + "uint8c": 1, + "complex128": 1, + "complex64": 0, + "bool": 0, + "generic": 1 + }, + "uint16": { + "float64": 1, + "float32": 1, + "int32": 1, + "int16": 0, + "int8": 0, + "uint32": 1, + "uint16": 1, + "uint8": 1, + "uint8c": 1, + "complex128": 1, + "complex64": 1, + "bool": 0, + "generic": 1 + }, + "uint8": { + "float64": 1, + "float32": 1, + "int32": 1, + "int16": 1, + "int8": 0, + "uint32": 1, + "uint16": 1, + "uint8": 1, + "uint8c": 1, + "complex128": 1, + "complex64": 1, + "bool": 0, + "generic": 1 + }, + "uint8c": { + "float64": 1, + "float32": 1, + "int32": 1, + "int16": 1, + "int8": 0, + "uint32": 1, + "uint16": 1, + "uint8": 1, + "uint8c": 1, + "complex128": 1, + "complex64": 1, + "bool": 0, + "generic": 1 + }, + "complex128": { + "float64": 0, + "float32": 0, + "int32": 0, + "int16": 0, + "int8": 0, + "uint32": 0, + "uint16": 0, + "uint8": 0, + "uint8c": 0, + "complex128": 1, + "complex64": 1, + "bool": 0, + "generic": 0 + }, + "complex64": { + "float64": 0, + "float32": 0, + "int32": 0, + "int16": 0, + "int8": 0, + "uint32": 0, + "uint16": 0, + "uint8": 0, + "uint8c": 0, + "complex128": 1, + "complex64": 1, + "bool": 0, + "generic": 0 + }, + "bool": { + "float64": 0, + "float32": 0, + "int32": 0, + "int16": 0, + "int8": 0, + "uint32": 0, + "uint16": 0, + "uint8": 0, + "uint8c": 0, + "complex128": 0, + "complex64": 0, + "bool": 1, + "generic": 1 + }, + "generic": { + "float64": 0, + "float32": 0, + "int32": 0, + "int16": 0, + "int8": 0, + "uint32": 0, + "uint16": 0, + "uint8": 0, + "uint8c": 0, + "complex128": 0, + "complex64": 0, + "bool": 0, + "generic": 1 + } }