File: linkTestLib1.cpp

package info (click to toggle)
vc 1.4.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,552 kB
  • sloc: cpp: 19,220; ansic: 15,669; sh: 453; xml: 186; makefile: 30
file content (18 lines) | stat: -rw-r--r-- 310 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <Vc/Vc>
#include <Vc/IO>
#include <Vc/support.h>

#define CAT(a, b) a##b
#define name(a, b) CAT(a, b)

using namespace Vc;
float_v
#ifdef Vc_MSVC
__declspec(dllexport)
#endif
name(fooLib1, POSTFIX)(float_v::AsArg a)
{
    const float_v b = sin(a + float_v::One());
    std::cerr << b;
    return b;
}