---
spec: JVMS
title: "The Java Virtual Machine Specification"
edition: "Java SE 23 Edition"
java_version: 23
chapter: "Chapter 6. The Java Virtual Machine Instruction Set"
section: "6.5.fconst_f"
heading: "fconst_<f>"
parent: "6.5. Instructions"
source: https://docs.oracle.com/javase/specs/jvms/se23/html/jvms-6.html#jvms-6.5.fconst_f
id: "6.5.fconst_f"
url: https://jvm.obfuscated.software/jvms/se23/6.5.fconst_f.html
raw: https://jvm.obfuscated.software/jvms/se23/6.5.fconst_f.md
---

# fconst\_\<f>

## Operation

Push `float`

## Format

```
fconst_<f>
```

## Forms

*fconst_0* = 11 (0xb)

*fconst_1* = 12 (0xc)

*fconst_2* = 13 (0xd)

## Operand Stack

... →

..., <*f*>

## Description

Push the `float` constant <*f*> (0.0, 1.0, or 2.0) onto the operand stack.
