/* * Copyright (C) 2019 Intel Corporation. All rights reserved. * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */ #include #include #include #include int intToStr(int x, char* str, int str_len, int digit); int get_pow(int x, int y); int32_t calculate_native(int32_t n, int32_t func1, int32_t func2); // // Primitive parameters functions // float generate_float(int iteration, double seed1, float seed2) { float ret; printf ("calling into WASM function: %s\n", __FUNCTION__); for (int i=0; i