<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ShaderGraph",
  "identifier" : "/documentation/ShaderGraph/realitykit/Sign-Bit-(RealityKit)",
  "metadataVersion" : "0.1.0",
  "role" : "ShaderGraph Node",
  "symbol" : {
    "kind" : "ShaderGraph Node",
    "modules" : [
      "ShaderGraph"
    ],
    "preciseIdentifier" : "Shader_ND_MTL_signbit_half"
  },
  "title" : "Sign Bit (RealityKit)"
}
-->

# Sign Bit (RealityKit)

Tests for sign bit.

## Overview

Returns true if the sign bit is set for the value in X, otherwise returns false

## Parameter Types

**Sign Bit (half):**

|Input|Type|
                |-----|----|
                |`X`  |Half|

|Output|Type|
                |------|----|
                |`Out` |Bool|

**Sign Bit (float):**

|Input|Type |
                |-----|-----|
                |`X`  |Float|

|Output|Type|
                |------|----|
                |`Out` |Bool|

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)