MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / call_max

Method call_max

compiler/src/modules/vm/builtins/numeric.rs:253–253  ·  view source on GitHub ↗
(&mut self, op: u16, chunk: &crate::modules::parser::SSAChunk, slots: &mut [Val])

Source from the content-addressed store, hash-verified

251
252 pub fn call_min(&mut self, op: u16, chunk: &crate::modules::parser::SSAChunk, slots: &mut [Val]) -> Result<(), VmErr> { self.call_minmax(op, true, chunk, slots) }
253 pub fn call_max(&mut self, op: u16, chunk: &crate::modules::parser::SSAChunk, slots: &mut [Val]) -> Result<(), VmErr> { self.call_minmax(op, false, chunk, slots) }
254
255 fn call_minmax(&mut self, op: u16, is_min: bool, chunk: &crate::modules::parser::SSAChunk, slots: &mut [Val]) -> Result<(), VmErr> {
256 let (positional, kw_flat, _np, _nk) = self.parse_call_args(op)?;

Callers 2

handle_functionMethod · 0.80
dispatch_nativeMethod · 0.80

Calls 1

call_minmaxMethod · 0.80

Tested by

no test coverage detected