Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 394 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 394 Bytes

Karatsuba (Karatsuba multiplication algorithm)

GoDoc

import (
  "fmt"

  "github.com/chasestarr/karatsuba"
)

func main() {
  product := karatsuba.Multiply("1234" "5678")
  fmt.Println(product) // "7006652"
}