Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename float32/float64 to f32/f64. #324

Merged

Conversation

sunfishcode
Copy link
Member

The float32 and float64 types are being
renamed to f32 and f64. All the main tools have been updated to accept both old and new names for now, so there's no urgency to change anything, but users who wish to can now start switching to the new f32/f64 names.

The `float32` and `float64` types are being
[renamed to `f32` and `f64`]. All the main tools have been updated to
accept both old and new names for now, so there's no urgency to change
anything, but users who wish to can now start switching to the new
`f32`/`f64` names.

[renamed to `f32` and `f64`]: WebAssembly#277
Copy link
Member

@lukewagner lukewagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this! Could you also s/Float32/F32/ and s/Float64/F64/ in CanonicalABI.md and canonical-abi/definitions.py?

In terms of merging into this repo: if the tools are already updated to accept f32/f64, then it seems like we can merge (after a day or two for final comments); is that right?

@sunfishcode
Copy link
Member Author

Float32/Float64 fixed. Yes, I believe everything is ready for this to be merged, pending the day or two for final comments.

@lukewagner
Copy link
Member

(Oops, I forgot to merge this earlier.)

@lukewagner lukewagner merged commit 4a3cd3b into WebAssembly:main Apr 1, 2024
1 check passed
@sunfishcode sunfishcode deleted the sunfishcode/float-type-names branch April 1, 2024 19:09
ydnar added a commit to bytecodealliance/go-modules that referenced this pull request Apr 4, 2024
ianprime0509 added a commit to ianprime0509/zig-wit that referenced this pull request Apr 7, 2024
sunfishcode added a commit to sunfishcode/wasm-tools that referenced this pull request Dec 3, 2024
The component-model type "float32" was [renamed to "f32"], so rename
Wave's type to match.

[renamed to "f32"]: WebAssembly/component-model#324
github-merge-queue bot pushed a commit to bytecodealliance/wasm-tools that referenced this pull request Dec 3, 2024
The component-model type "float32" was [renamed to "f32"], so rename
Wave's type to match.

[renamed to "f32"]: WebAssembly/component-model#324
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants