isl_tab_basic_map_partial_lexopt: copy integer divisions to context
[isl.git] / isl_multi_floor.c
blobf13ea9a7744e3bb4231bfb0768d978a41b602bd9
1 /*
2 * Copyright 2014 Ecole Normale Superieure
4 * Use of this software is governed by the MIT license
6 * Written by Sven Verdoolaege,
7 * Ecole Normale Superieure, 45 rue d'Ulm, 75230 Paris, France
8 */
10 #include <isl_multi_macro.h>
12 /* Given f, return floor(f).
14 __isl_give MULTI(BASE) *FN(MULTI(BASE),floor)(__isl_take MULTI(BASE) *multi)
16 S(MULTI(BASE),un_op_control) control = { .fn_el = &FN(EL,floor) };
17 return FN(MULTI(BASE),un_op)(multi, &control);