MCPcopy Create free account
hub / github.com/AdvancedCompiler/AdvancedCompiler / function

Function function

code/Chapter8/8-1.c:4–11  ·  view source on GitHub ↗

一个随机的float值

Source from the content-addressed store, hash-verified

2#include<malloc.h>
3float x=5.5642;//一个随机的float值
4void function(float *a,int N){
5 int i;
6 float phi=2.541, delta, alpha;
7 delta = x * x;
8 alpha = x / 2;
9 for (i = 0; i < N; i++)
10 a[i] = x * phi;
11}
12int main()
13{
14 float* a;

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected