Skip to content

Commit ef9f713

Browse files
committed
Bug Fixes.
1 parent 9ec50da commit ef9f713

File tree

4 files changed

+288
-432
lines changed

4 files changed

+288
-432
lines changed

src/core/common/ojph_arch.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -271,18 +271,6 @@ namespace ojph {
271271
#endif
272272
}
273273

274-
////////////////////////////////////////////////////////////////////////////
275-
static inline si64 ojph_round64(float val)
276-
{
277-
#ifdef OJPH_COMPILER_MSVC
278-
return (si64)(val + (val >= 0.0f ? 0.5f : -0.5f));
279-
#elif (defined OJPH_COMPILER_GNUC)
280-
return (si64)(val + (val >= 0.0f ? 0.5f : -0.5f));
281-
#else
282-
return (si64)round(val);
283-
#endif
284-
}
285-
286274
////////////////////////////////////////////////////////////////////////////
287275
static inline si32 ojph_trunc(float val)
288276
{

0 commit comments

Comments
 (0)