Function simics::api::base::attr_value::make_attr_floating

source ·
pub fn make_attr_floating(d: f64) -> AttrValue
Expand description

Create a new floating point AttrValue

§Arguments

  • d - The floating point value of the AttrValue

§Return Value

An owned AttrValue with floating point (stored as f64) value

§Notes

d.into() may be preferred, and supports all sizes of floating point types.

§Context

Cell Context