Bytes per wp (4 or 8) — so a Python caller resolves float32 vs
float64 at load time instead of guessing. No handle needed: this
is a build-time constant.
function rdb_working_precision() result(bytes) & bind(c, name="rdb_working_precision") !! Bytes per `wp` (4 or 8) — so a Python caller resolves float32 vs !! float64 at load time instead of guessing. No handle needed: this !! is a build-time constant. integer(c_int) :: bytes bytes = int(storage_size(1.0_wp)/8, c_int) end function rdb_working_precision