@@ -1237,7 +1237,7 @@ public extension ILType {
12371237 static let jsAsyncDisposableStackConstructor = ILType . constructor ( [ ] => . jsAsyncDisposableStack) + . object( ofGroup: " AsyncDisposableStackConstructor " , withProperties: [ " prototype " ] )
12381238
12391239 /// Type of the JavaScript Math constructor builtin.
1240- static let jsMathObject = ILType . object ( ofGroup: " Math " , withProperties: [ " E " , " PI " ] , withMethods: [ " abs " , " acos " , " acosh " , " asin " , " asinh " , " atan " , " atanh " , " atan2 " , " ceil " , " cbrt " , " expm1 " , " clz32 " , " cos " , " cosh " , " exp " , " floor " , " fround " , " f16round " , " hypot " , " imul " , " log " , " log1p " , " log2 " , " log10 " , " max " , " min " , " pow " , " random " , " round " , " sign " , " sin " , " sinh " , " sqrt " , " sumPrecise " , " tan " , " tanh " , " trunc " ] )
1240+ static let jsMathObject = ILType . object ( ofGroup: " Math " , withProperties: [ " E " , " PI " , " LN10 " , " LN2 " , " LOG10E " , " LOG2E " , " SQRT1_2 " , " SQRT2 " ] , withMethods: [ " abs " , " acos " , " acosh " , " asin " , " asinh " , " atan " , " atanh " , " atan2 " , " ceil " , " cbrt " , " expm1 " , " clz32 " , " cos " , " cosh " , " exp " , " floor " , " fround " , " f16round " , " hypot " , " imul " , " log " , " log1p " , " log2 " , " log10 " , " max " , " min " , " pow " , " random " , " round " , " sign " , " sin " , " sinh " , " sqrt " , " sumPrecise " , " tan " , " tanh " , " trunc " ] )
12411241
12421242 /// Type of the JavaScript Date object
12431243 static let jsDate = ILType . object ( ofGroup: " Date " , withMethods: [ " toISOString " , " toDateString " , " toTimeString " , " toLocaleString " , " getTime " , " getFullYear " , " getUTCFullYear " , " getMonth " , " getUTCMonth " , " getDate " , " getUTCDate " , " getDay " , " getUTCDay " , " getHours " , " getUTCHours " , " getMinutes " , " getUTCMinutes " , " getSeconds " , " getUTCSeconds " , " getMilliseconds " , " getUTCMilliseconds " , " getTimezoneOffset " , " getYear " , " setTime " , " setMilliseconds " , " setUTCMilliseconds " , " setSeconds " , " setUTCSeconds " , " setMinutes " , " setUTCMinutes " , " setHours " , " setUTCHours " , " setDate " , " setUTCDate " , " setMonth " , " setUTCMonth " , " setFullYear " , " setUTCFullYear " , " setYear " , " toJSON " , " toUTCString " , " toGMTString " , " toTemporalInstant " ] )
@@ -2275,8 +2275,14 @@ public extension ObjectGroup {
22752275 name: " Math " ,
22762276 instanceType: . jsMathObject,
22772277 properties: [
2278- " E " : . number,
2279- " PI " : . number
2278+ " E " : . number,
2279+ " PI " : . number,
2280+ " LN10 " : . number,
2281+ " LN2 " : . number,
2282+ " LOG10E " : . number,
2283+ " LOG2E " : . number,
2284+ " SQRT1_2 " : . number,
2285+ " SQRT2 " : . number,
22802286 ] ,
22812287 methods: [
22822288 " abs " : [ . jsAnything] => . number,
0 commit comments