Skip to content

Commit

Permalink
Drop support for float128. (#522)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Lalancette <[email protected]>
  • Loading branch information
clalancette authored Nov 22, 2024
1 parent 12b702d commit 00806e6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
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

0 comments on commit 00806e6

Please sign in to comment.