resolve sqrt (use std)