#[unsafe(no_mangle)]pub unsafe extern "C" fn hurray_descriptor_field_f64(
handle: *const HurrayDescriptor,
field: HurrayDescriptorField,
level: u32,
out_value: *mut f64,
) -> HurrayStatusExpand description
Reads a real scalar field of the descriptor.
Covers per-tensor affine scale — a float32 on the wire, widened — and the
six float64 statistics. A statistic whose computed_mask guard bit is
clear returns HURRAY_ERR_FIELD_NOT_PRESENT rather than the stored
placeholder, so a caller cannot read an uncomputed value by forgetting to
test the mask.
§Errors
As hurray_descriptor_field_u64, with
HURRAY_ERR_FIELD_NOT_APPLICABLE for any field that is not a real scalar.
§Safety
handle and out_value MUST be valid, non-null pointers, and handle MUST
NOT have been destroyed.