File: fminmax.cpp

package info (click to toggle)
adolc 2.7.2-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,496 kB
  • sloc: cpp: 40,481; ansic: 19,390; sh: 4,277; makefile: 551; python: 486
file content (12 lines) | stat: -rw-r--r-- 170 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#include <adolc/adolc.h>

int main(int, char **)
{
        double x = 3, y = 4;
        double a,b;

        a = fmax(x, y);
        b = fmin(x, y);

        return 0;
}