analysis.cxx (a06b8d1b) | analysis.cxx (feb8f109) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 1226 unchanged lines hidden (view full) --- 1235 1236// z.Power( 0.5 ); 1237 z.Sqrt(); 1238 1239 return z.GetString(); 1240} 1241 1242 | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 1226 unchanged lines hidden (view full) --- 1235 1236// z.Power( 0.5 ); 1237 z.Sqrt(); 1238 1239 return z.GetString(); 1240} 1241 1242 |
1243STRING SAL_CALL AnalysisAddIn::getImtan( const STRING& aNum ) THROWDEF_RTE_IAE 1244{ 1245 Complex z( aNum ); 1246 1247 z.Tan(); 1248 1249 return z.GetString(); 1250} 1251 1252 1253STRING SAL_CALL AnalysisAddIn::getImsec( const STRING& aNum ) THROWDEF_RTE_IAE 1254{ 1255 Complex z( aNum ); 1256 1257 z.Sec(); 1258 1259 return z.GetString(); 1260} 1261 1262 1263STRING SAL_CALL AnalysisAddIn::getImcsc( const STRING& aNum ) THROWDEF_RTE_IAE 1264{ 1265 Complex z( aNum ); 1266 1267 z.Csc(); 1268 1269 return z.GetString(); 1270} 1271 1272 1273STRING SAL_CALL AnalysisAddIn::getImcot( const STRING& aNum ) THROWDEF_RTE_IAE 1274{ 1275 Complex z( aNum ); 1276 1277 z.Cot(); 1278 1279 return z.GetString(); 1280} 1281 1282 1283STRING SAL_CALL AnalysisAddIn::getImsinh( const STRING& aNum ) THROWDEF_RTE_IAE 1284{ 1285 Complex z( aNum ); 1286 1287 z.Sinh(); 1288 1289 return z.GetString(); 1290} 1291 1292 1293STRING SAL_CALL AnalysisAddIn::getImcosh( const STRING& aNum ) THROWDEF_RTE_IAE 1294{ 1295 Complex z( aNum ); 1296 1297 z.Cosh(); 1298 1299 return z.GetString(); 1300} 1301 1302 1303STRING SAL_CALL AnalysisAddIn::getImsech( const STRING& aNum ) THROWDEF_RTE_IAE 1304{ 1305 Complex z( aNum ); 1306 1307 z.Sech(); 1308 1309 return z.GetString(); 1310} 1311 1312 1313STRING SAL_CALL AnalysisAddIn::getImcsch( const STRING& aNum ) THROWDEF_RTE_IAE 1314{ 1315 Complex z( aNum ); 1316 1317 z.Csch(); 1318 1319 return z.GetString(); 1320} 1321 1322 |
|
1243STRING SAL_CALL AnalysisAddIn::getComplex( double fR, double fI, const ANY& rSuff ) THROWDEF_RTE_IAE 1244{ 1245 sal_Bool bi; 1246 1247 switch( rSuff.getValueTypeClass() ) 1248 { 1249 case uno::TypeClass_VOID: 1250 bi = sal_True; --- 27 unchanged lines hidden --- | 1323STRING SAL_CALL AnalysisAddIn::getComplex( double fR, double fI, const ANY& rSuff ) THROWDEF_RTE_IAE 1324{ 1325 sal_Bool bi; 1326 1327 switch( rSuff.getValueTypeClass() ) 1328 { 1329 case uno::TypeClass_VOID: 1330 bi = sal_True; --- 27 unchanged lines hidden --- |