Function |sub

std/ops/num::|sub


Usage

|sub<N>(a, b)

Generics

โ—ป N: Sub

Parameters

โ†ณ a: N
โ†ณ b: N

Return

โ†ด N


Sustract b from a

This function is infaillible but may overflow if a - b is out of bounds for the data type.