Guide: generics

Since we don't really calculate the square root, maybe we should rename the function.