---
title: math.NEG_HUGE_VAL
summary: null
url: >-
  https://www.fastly.com/documentation/reference/vcl/variables/math-constants-limits/math-neg-huge-val
---

**Type:** FLOAT  
**Access:** read-only, constant

**Available in:** all subroutines

A negative double constant expression, not necessarily representable as a `FLOAT`.
Used as an error value returned by the VCL math library.

Because `FLOAT` follows the [IEEE 754](https://standards.ieee.org/ieee/754/6210/) standard 
for floating-point arithmetic, `math.NEG_HUGE_VAL` is equivalent to `math.NEG_INFINITY`.

## Floating Point Classifications

| Name                | Value   |
| :------------------ | :------ |
| `math.is_finite`    | `false` |
| `math.is_infinite`  | `true`  |
| `math.is_nan`       | `false` |
| `math.is_normal`    | `false` |
| `math.is_subnormal` | `false` |

See the documentation on the `FLOAT` type for details on these classifications.
