INNER CODE UNIT · Go

Modulo

expr-lang/expr · vm/runtime/helpers/main.go:326

func Modulo(a, b interface{}) int {
	switch x := a.(type) {
	{{ cases_int_only "%" }}
	}
	panic(fmt.Sprintf("invalid operation: %T %% %T", a, b))
}
`

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…