Lines Matching refs:rad
2250 for &(deg, rad) in &DEG_RAD_PAIRS { in convert_deg_rad()
2251 assert!((FloatCore::to_degrees(rad) - deg).abs() < 1e-6); in convert_deg_rad()
2252 assert!((FloatCore::to_radians(deg) - rad).abs() < 1e-6); in convert_deg_rad()
2254 let (deg, rad) = (deg as f32, rad as f32); in convert_deg_rad()
2255 assert!((FloatCore::to_degrees(rad) - deg).abs() < 1e-5); in convert_deg_rad()
2256 assert!((FloatCore::to_radians(deg) - rad).abs() < 1e-5); in convert_deg_rad()
2263 for &(deg, rad) in &DEG_RAD_PAIRS { in convert_deg_rad_std()
2266 assert!((Float::to_degrees(rad) - deg).abs() < 1e-6); in convert_deg_rad_std()
2267 assert!((Float::to_radians(deg) - rad).abs() < 1e-6); in convert_deg_rad_std()
2269 let (deg, rad) = (deg as f32, rad as f32); in convert_deg_rad_std()
2270 assert!((Float::to_degrees(rad) - deg).abs() < 1e-5); in convert_deg_rad_std()
2271 assert!((Float::to_radians(deg) - rad).abs() < 1e-5); in convert_deg_rad_std()