According to the Go language specification.
A function declaration may omit the body. Such a declaration provides the signature for a function implemented outside Go, such as an assembly routine.
In this case, the Ceil
function is implemented by an architecture specific assembly file for 386 in floor_386.s
. Both the amd64 and arm architectures each have an assembly file that implements Ceil()
as well, but those assembly files are just glue to call the unexported ceil()
function.