You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 7203 Reporter: braibant Assigned to:@gasche Status: closed (set by @xavierleroy on 2017-09-24T15:33:00Z) Resolution: fixed Priority: normal Severity: minor Target version: 4.03.1+dev Fixed in version: 4.04.0 +dev / +beta1 / +beta2 Category: runtime system and C interface Monitored by:@hhugo
Bug description
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?
The text was updated successfully, but these errors were encountered:
Original bug ID: 7203
Reporter: braibant
Assigned to: @gasche
Status: closed (set by @xavierleroy on 2017-09-24T15:33:00Z)
Resolution: fixed
Priority: normal
Severity: minor
Target version: 4.03.1+dev
Fixed in version: 4.04.0 +dev / +beta1 / +beta2
Category: runtime system and C interface
Monitored by: @hhugo
Bug description
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?
The text was updated successfully, but these errors were encountered: