]> Creatis software - gdcm.git/blobdiff - src/gdcmopenjpeg/libopenjpeg/fix.c
gdcm::Orientation uses RefCounter
[gdcm.git] / src / gdcmopenjpeg / libopenjpeg / fix.c
index 12ef6a7e66cccc0fb1c68fa0bf9186ed429bfe69..81cc5f1fede3b2a6c7fbeb0e44d6fbea3ad46d08 100644 (file)
@@ -25,7 +25,7 @@
  */
 
 #include "fix.h"
-#include <math.h>   //Add Antonin : multbug1
+#include <math.h>   /*Add Antonin : multbug1*/
 
 #ifdef WIN32
 #define int64 __int64
  * Multiply two fixed-precision rational numbers.
  */
 
-//int fix_mul(int a, int b)
-//{
-//  return (int) ((int64) a * (int64) b >> 13);
-//}
+/*int fix_mul(int a, int b)
+{
+  return (int) ((int64) a * (int64) b >> 13);
+}*/
 
 
-//Mod Antonin : multbug1
+/*Mod Antonin : multbug1*/
 /*
 int fix_mul(int a, int b)
 {
@@ -53,9 +53,9 @@ int fix_mul(int a, int b)
   return (int) v;
 }
 */
-//doM
+/*doM*/
 
-int fix_mul(int a, int b)   // Luke Lee optimized : 11/16/2004
+int fix_mul(int a, int b)   /* Luke Lee optimized : 11/16/2004*/
 {
     int64 temp = (int64) a * (int64) b >> 12;
     return (int) ((temp >> 1) + (temp & 1)) ;