This file is indexed.

/usr/include/oclgrind/half.h is in liboclgrind-dev 16.10-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// half.h (Oclgrind)
// Copyright (c) 2013-2016, James Price and Simon McIntosh-Smith,
// University of Bristol. All rights reserved.
//
// This program is provided under a three-clause BSD license. For full
// license terms please see the LICENSE file distributed with this
// source code.

#include "common.h"

namespace oclgrind
{
  enum HalfRoundMode
  {
    // Towards negative infinity
    Half_RTN,
    // Towards zero
    Half_RTZ,
    // Towards positive infinity
    Half_RTP,
    // Towards nearest even
    Half_RTE
  };

  float halfToFloat(uint16_t half);

  uint16_t floatToHalf(float sp, HalfRoundMode round = Half_RTZ);
  uint16_t doubleToHalf(double dp, HalfRoundMode round = Half_RTZ);
}