Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Allocating double arrays from C in 32 bits #7203
Original bug ID: 7203
Reading section 19.4.4 Allocating blocks of the manual, there is apparently no function to allocate an array of floating point numbers of size n.
To implement that, users must check the word-size, and perform the right caml_small(n, Double_array_tag) invocation, where n depends on the word-size and the number of values in the array.
Would it be possible to add a convenience function in byterun/alloc.c?