repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[mlir][acc] Introduce MappableType interface (#122146)
[llvm-project.git]
/
lldb
/
test
/
API
/
lang
/
c
/
fpeval
/
main.c
blob
3b44b7005206e1da7597c1fff90c5ac7b233bc5e
1
double
eval
(
double
a
,
double
b
,
int
op
) {
2
switch
(
op
) {
3
case
0
:
return
a
+
b
;
4
case
1
:
return
a
-
b
;
5
case
2
:
return
a
/
b
;
6
case
3
:
return
a
*
b
;
7
default
:
return
0
;
8
}
9
}
10
11
int
main
(
int
argc
,
char const
*
argv
[])
12
{
13
double
a
=
42.0
,
b
=
2.0
;
14
float
f
=
42.0
,
q
=
2.0
;
15
return
0
;
//// Set break point at this line.
16
}