MCPcopy Index your code
hub / github.com/endbasic/endbasic / set_double

Method set_double

core/src/callable.rs:883–886  ·  view source on GitHub ↗

Sets a double via this register reference.

(&mut self, d: f64)

Source from the content-addressed store, hash-verified

881
882 /// Sets a double via this register reference.
883 pub fn set_double(&mut self, d: f64) {
884 assert_eq!(ExprType::Double, self.vtype);
885 self.scope.regs[self.index] = d.to_bits();
886 }
887
888 /// Sets an integer via this register reference.
889 pub fn set_integer(&mut self, i: i32) {

Callers 3

execMethod · 0.80
assign_datumMethod · 0.80
async_execMethod · 0.80

Calls

no outgoing calls

Tested by 1

execMethod · 0.64