generated from exercism/generic-representer
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
pausedWork paused until further noticeWork paused until further noticex:action/improveImprove existing functionality/contentImprove existing functionality/contentx:knowledge/noneNo existing Exercism knowledge requiredNo existing Exercism knowledge requiredx:module/representerWork on RepresentersWork on Representersx:rep/smallSmall amount of reputationSmall amount of reputationx:size/smallSmall amount of workSmall amount of workx:type/codingWrite code that is not student-facing content (e.g. test-runners, generators, but not exercises)Write code that is not student-facing content (e.g. test-runners, generators, but not exercises)
Description
I came across this in the PHP track docs:
- Casts
(float)
and(real)
are normalized to(double)
Was there a discussion about that anywhere? Because double
is not seen by PHP as a type, it is seen as an alias for float
only:
(double) and (real) are aliases of the (float) cast. These casts do not use the canonical type name and are not recommended.
Througout the PHP documentation float
is used as the type for floating point numbers.
See:
Metadata
Metadata
Assignees
Labels
pausedWork paused until further noticeWork paused until further noticex:action/improveImprove existing functionality/contentImprove existing functionality/contentx:knowledge/noneNo existing Exercism knowledge requiredNo existing Exercism knowledge requiredx:module/representerWork on RepresentersWork on Representersx:rep/smallSmall amount of reputationSmall amount of reputationx:size/smallSmall amount of workSmall amount of workx:type/codingWrite code that is not student-facing content (e.g. test-runners, generators, but not exercises)Write code that is not student-facing content (e.g. test-runners, generators, but not exercises)