A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://clang.llvm.org/doxygen/____clang__hip__stdlib_8h_source.html below:

clang: lib/Headers/__clang_hip_stdlib.h Source File

Go to the documentation of this file. 9#ifndef __CLANG_HIP_STDLIB_H__ 11#if !defined(__HIP__) && !defined(__OPENMP_AMDGCN__) 12#error "This file is for HIP and OpenMP AMDGCN device compilation only." 15#if !defined(__cplusplus) 19#ifdef __OPENMP_AMDGCN__ 20#define __DEVICE__ static inline __attribute__((always_inline, nothrow)) 22#define __DEVICE__ static __device__ inline __attribute__((always_inline)) 27 int

__sgn = __x >> (

sizeof

(

int

) *

CHAR_BIT

- 1);

28 return

(__x ^ __sgn) - __sgn;

32 long

__sgn = __x >> (

sizeof

(long) *

CHAR_BIT

- 1);

33 return

(__x ^ __sgn) - __sgn;

36long long llabs

(

long long

__x) {

37 long long

__sgn = __x >> (

sizeof

(

long

long) *

CHAR_BIT

- 1);

38 return

(__x ^ __sgn) - __sgn;

__DEVICE__ long labs(long __x)

__DEVICE__ int abs(int __x)

__DEVICE__ long long llabs(long long __x)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4