Implement dtype for int, float kinds