From de82d12658979cd70439f977742f80fac9f6521f Mon Sep 17 00:00:00 2001 From: Siddhesh Wani Date: Thu, 4 May 2017 16:15:18 +0530 Subject: Basic functions and image processing working with MSVC on windows x64 --- 2.3-1/src/c/elementaryFunctions/sin/i16sins.c | 2 +- 2.3-1/src/c/elementaryFunctions/sin/i8sins.c | 2 +- 2.3-1/src/c/elementaryFunctions/sin/u16sins.c | 2 +- 2.3-1/src/c/elementaryFunctions/sin/u8sins.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to '2.3-1/src/c/elementaryFunctions/sin') diff --git a/2.3-1/src/c/elementaryFunctions/sin/i16sins.c b/2.3-1/src/c/elementaryFunctions/sin/i16sins.c index 3a8dc4da..6fcbd26f 100644 --- a/2.3-1/src/c/elementaryFunctions/sin/i16sins.c +++ b/2.3-1/src/c/elementaryFunctions/sin/i16sins.c @@ -14,5 +14,5 @@ #include "sin.h" float i16sins(int16 x) { - return (sin(x)); + return (sin((double)x)); } diff --git a/2.3-1/src/c/elementaryFunctions/sin/i8sins.c b/2.3-1/src/c/elementaryFunctions/sin/i8sins.c index 4e6deabd..23823566 100644 --- a/2.3-1/src/c/elementaryFunctions/sin/i8sins.c +++ b/2.3-1/src/c/elementaryFunctions/sin/i8sins.c @@ -14,5 +14,5 @@ #include "sin.h" float i8sins(int8 x) { - return (sin(x)); + return (sin((double)x)); } diff --git a/2.3-1/src/c/elementaryFunctions/sin/u16sins.c b/2.3-1/src/c/elementaryFunctions/sin/u16sins.c index 9610248d..651b8e1a 100644 --- a/2.3-1/src/c/elementaryFunctions/sin/u16sins.c +++ b/2.3-1/src/c/elementaryFunctions/sin/u16sins.c @@ -14,5 +14,5 @@ #include "sin.h" float u16sins(uint16 x) { - return (sin(x)); + return (sin((double)x)); } diff --git a/2.3-1/src/c/elementaryFunctions/sin/u8sins.c b/2.3-1/src/c/elementaryFunctions/sin/u8sins.c index 50e8bfe9..f7c982f2 100644 --- a/2.3-1/src/c/elementaryFunctions/sin/u8sins.c +++ b/2.3-1/src/c/elementaryFunctions/sin/u8sins.c @@ -14,5 +14,5 @@ #include "sin.h" float u8sins(uint8 x) { - return (sin(x)); + return (sin((double)x)); } -- cgit