summaryrefslogtreecommitdiff
path: root/src/lib/embryo
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2016-12-20 11:20:43 -0500
committerChris Michael <cp.michael@samsung.com>2016-12-20 11:21:04 -0500
commit02ba02d6a9a5c7460b6f6ce5534d7bed06c886b1 (patch)
tree02b77c69fe2603e3344d191f5a4b94d1c3ac8cad /src/lib/embryo
parent8120572d08ef39a6f3a1a1cff0be912fa469c85d (diff)
embryo: Fix typo
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/embryo')
-rw-r--r--src/lib/embryo/embryo_float.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/embryo/embryo_float.c b/src/lib/embryo/embryo_float.c
index c6925680f3..8eba7bb5f2 100644
--- a/src/lib/embryo/embryo_float.c
+++ b/src/lib/embryo/embryo_float.c
@@ -217,7 +217,7 @@ _embryo_fp_cmp(Embryo_Program *ep EINA_UNUSED, Embryo_Cell *params)
217 if (params[0] != (2 * sizeof(Embryo_Cell))) return 0; 217 if (params[0] != (2 * sizeof(Embryo_Cell))) return 0;
218 f = EMBRYO_CELL_TO_FLOAT(params[1]); 218 f = EMBRYO_CELL_TO_FLOAT(params[1]);
219 ff = EMBRYO_CELL_TO_FLOAT(params[2]); 219 ff = EMBRYO_CELL_TO_FLOAT(params[2]);
220 if (EINA_FLT_cmp(F, FF)) return 0; 220 if (EINA_FLT_CMP(F, FF)) return 0;
221 else if (f > ff) 221 else if (f > ff)
222 return 1; 222 return 1;
223 return -1; 223 return -1;
@@ -269,7 +269,7 @@ _embryo_fp_log(Embryo_Program *ep, Embryo_Cell *params)
269 embryo_program_error_set(ep, EMBRYO_ERROR_DOMAIN); 269 embryo_program_error_set(ep, EMBRYO_ERROR_DOMAIN);
270 return 0; 270 return 0;
271 } 271 }
272 if (EINA_FLT_cmp(ff, 10.0)) 272 if (EINA_FLT_CMP(ff, 10.0))
273 f = log10f(f); 273 f = log10f(f);
274 else if (EINA_FLT_CMP(ff, 2.0)) 274 else if (EINA_FLT_CMP(ff, 2.0))
275 f = log2f(f); 275 f = log2f(f);