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

Drop support for float128. #522

Merged
merged 1 commit into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions rmw_cyclonedds_cpp/src/Serialization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,6 @@ class CDRWriter : public BaseCDRWriter
case ROSIDL_TypeKind::INT64:
case ROSIDL_TypeKind::DOUBLE:
return 8;
case ROSIDL_TypeKind::LONG_DOUBLE:
return 16;
default:
return 0;
}
Expand Down Expand Up @@ -445,10 +443,6 @@ class CDRWriter : public BaseCDRWriter
assert(std::numeric_limits<double>::is_iec559);
cursor->put_bytes(data, n_bytes);
return;
case ROSIDL_TypeKind::LONG_DOUBLE:
assert(std::numeric_limits<long double>::is_iec559);
cursor->put_bytes(data, n_bytes);
return;
case ROSIDL_TypeKind::CHAR:
case ROSIDL_TypeKind::WCHAR:
case ROSIDL_TypeKind::BOOLEAN:
Expand Down
3 changes: 0 additions & 3 deletions rmw_cyclonedds_cpp/src/TypeSupport2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ enum class ROSIDL_TypeKind : uint8_t
{
FLOAT = tsi_enum::ROS_TYPE_FLOAT,
DOUBLE = tsi_enum::ROS_TYPE_DOUBLE,
LONG_DOUBLE = tsi_enum::ROS_TYPE_LONG_DOUBLE,
CHAR = tsi_enum::ROS_TYPE_CHAR,
WCHAR = tsi_enum::ROS_TYPE_WCHAR,
BOOLEAN = tsi_enum::ROS_TYPE_BOOLEAN,
Expand Down Expand Up @@ -305,8 +304,6 @@ struct PrimitiveValueType : public AnyValueType
return sizeof(float);
case ROSIDL_TypeKind::DOUBLE:
return sizeof(double);
case ROSIDL_TypeKind::LONG_DOUBLE:
return sizeof(long double);
case ROSIDL_TypeKind::CHAR:
return sizeof(char);
case ROSIDL_TypeKind::WCHAR:
Expand Down