MCPcopy Create free account
hub / github.com/GraphiteEditor/Graphite / math

Function math

node-graph/nodes/math/src/lib.rs:39–80  ·  view source on GitHub ↗
(
	_: impl Ctx,
	/// The value of "A" when calculating the expression.
	#[implementations(f64, f32)]
	operand_a: T,
	/// A math expression that may incorporate "A" and/or "B", such as `sqrt(A + B) - B

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

test_basic_expressionFunction · 0.85
test_complex_expressionFunction · 0.85
test_default_expressionFunction · 0.85
test_invalid_expressionFunction · 0.85

Calls 2

to_f64Method · 0.45
evalMethod · 0.45

Tested by 4

test_basic_expressionFunction · 0.68
test_complex_expressionFunction · 0.68
test_default_expressionFunction · 0.68
test_invalid_expressionFunction · 0.68