All files / types IFloatBitWrite.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23                                             
import type IBitWidth from "./IBitWidth";
 
/**
 * A float bit write (ADR-007): the float written, its type, and the bits
 * written into it. #1760: one argument, where it was six.
 */
interface IFloatBitWrite {
  /** The float written, as C: a variable's name, or an lvalue */
  readonly target: string;
  /** Its C-Next type, `f32` or `f64`, as the typer gives it */
  readonly floatType: string;
  /** Bit index expression (the start position of a range) */
  readonly bitIndex: string;
  /** Bit width with its fold (#1096), or null for a single bit */
  readonly width: IBitWidth | null;
  /** The value written */
  readonly value: string;
  /** Whether `target` names a variable, which has a shadow union */
  readonly isVariable: boolean;
}
 
export default IFloatBitWrite;