Finch/examples
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Claude 0ceaaa27c4
Floats as written, never fused; fma and muladd; f32/f64 bits, f16 and bf16
- a * b + c is two roundings on every processor and --cpu: the IR has no fast-math flags, and clang
  compiles it with -ffp-contract=on (checked in the assembly: never fused, also with FMA hardware)
- fma(a, b, c) / v.fma(b, c): one rounding, always (llvm.fma)
- muladd(a, b, c) / v.muladd(b, c): the fastest way here (llvm.fmuladd), what v.fma was before
- f32_bits / f32_from_bits / f64_bits / f64_from_bits: bitcasts, also of vectors
- f16_to_f32 / f32_to_f16 (LLVM half), bf16_to_f32 / f32_to_bf16 (integer ops, ties to even, NaN kept)
- docs (en, pl): what is guaranteed about floats, the new built-ins

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Psc42moPLwP43Cmb9oZqSR
2026-11-01 15:25:40 +00:00
..
c_import.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
guess.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
hello.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
llvm.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
opengl.fch OpenGL and Vulkan examples; ptr(int)/int(ptr); trailing commas in calls; drop .fn hint 2026-10-08 19:37:34 +02:00
opengl.h OpenGL and Vulkan examples; ptr(int)/int(ptr); trailing commas in calls; drop .fn hint 2026-10-08 19:37:34 +02:00
raylib.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
simd.fch Floats as written, never fused; fma and muladd; f32/f64 bits, f16 and bf16 2026-11-01 15:25:40 +00:00
structs.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
todo.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
tour.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
types.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
vulkan.fch OpenGL and Vulkan examples; ptr(int)/int(ptr); trailing commas in calls; drop .fn hint 2026-10-08 19:37:34 +02:00
window.fch Rename the Finch file extension from .fn to .fch 2026-10-08 19:27:42 +02:00
wordcount.fch Finch 2.4.0: methods, maps, errors as values; str() of any value; macOS and ARM64 docs; Kate support 2026-10-09 01:11:12 +02:00