Skip to content

Remove double-conversion dependency and also DoubleConversions.cpp and replace it with DebugStringConvertible (#56110)#56110

Closed
christophpurrer wants to merge 1 commit intofacebook:mainfrom
christophpurrer:export-D96082175
Closed

Remove double-conversion dependency and also DoubleConversions.cpp and replace it with DebugStringConvertible (#56110)#56110
christophpurrer wants to merge 1 commit intofacebook:mainfrom
christophpurrer:export-D96082175

Conversation

@christophpurrer
Copy link
Copy Markdown
Contributor

@christophpurrer christophpurrer commented Mar 16, 2026

Summary:

Summary

Removes the double-conversion dependency from DoubleConversions.cpp in the React Native repository.

  • Removed Dependencies: double-conversion/double-conversion.h

Updated Code

  • Modified DoubleConversions.cpp to use standard C++ library headers (cmath and cstdio) instead of double-conversion.

This change aims to reduce dependencies and simplify the codebase. The removed dependency was previously used for string conversion, which has been replaced with standard C++ library functions.

Changelog: [Internal]

Reviewed By: NickGerleman

Differential Revision: D96082175

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 16, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Mar 16, 2026

@christophpurrer has exported this pull request. If you are a Meta employee, you can view the originating Diff in D96082175.

@meta-codesync meta-codesync Bot changed the title Remove double-conversion dependency from DoubleConversions.cpp Remove double-conversion dependency from DoubleConversions.cpp (#56110) Mar 16, 2026
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Mar 16, 2026
…ook#56110)

Summary:

**Summary**

Removes the `double-conversion` dependency from `DoubleConversions.cpp` in the React Native repository.

- Removed Dependencies: `double-conversion/double-conversion.h`

 Updated Code

* Modified `DoubleConversions.cpp` to use standard C++ library headers (`cmath` and `cstdio`) instead of `double-conversion`.

This change aims to reduce dependencies and simplify the codebase. The removed dependency was previously used for string conversion, which has been replaced with standard C++ library functions.

Changelog: [Internal]

Differential Revision: D96082175
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Mar 16, 2026
…ook#56110)

Summary:
Pull Request resolved: facebook#56110

**Summary**

Removes the `double-conversion` dependency from `DoubleConversions.cpp` in the React Native repository.

- Removed Dependencies: `double-conversion/double-conversion.h`

 Updated Code

* Modified `DoubleConversions.cpp` to use standard C++ library headers (`cmath` and `cstdio`) instead of `double-conversion`.

This change aims to reduce dependencies and simplify the codebase. The removed dependency was previously used for string conversion, which has been replaced with standard C++ library functions.

Changelog: [Internal]

Differential Revision: D96082175
@christophpurrer christophpurrer force-pushed the export-D96082175 branch 2 times, most recently from f764c1e to 88432c0 Compare March 16, 2026 20:59
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Mar 16, 2026
…ook#56110)

Summary:

**Summary**

Removes the `double-conversion` dependency from `DoubleConversions.cpp` in the React Native repository.

- Removed Dependencies: `double-conversion/double-conversion.h`

 Updated Code

* Modified `DoubleConversions.cpp` to use standard C++ library headers (`cmath` and `cstdio`) instead of `double-conversion`.

This change aims to reduce dependencies and simplify the codebase. The removed dependency was previously used for string conversion, which has been replaced with standard C++ library functions.

Changelog: [Internal]

Differential Revision: D96082175
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Mar 16, 2026
…ook#56110)

Summary:
Pull Request resolved: facebook#56110

**Summary**

Removes the `double-conversion` dependency from `DoubleConversions.cpp` in the React Native repository.

- Removed Dependencies: `double-conversion/double-conversion.h`

 Updated Code

* Modified `DoubleConversions.cpp` to use standard C++ library headers (`cmath` and `cstdio`) instead of `double-conversion`.

This change aims to reduce dependencies and simplify the codebase. The removed dependency was previously used for string conversion, which has been replaced with standard C++ library functions.

Changelog: [Internal]

Differential Revision: D96082175
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Mar 17, 2026
…ook#56110)

Summary:

**Summary**

Removes the `double-conversion` dependency from `DoubleConversions.cpp` in the React Native repository.

- Removed Dependencies: `double-conversion/double-conversion.h`

 Updated Code

* Modified `DoubleConversions.cpp` to use standard C++ library headers (`cmath` and `cstdio`) instead of `double-conversion`.

This change aims to reduce dependencies and simplify the codebase. The removed dependency was previously used for string conversion, which has been replaced with standard C++ library functions.

Changelog: [Internal]

Differential Revision: D96082175
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Mar 17, 2026
…ook#56110)

Summary:
Pull Request resolved: facebook#56110

**Summary**

Removes the `double-conversion` dependency from `DoubleConversions.cpp` in the React Native repository.

- Removed Dependencies: `double-conversion/double-conversion.h`

 Updated Code

* Modified `DoubleConversions.cpp` to use standard C++ library headers (`cmath` and `cstdio`) instead of `double-conversion`.

This change aims to reduce dependencies and simplify the codebase. The removed dependency was previously used for string conversion, which has been replaced with standard C++ library functions.

Changelog: [Internal]

Differential Revision: D96082175
@meta-codesync meta-codesync Bot changed the title Remove double-conversion dependency from DoubleConversions.cpp (#56110) Remove double-conversion dependency from DoubleConversions.cpp - RFC (#56110) Apr 20, 2026
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Apr 20, 2026
…acebook#56110)

Summary:

**Summary**

Removes the `double-conversion` dependency from `DoubleConversions.cpp` in the React Native repository.

- Removed Dependencies: `double-conversion/double-conversion.h`

 Updated Code

* Modified `DoubleConversions.cpp` to use standard C++ library headers (`cmath` and `cstdio`) instead of `double-conversion`.

This change aims to reduce dependencies and simplify the codebase. The removed dependency was previously used for string conversion, which has been replaced with standard C++ library functions.

Changelog: [Internal]

Differential Revision: D96082175
@christophpurrer christophpurrer force-pushed the export-D96082175 branch 2 times, most recently from 71421b1 to c1fc473 Compare April 20, 2026 19:13
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Apr 20, 2026
…acebook#56110)

Summary:

**Summary**

Removes the `double-conversion` dependency from `DoubleConversions.cpp` in the React Native repository.

- Removed Dependencies: `double-conversion/double-conversion.h`

 Updated Code

* Modified `DoubleConversions.cpp` to use standard C++ library headers (`cmath` and `cstdio`) instead of `double-conversion`.

This change aims to reduce dependencies and simplify the codebase. The removed dependency was previously used for string conversion, which has been replaced with standard C++ library functions.

Changelog: [Internal]

Differential Revision: D96082175
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Apr 20, 2026
…acebook#56110)

Summary:
Pull Request resolved: facebook#56110

**Summary**

Removes the `double-conversion` dependency from `DoubleConversions.cpp` in the React Native repository.

- Removed Dependencies: `double-conversion/double-conversion.h`

 Updated Code

* Modified `DoubleConversions.cpp` to use standard C++ library headers (`cmath` and `cstdio`) instead of `double-conversion`.

This change aims to reduce dependencies and simplify the codebase. The removed dependency was previously used for string conversion, which has been replaced with standard C++ library functions.

Changelog: [Internal]

Differential Revision: D96082175
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Apr 20, 2026
…acebook#56110)

Summary:
Pull Request resolved: facebook#56110

**Summary**

Removes the `double-conversion` dependency from `DoubleConversions.cpp` in the React Native repository.

- Removed Dependencies: `double-conversion/double-conversion.h`

 Updated Code

* Modified `DoubleConversions.cpp` to use standard C++ library headers (`cmath` and `cstdio`) instead of `double-conversion`.

This change aims to reduce dependencies and simplify the codebase. The removed dependency was previously used for string conversion, which has been replaced with standard C++ library functions.

Changelog: [Internal]

Differential Revision: D96082175
@meta-codesync meta-codesync Bot changed the title Remove double-conversion dependency from DoubleConversions.cpp - RFC (#56110) Remove double-conversion dependency and also DoubleConversions.cpp and replace it with DebugStringConvertible (#56110) Apr 20, 2026
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Apr 20, 2026
…d replace it with DebugStringConvertible (facebook#56110)

Summary:

**Summary**

Removes the `double-conversion` dependency from `DoubleConversions.cpp` in the React Native repository.

- Removed Dependencies: `double-conversion/double-conversion.h`

 Updated Code

* Modified `DoubleConversions.cpp` to use standard C++ library headers (`cmath` and `cstdio`) instead of `double-conversion`.

This change aims to reduce dependencies and simplify the codebase. The removed dependency was previously used for string conversion, which has been replaced with standard C++ library functions.

Changelog: [Internal]

Reviewed By: NickGerleman

Differential Revision: D96082175
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Apr 20, 2026
…d replace it with DebugStringConvertible (facebook#56110)

Summary:

**Summary**

Removes the `double-conversion` dependency from `DoubleConversions.cpp` in the React Native repository.

- Removed Dependencies: `double-conversion/double-conversion.h`

 Updated Code

* Modified `DoubleConversions.cpp` to use standard C++ library headers (`cmath` and `cstdio`) instead of `double-conversion`.

This change aims to reduce dependencies and simplify the codebase. The removed dependency was previously used for string conversion, which has been replaced with standard C++ library functions.

Changelog: [Internal]

Reviewed By: NickGerleman

Differential Revision: D96082175
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Apr 20, 2026
…d replace it with DebugStringConvertible (facebook#56110)

Summary:

**Summary**

Removes the `double-conversion` dependency from `DoubleConversions.cpp` in the React Native repository.

- Removed Dependencies: `double-conversion/double-conversion.h`

 Updated Code

* Modified `DoubleConversions.cpp` to use standard C++ library headers (`cmath` and `cstdio`) instead of `double-conversion`.

This change aims to reduce dependencies and simplify the codebase. The removed dependency was previously used for string conversion, which has been replaced with standard C++ library functions.

Changelog: [Internal]

Reviewed By: NickGerleman

Differential Revision: D96082175
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Apr 21, 2026
…d replace it with DebugStringConvertible (facebook#56110)

Summary:

**Summary**

Removes the `double-conversion` dependency from `DoubleConversions.cpp` in the React Native repository.

- Removed Dependencies: `double-conversion/double-conversion.h`

 Updated Code

* Modified `DoubleConversions.cpp` to use standard C++ library headers (`cmath` and `cstdio`) instead of `double-conversion`.

This change aims to reduce dependencies and simplify the codebase. The removed dependency was previously used for string conversion, which has been replaced with standard C++ library functions.

Changelog: [Internal]

Reviewed By: NickGerleman

Differential Revision: D96082175
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Apr 21, 2026
…d replace it with DebugStringConvertible (facebook#56110)

Summary:
Pull Request resolved: facebook#56110

**Summary**

Removes the `double-conversion` dependency from `DoubleConversions.cpp` in the React Native repository.

- Removed Dependencies: `double-conversion/double-conversion.h`

 Updated Code

* Modified `DoubleConversions.cpp` to use standard C++ library headers (`cmath` and `cstdio`) instead of `double-conversion`.

This change aims to reduce dependencies and simplify the codebase. The removed dependency was previously used for string conversion, which has been replaced with standard C++ library functions.

Changelog: [Internal]

Reviewed By: NickGerleman

Differential Revision: D96082175
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Apr 21, 2026
…d replace it with DebugStringConvertible (facebook#56110)

Summary:

**Summary**

Removes the `double-conversion` dependency from `DoubleConversions.cpp` in the React Native repository.

- Removed Dependencies: `double-conversion/double-conversion.h`

 Updated Code

* Modified `DoubleConversions.cpp` to use standard C++ library headers (`cmath` and `cstdio`) instead of `double-conversion`.

This change aims to reduce dependencies and simplify the codebase. The removed dependency was previously used for string conversion, which has been replaced with standard C++ library functions.

Changelog: [Internal]

Reviewed By: NickGerleman

Differential Revision: D96082175
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Apr 21, 2026
…d replace it with DebugStringConvertible (facebook#56110)

Summary:
Pull Request resolved: facebook#56110

**Summary**

Removes the `double-conversion` dependency from `DoubleConversions.cpp` in the React Native repository.

- Removed Dependencies: `double-conversion/double-conversion.h`

 Updated Code

* Modified `DoubleConversions.cpp` to use standard C++ library headers (`cmath` and `cstdio`) instead of `double-conversion`.

This change aims to reduce dependencies and simplify the codebase. The removed dependency was previously used for string conversion, which has been replaced with standard C++ library functions.

Changelog: [Internal]

Reviewed By: NickGerleman

Differential Revision: D96082175
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Apr 21, 2026
…d replace it with DebugStringConvertible (facebook#56110)

Summary:

**Summary**

Removes the `double-conversion` dependency from `DoubleConversions.cpp` in the React Native repository.

- Removed Dependencies: `double-conversion/double-conversion.h`

 Updated Code

* Modified `DoubleConversions.cpp` to use standard C++ library headers (`cmath` and `cstdio`) instead of `double-conversion`.

This change aims to reduce dependencies and simplify the codebase. The removed dependency was previously used for string conversion, which has been replaced with standard C++ library functions.

Changelog: [Internal]

Reviewed By: NickGerleman

Differential Revision: D96082175
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Apr 21, 2026
…d replace it with DebugStringConvertible (facebook#56110)

Summary:
Pull Request resolved: facebook#56110

**Summary**

Removes the `double-conversion` dependency from `DoubleConversions.cpp` in the React Native repository.

- Removed Dependencies: `double-conversion/double-conversion.h`

 Updated Code

* Modified `DoubleConversions.cpp` to use standard C++ library headers (`cmath` and `cstdio`) instead of `double-conversion`.

This change aims to reduce dependencies and simplify the codebase. The removed dependency was previously used for string conversion, which has been replaced with standard C++ library functions.

Changelog: [Internal]

Reviewed By: NickGerleman

Differential Revision: D96082175
@christophpurrer christophpurrer force-pushed the export-D96082175 branch 2 times, most recently from afbdf3d to 9b34fcb Compare April 21, 2026 04:44
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Apr 21, 2026
…d replace it with DebugStringConvertible (facebook#56110)

Summary:

**Summary**

Removes the `double-conversion` dependency from `DoubleConversions.cpp` in the React Native repository.

- Removed Dependencies: `double-conversion/double-conversion.h`

 Updated Code

* Modified `DoubleConversions.cpp` to use standard C++ library headers (`cmath` and `cstdio`) instead of `double-conversion`.

This change aims to reduce dependencies and simplify the codebase. The removed dependency was previously used for string conversion, which has been replaced with standard C++ library functions.

Changelog: [Internal]

Reviewed By: NickGerleman

Differential Revision: D96082175
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Apr 21, 2026
…d replace it with DebugStringConvertible (facebook#56110)

Summary:
Pull Request resolved: facebook#56110

**Summary**

Removes the `double-conversion` dependency from `DoubleConversions.cpp` in the React Native repository.

- Removed Dependencies: `double-conversion/double-conversion.h`

 Updated Code

* Modified `DoubleConversions.cpp` to use standard C++ library headers (`cmath` and `cstdio`) instead of `double-conversion`.

This change aims to reduce dependencies and simplify the codebase. The removed dependency was previously used for string conversion, which has been replaced with standard C++ library functions.

Changelog: [Internal]

Reviewed By: NickGerleman

Differential Revision: D96082175
…d replace it with DebugStringConvertible (facebook#56110)

Summary:

**Summary**

Removes the `double-conversion` dependency from `DoubleConversions.cpp` in the React Native repository.

- Removed Dependencies: `double-conversion/double-conversion.h`

 Updated Code

* Modified `DoubleConversions.cpp` to use standard C++ library headers (`cmath` and `cstdio`) instead of `double-conversion`.

This change aims to reduce dependencies and simplify the codebase. The removed dependency was previously used for string conversion, which has been replaced with standard C++ library functions.

Changelog: [Internal]

Reviewed By: NickGerleman

Differential Revision: D96082175
@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @christophpurrer in 5b9cefc

When will my fix make it into a release? | How to file a pick request?

@react-native-bot react-native-bot added the Merged This PR has been merged. label Apr 21, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Apr 21, 2026

This pull request has been merged in 5b9cefc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants