From 2610d9e8b2f8a5356cb5bb85c400eb6945b478a6 Mon Sep 17 00:00:00 2001 From: Dimitri Lozeve Date: Wed, 4 Oct 2023 17:15:13 +0200 Subject: [PATCH] Allow to read and write more dtypes --- npy.bqn | 29 +++++++++++++++++------------ tests.bqn | 12 ++++++++++++ 2 files changed, 29 insertions(+), 12 deletions(-) diff --git a/npy.bqn b/npy.bqn index 7febe2a..477e6f7 100644 --- a/npy.bqn +++ b/npy.bqn @@ -1,40 +1,45 @@ ⟨SaveNpy,LoadNpy⟩⇐ lf←@+10 -magicString←(@+147)∾"NUMPY" # "\x93NUMPY" +magicString←(@+147)∾"NUMPY" +# Type conversions +dtypes‿formats←⟨"