                 }
                 if x < a {
                     let _x = Double.pi * x
-                    return a * Double.sin(_x) * Double.sin(_x / a) / (_x * _x)
+                    return a * sin(_x) * sin(_x / a) / (_x * _x)
                 }
                 return 0
             }

//  THE SOFTWARE.
//

private protocol ImageBaseProtocol {
    
    var colorModel: ColorModelProtocol.Type { get }


extension Image.ResamplingAlgorithm {
    
    func calculate<ColorPixel: ColorPixelProtocol>(source: UnsafePointer<ColorPixel>, width: Int, height: Int, point: Point) -> ColorPixel where ColorPixel.Model : ColorBlendProtocol {
        switch self {
        case .none:
            
