Lemonergy · Studio block

Float32 bit pattern

Exposes the binary32 representation of a numeric value as an unsigned word.

Implementation ID
native-float32-bits
Reviewed
2026-10-27

Behavior

y = binary32 bit pattern of rounded input, represented as exact u32. The worked example connects this operation to signals in Lemonergy Studio.

Interface

Float32 bit pattern interfaceInputs or arguments on the left, observed outputs on the right. Conserving terminals appear below the component. The tables give units and behavior.Float32 bit patternStudio blockin0out0
Original Lemonergy interface view. Lines identify ports; they are not a completed simulation circuit.
Ports and observed outputs
NameDirectionUnitMeaning
in0input1Value; real scalar.
out0output1Bit pattern; u32 scalar.

Parameters

No configurable parameters for this component.

Equations and rules

  • y = binary32 bit pattern of rounded input, represented as exact u32

Worked example

Float32 bit pattern — worked example

Value = 1. Bit pattern at 0 s = 1065353216.

Open Studio example after release →
Numerical checks for the bundled synthetic example
OutputTime (s)Expected valueUnitAbsolute tolerance
Bit pattern
out0
0106535321611e-08

Explore the recorded outputs

Float32 bit pattern recorded example

Float32 bit pattern
Float32 bit pattern against timeRecorded synthetic simulation values. Time in seconds; output in —.1.012086e+0901.038719e+090.251.065353e+090.51.091987e+090.751.118621e+091—Time (s)
Float32 bit pattern: 1.065353e+09 — at 0 s

2 actual recorded samples. Lines are visual guides between samples. Synthetic example, not measured cell data.

Download the recorded samples (JSON) · Open this Studio example after release

Use in a workflow

Float32 bit pattern — worked example

Exposes the binary32 representation of a numeric value as an unsigned word.

  1. Float32 bit pattern: y = binary32 bit pattern of rounded input, represented as exact u32. The worked example connects this operation to signals in Lemonergy Studio.
    • Use the block reference for settings and connections.
    • Implementation tested locally; public release pending.
Open Studio example after release

Connected concepts

Limits and interpretation

  • Finite f64 values are rounded to binary32 then exposed as an exact u32 bit pattern. Binary64 decomposition and configurable sign/exponent/mantissa fields are not implemented.
  • Shapes and element types are explicit. Values must be finite; automatic reshaping and unit conversion are not performed.

Reference basis

This software operation and its numerical conventions are defined by the public contract and worked example; no external research result is claimed.

Implementation sources

This reference follows the public interface and locally verified numerical checks for an upcoming release.

Contract: Lemonergy Studio public contract · Verification record: verification-2026-10-27

  • docs/glossary/native-block-verification.json

This implementation and its workflow uses (JSON) · Knowledge graph (JSON-LD)