Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write 64-bit integers to binary files #180

Open
Dave-Allured opened this issue Mar 19, 2022 · 0 comments
Open

Write 64-bit integers to binary files #180

Dave-Allured opened this issue Mar 19, 2022 · 0 comments

Comments

@Dave-Allured
Copy link
Contributor

Please add support for 64-bit integers and other extended numeric (xnumeric) data types to the binary write procedures, cbinwrite and fbindirwrite. Currently:

ncl 33> print (typeof (x_int64))
(0)     int64

ncl 34> print (typeof (x_uint64))
(0)     uint64

ncl 35> cbinwrite ("test.int64", x_int64) 
fatal:Argument type mismatch on argument (1) of (cbinwrite) can not coerce
fatal:["Execute.c":8635]:Execute: Error occurred at or near line 35

ncl 36> cbinwrite ("test.uint64", x_uint64)
fatal:Argument type mismatch on argument (1) of (cbinwrite) can not coerce
fatal:["Execute.c":8635]:Execute: Error occurred at or near line 36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant